Level-type keeps reverting to default
PrincessNothing opened this issue ยท 3 comments
When the server creates the world files it changes any text in the level-type field in server.properties to 'default' and generates a default world. I've tried multiple values including 'BIOMESOP', 'biomesop', 'FLAT' and 'flat' and the server is being run on debian.
Expected Behavior
The world should be created with the specified generation type (in this case biomesop)
Current Behavior
server.properties reverts the level-type field to 'default' and generates a default world. No other fields are changed.
Steps to Reproduce
- Create a server
- Change 'level-type' in server.properties to a value other than default
- Launch the server using StartServer.sh and wait for the world to generate
- 'level-type' in server.properties reverts back to 'default'
Remove the mod default world generator from the pack and try putting BIOMESOP into the server.properties file again.
I tried deleting default world generator but it seemed to redownload. Setting it to disabled fixed the problem, however.
I'm not entirely sure why default world generator is even in the server files because to the best of my understanding it's a client side mod? But this fixed the issue. Thank you!
You can also use a tool like NBTExplorer and change the "generator-name" property to "BIOMESOP" (or another generator name) in your level.dat file, and delete all other files in your world folder to force the server to regenerate everything.
More complicated but works uwu