Bug Closed · Could not replicate

[Bug Report] Leaving a dungeon kicks (multiple) players out of server, possible conflict with EcoEnchants

#3983 opened by Unknown 3 years ago

Unknownreported this bug

Leaving a dungeon (whether that is by using /leave or by running out of lives) will sometimes kick players out.

Sometimes, it's just one player, or other times, 3 players, or sometimes, everyone on the server. Sometimes, not everyone gets kicked at once - a group of players will get kicked out at once, and after 30 seconds - 1 minute, more group of players get kicked out.

Anyone who is affected by this issue gets kicked for keepalive timeout. It is not caused by server lag.

Here is a video of this happening: https://drive.google.com/file/d/1d3G8mlLJL_5KdaBTxAZlwU6ug7Gbjph5/view?usp=sharing

Here is the dungeon that was used (dungeon doesn't seem to matter, but just in case): https://drive.google.com/file/d/1TM3aK1hip72mZbt71-Hq3Wzhs4M4AUnG/view?usp=sharing

Server version: Purpur 1.19.3 build 1913

Plugins installed on the test server:

  • eco-6.53.1
  • EcoEnchants 10.2.6
  • MythicDungeons 1.1.2 build 131
  • ProtocolLib build 612

Steps to replicate (see video above for reference):

  1. Join the test dungeon (although the bug happens to any dungeons, not exclusive to this dungeon)
  2. Walk up to the zombie (gold block)
  3. Use /leave to leave the dungeon and see the bug. Note that the bug does not always happen. Sometimes, you have to repeat all the steps again (join the dungeon, walk up to zombie, leave) over and over again for it to happen.

If I remove EcoEnchants, the bug does not seem to occur - thus, I suspect it's some conflict with EcoEnchants.

This issue did not always happen before. I started experiencing this bug recently (around 2-3 weeks ago), first with EcoEnchants 9.17.2 (which was what was on my main server), and I updated EcoEnchants to the latest version to see the same issue happening. I haven't updated EcoEnchants in a while on my main server (several months), but I did update MythicDungeons pretty recently about a month ago. Thus, maybe some recent changes to MythicDungeons is causing this issue?

Unknowncommented

It's been almost 2 months and I do have some additional info on this.

It seems like this happens only when /leave is used, or a player is forcefully teleported out of a dungeon (so for example, using essentials' /spawn to get out of the dungeon).

However, if the dungeon closes because the player ran out of lives, this bug does not happen. For the past month, I've redirected the /leave command to essentials' /suicide command, and I have not had this bug happen since.

Unknowncommented

Hey there. I'm afraid I haven't the foggiest idea of why something like this would happen... the only explanation I can think of is that this other plugin doesn't like the player changing worlds...

I'm assuming all other commands work just fine from within the dungeon?

Unknowncommented

Yes, all other commands work fine. It is only when using /leave that this happens.

I do have players frequently changing worlds on the server (using essentials' teleport commands) NOT involving a dungeon world, and the bug never happens. Thus I believe the conflict occurs ONLY when the player is changing worlds from a dungeon world.

It is strange that running out of lives does not cause this bug though, because either way the player is changing worlds - but I have been using it as a workaround for now.

Unknowncommented

Hey there, just working through some old issues. Does this still occur on more recent builds of the plugin?

Unknowncommented

I don't know. The behavior is random so I'm afraid I can't devote any more time into testing it. It has never happened again ever since I rerouted /leave to essentials' /suicide command, so that has been my solution ever since.

Unknowncommented

In that case, I'm going to go ahead and close this, as I haven't heard of anyone else encountering something like this. Glad you were able to find a bandaid solution.

Sign in to join the discussion.