NearW / minecraft-speedrun

Server configuration for a speedrun server
8 stars 1 forks source link

World remains the same after restarting the server #9

Closed CheaterCom closed 3 years ago

CheaterCom commented 3 years ago

When I stop the server the world remains the same. I have done exactly what stands in the README therefor I have no idea what i am doing wrong. Maybe someone had the same problem and can help me.

NearW commented 3 years ago

Can you provide your speedrun.json and server.properties file please?

And ideally the output from your server in the terminal containing a full restart of the server. :)

CheaterCom commented 3 years ago
stop
[15:25:09] [Server thread/INFO]: Stopping the server
[15:25:09] [Server thread/INFO]: Stopping server
[15:25:09] [Server thread/INFO]: Saving players
[15:25:09] [Server thread/INFO]: Saving worlds
[15:25:09] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
[15:25:09] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[15:25:09] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether
[15:25:09] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[15:25:09] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end
[15:25:09] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[15:25:09] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[15:25:09] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[15:25:10] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
Parsing speedrun.json ...
Setting world world ...
[15:25:12] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', name='PROD'
[15:25:13] [main/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[15:25:13] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[15:25:13] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[15:25:13] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[15:25:13] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[15:25:13] [main/INFO]: Reloading ResourceManager: Default
[15:25:13] [Worker-Main-12/INFO]: Loaded 7 recipes
[15:25:13] [Worker-Main-12/INFO]: Loaded 927 advancements
[15:25:13] [Server thread/INFO]: Starting minecraft server version 1.16.1
[15:25:13] [Server thread/INFO]: Loading properties
[15:25:13] [Server thread/INFO]: Default game type: SURVIVAL
[15:25:13] [Server thread/INFO]: Generating keypair
[15:25:13] [Server thread/INFO]: Starting Minecraft server on *:25565
[15:25:13] [Server thread/INFO]: Using default channel type
[15:25:14] [Server thread/INFO]: Preparing level "world"
[15:25:14] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[15:25:14] [Server thread/INFO]: Preparing spawn area: 0%
[15:25:14] [Server thread/INFO]: Preparing spawn area: 0%
[15:25:15] [Server thread/INFO]: Time elapsed: 755 ms
[15:25:15] [Server thread/INFO]: Done (0.806s)! For help, type "help"
Making Cheater_Com an operator.
Turning auto-save off.
[15:25:15] [Server thread/INFO]: Nothing changed. The player already is an operator
[15:25:15] [Server thread/INFO]: Automatic saving is now disabled

files.zip

NearW commented 3 years ago
    "LOAD_WORLD": "world_2021-05-21_15-31-24" // Set world folder name that should be loaded on server start, leave empty ("") to disable

Since you set this value to world, it will prevent the world deletion on restart and load that world folder. This option is used for AA runs.

Try "LOAD_WORLD": "" or just remove it from the config. I will improve the description to prevent confusion.