"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

Solution:Jump to solution
removing the space from the world name solved the issue. no more error message and plugin works properly
9 Replies
updated from 0.8.0 -> 0.8.1, did not fix
More information, please.
Which server software and version of Minecraft? Are you using anything like ViaVersion? Have you changed anything in the plugin config?
Paper 1.21.4, no viaversion, have not changed config
here is the full plugin list

@пшш What triggers this error message?
send log
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 nameyeah its called "AVOCADO SMP", i can try removing the space when theres less people online. ill update if that fixes it
Solution
removing the space from the world name solved the issue. no more error message and plugin works properly