#When I try open a server it crashes
1 messages · Page 1 of 1 (latest)
make sure to use the official server pack not the client pack
where can I find offical one ? file in cursefore is not offical ?
Yes I downloded from exacly there and clicked start server bat , accepted eula etc and it crashed 😄
did you modify anything in the folder before running the startserver script?
no it's a fresh vds sever , I just download java 21 and clicked startserver.bat nothing changed
I expect this is a language issue where your system's language settings are set to use a language with non-ascii lowercase characters
add the following as java arguments to the list in the yaml:
-Dfile.encoding=UTF-8
-Duser.language=en
-Duser.region=US
should look something like this
I got this error : Error: Could not find or load main class Dfile.encoding=UTF-8
Caused by: java.lang.ClassNotFoundException: Dfile.encoding=UTF-8
you may be missing the -.
yes you are right it's worked , Thank you very much! I got this error multiple times from other modpacks as well I know the issue at least right now
you can add those arguments to the user args or the launch scripts for servers or to the Additional Arguments (or java arguments depending launcher) for clientside also