Player was booted: Invalid operation at this state.
FrostBird347 opened this issue · 7 comments
Whenever I attempt to join a vanilla server both with and without a password the player gets kicked with this message.
This is because dimensions tries to send the real ip address of a client using an unused packet.
Be aware that if you want to be able to use Dimensions with a vanilla server, you will not be able to ban players by IP address. I can add an option to allow use with vanilla servers, but this is the downside.
Thanks, being unable to IP ban should not be an issue for me because I am running a private server.
A possible solution to that is to ban players from connecting to dimensions instead of the server.
In progress at: #58
You can try the build there and see if that works yet. You just need to set isVanilla: true on a server in the config, check the config.js.example for where this new property is.
I set isVanilla: true on the server config and was able to connect to a vanilla server, but whenever I tried to switch to another vanilla server, it would fail with the same message, resulting in my player being unable to connect to any server while still seeing the old terrain of the previous world.
Sorry about the lack of activity. I'll try to look at this again soon.
Still this issue on vanilla (so without the plugin), please look over this issue if possible
This was added in 9e3d592 and will be in the next release. I could not reproduce the issue that FrostBird347 mentioned, so it's possible they put in the wrong currentTerrariaVersion, which now does not exist in 6b6e3a4 so this shouldn't be a problem now.
Edit: It seems there is still a possibility of the invalid operation at this state, I will investigate