ceskyDJ / NetherWater

Simple Spigot plugin that allows players to use water in nether worlds. They can use buckets, ice blocks and dispensers for spawning water.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem with measuring distance of players from different worlds

DuneSciFye opened this issue · comments

This is constantly being spammed in the console:
https://pastebin.com/siTyttjw

Found bugs:

  • Measuring player distances (in NetherWater.java) over two worlds (it's of course impossible)
  • What about automatically loaded chunks (by nether portal or some plugins?) - there could be no player or different player

Hi, thanks for your bug report. It looks like a problem with worlds. What plugin do you use for managing worlds? Could you send me a list of worlds you are using? What Skyblock plugin do you use? Thanks for replying. Have a nice day.

Hmm, it's interesting. Is there some kind of autoloaded chunk in some of worlds from the log (Skyblock and Superiorworld)? If I get it, dispenser is activated but no player is near it. My plugin tries to find the nearest player to check permissions. This could be a problem. I'll wait for more information from you and think about it deeper. Anyway it is probably a bigger problem that it may looks like. I don't have a too much time now, so it has to wait until the end on exams (not before 17th January) but after that I'll fix it, I promise.

Here is a list of plugins I'm using:
Plugins (55): AdvancedEnchantments, AntiDrop, AuctionHouse, AutoPickup, BambooCollisionFix, BlockSpawnerEXP*, BossShopPro, BuycraftX, Citizens, CoinFlipper*, CoreProtect, CrazyCrates, DeluxeMenus, DiscordSRV, Essentials, EssentialsSpawn, GadgetsMenu, GriefPrevention, GSit, HolographicDisplays, HolographicExtension, Hub*, InvSeePlusPlus, JetsHoppers, JetsMinions, LibsDisguises, LimitedUses*, LiteBans, LuckPerms, mcMMO, Multiverse-Core, Multiverse-Inventories, NetherWater, PlaceholderAPI, PlayerPoints, Playtimes*, ProtocolLib, Quests, Scoreboard-revision*, ShopGUIPlus, ShopGUIPlus-SellGUI, SignShop, StaffTools*, SuperiorSkyblock2, Themis, ThirdCurrency*, TradeSystem, UpgradeableSpawners, Vault, VentureChat, WildChests, WorldChangeScreenRemover, WorldEdit, WorldGuard, WorldGuardExtraFlags

I use Multiverse Core for managing worlds. I use SuperiorSkyblock2 for skyblock. A list of worlds are:
Superiorworld_nether - NETHER
Skyblock - NORMAL
world - NORMAL
Skyblock_nether - NETHER
Superiorworld - NORMAL
Superiorworld_the_end - THE_END
Skyblock_the_end - THE_END
SkyBlock - UNLOADED
SkyBlock_nether - UNLOADED
SuperiorWorld_the_end - UNLOADED
SkyBlock_the_end - UNLOADED
SuperiorWorld_nether - UNLOADED
event - UNLOADED

I did the previous list using /mv list, it seems to be a bit broken. Here's a correct list:
Skyblock
Skyblock_nether
Skyblock_the_end
Superiorworld
Superiorworld_nether
Superiorworld_the_end
world

Thanks for your answer. Is it running on a public server? It will be good to run the plugin with debug: true set up in config (it shouldn't need reload nor restart, only save edited file) and send me a part of generated log in console. If it's a public server, it should be done when there is a minimal number of players and after doing this return back debug: false.

Log should contain coordinates of activated dispensers. If you can get it from the log, teleport to the coordinates and take a some screenshots, please. It could help a lot. If you take screenshots, give me a log, too. It can be useful, too.

Sorry for the delayed response, but I'm having issues with simply placing and breaking in the nether, so once I sort that out I'll get back to you. My discord is DuneSciFye#0326 if you want to contact me there

You probably sent me a bad Discord identifier (one number is missing). If you want to help, you can use my Discord server created for my plugins: https://discord.gg/XFDFXX94pd