Critical files don't generate if missing
Unlike Java Edition, BDS relies on all the files in the ZIP or it fails to boot.
It makes sense for the behavior packs and the etc, but the critical files are server.properties, permisisons.json, and whitelist.json. The latter of the 2 can (and should) be generated fairly easily if they are missing (as they are simply empty arrays). As for the server.properties, I'm not sure.
Including these in the ZIP make it harder for updating, as often the ZIP overwrites these files, resetting them. I've seen people have issues thinking their world is gone, but all they did was rename the world and update their server. We also can't not include them in the ZIP, the program crashes otherwise.
Linked Issues
Comments1
History10
Resolution: Unresolved → Awaiting Response
Added affects versions: 1.17.2
Resolution: Awaiting Response → Unresolved
Changed description:
While whitelist.json, permissions.json, and server.properties are included in the ZIP, they aren't generated as they do in Java if they are missing. Is there any chance these can be generated if they are missing?
Unlike Java Edition, BDS relies on all the files in the ZIP or it fails to boot.
It makes sense for the behavior packs and the etc, but the critical files are server.properties, permisisons.json, and whitelist.json. The latter of the 2 can (and should) be generated fairly easily if they are missing (as they are simply empty arrays). As for the server.properties, I'm not sure.
Including these in the ZIP make it harder for updating, as often the ZIP overwrites these files, resetting them. I've seen people have issues thinking their world is gone, but all they did was rename the world and update their server. We also can't not include them in the ZIP, the program crashes otherwise.
Added is duplicated by link: BDS-14140BDS Does not generate critical files and fails if they are missingDuplicate
Confirmation Status: Unconfirmed → Confirmed
Resolution: Unresolved → Works As Intended
Added is duplicated by link: BDS-436Doesn't create server.properties if it doesn't existDuplicate
Is this still an issue in the latest version? If so, can you please add it to the affected versions (or mention it if you are not the reporter).
This ticket will automatically reopen when you reply.