"Server sent invalid level key" error using server side plugin

Latest server side plugin release, error is only shown to mod users when logging in
No description
Solution:
removing the space from the world name solved the issue. no more error message and plugin works properly
Jump to solution
9 Replies
Sam
SamOP4w ago
updated from 0.8.0 -> 0.8.1, did not fix
Jckf
Jckf4w ago
More information, please. Which server software and version of Minecraft? Are you using anything like ViaVersion? Have you changed anything in the plugin config?
Sam
SamOP4w ago
Paper 1.21.4, no viaversion, have not changed config here is the full plugin list
Sam
SamOP4w ago
No description
Jckf
Jckf4w ago
@пшш What triggers this error message?
пшш
пшш4w ago
send log
Jckf
Jckf4w ago
Quick look at the code says level key must match this regex pattern https://gitlab.com/distant-horizons-team/distant-horizons-core/-/blob/main/core/src/main/java/com/seibel/distanthorizons/core/network/messages/base/LevelInitMessage.java#L15 @Sam What is your world's name? It basically reads as: Match any string that is between 1 and 150 characters long, and is formatted like foo@bar:baz where the foo@ and :baz components are optional, and each word consists of only numbers, letters, and/or hyphens and underscores I think in this scenario we have a string that only has the bar part, which is the plain world name So I'm guessing you have non-alphanumeric characters in your world name
Sam
SamOP3w ago
yeah its called "AVOCADO SMP", i can try removing the space when theres less people online. ill update if that fixes it
Solution
Sam
Sam3w ago
removing the space from the world name solved the issue. no more error message and plugin works properly

Did you find this page helpful?