Mojira Archive
BDS-13319

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

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.

History10

[MCQA] Kinga Izdebska
Chew

Added affects versions: 1.17.2

[Bot] Arisa
Chew

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.

0

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.

0

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.

[MCQA] Kinga Izdebska
Maciej Piornik

Confirmation Status: UnconfirmedConfirmed

[Mod] Greymagic27
[Mod] Greymagic27
Works As Intended
Chew
3
2
Confirmed
602208
1.16.220 1.17.2