Skip to content

clear player data command may fail to disconnect some players #337

Description

@John-Paul-R

Okay I got enough clients running to test. It worked (mostly) I ran it direct from the server console, it kicked everyone except for one player, not sure why they were excluded, but it did wipe out nicknames.

essentialcommands deleteAllPlayerData
[00:18:29] [Server thread/INFO]: Are you sure you want to disconnect all players and permanently delete ALL Essential Commands player data? This action is irreversible. Run the command again to confirm.
essentialcommands deleteAllPlayerData
[00:18:44] [Server thread/INFO]: splGamer2 lost connection: Server closed
[00:18:44] [Server thread/INFO]: splGamer2 left the game
[00:18:44] [Server thread/WARN]: handleDisconnection() called twice
[00:18:44] [Server thread/INFO]: splGamer4 lost connection: Server closed
[00:18:44] [Server thread/INFO]: splGamer4 left the game
[00:18:44] [Server thread/INFO]: splGamer7 lost connection: Server closed
[00:18:44] [Server thread/INFO]: ~sage 7 left the game
[00:18:44] [Server thread/INFO]: splGamer8 lost connection: Server closed
[00:18:44] [Server thread/INFO]: splGamer8 left the game
[00:18:45] [Server thread/INFO]: splMinecrafter lost connection: Server closed
[00:18:45] [Server thread/INFO]: splMinecrafter left the game

nothing in the log except possibly the [00:18:44] [Server thread/WARN]: handleDisconnection() called twice hints at why one player survived the "purge" but it worked otherwise. maybe a race condition?

Originally posted by @Swizzler121 in #242

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions