-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Hello, all. I’ve noticed this bug on a server (where I don’t have access to any Essentials information, i.e. server logs/config/version, etc.) with BungeeCord, although this bug probably wouldn’t benefit from any of those.
Details
When going to another server (connected with BungeeCord), player data is separated, i.e. through /seen. This means that a player can be on another subserver, but is offline according to /seen.
This might not seem to be too big of a problem, although some other commands are glitched (that shouldn’t be). For instance, going to subserver no. 1 and doing /heal heals you, however (for example), a one minute cooldown is in place. Going to another subserver and doing /heal again will also heal you, thus allowing you to partly bypass the heal cooldown.
Reproduction
Go to a server with BungeeCord and EssentialsX, and do /heal twice. The second time, you should not be able to do /heal because of a one minute cooldown (if this doesn’t happen, ensure you don’t have the permission essentials.heal.cooldown.bypass and essentials.feed.cooldown.bypass, and ensure that a cooldown is set in the config). Now, go to another subserver, and do /heal. You should heal successfully, despite the fact that the cooldown in the first subserver is still ticking down (and thus, should not heal).
If fixed
Add some way to group this or add some hook into a plugin that preserves inventories/health, etc. between subservers. Then, add some way to transfer this cooldown using that plugin, somehow. Also, hook into the grouping part so that bypassing cool downs doesn't work between two ‘linked’ subservers (i.e. survival world 1 and survival world 2), but does work between two unlinked subservers (i.e. a survival world and a creative world).