/worldWorld-related commands
Syntax
/worldParameters
nameOptionalstringThe name of the default world
Subcommands
/world configThe supercommand for world config commands
/world config.setspawnSet the spawn point of a world
Parameters:
position- The position to set as the spawn point/world config.setspawn.defaultSet the spawn point to the default
/world config.setspawn.rotationThe rotation to set for the spawn point
Parameters:
default- Forward direction/world perfDisplay performance metrics (TPS) for a world
/world perf.allShow delta values in addition to TPS
/world perf.deltaShow delta values instead of TPS
/world perf.graphDisplay a graph of TPS over time
Parameters:
height- Height of the graphwidth- Width of the graph/world perf.resetReset metrics for all worlds
/world perf.reset.specificReset metrics for a specific world
/world pruneRemove all non-default worlds without online players
/world saveSave any or all worlds on the server to disk
/world save.allSave all worlds instead of a specific world
/world setdefaultSet the default world of this universe
Parameters:
name- The name of the default world/world settingsCommands for managing world settings
/world settings.blocktickingGet or Set if the world is ticking blocks
/world settings.box2d.defaultSet to default value
/world settings.chunkSavingDisable or enable saving of chunks
/world settings.chunkUnloadDisable or enable the unloading of chunks
/world settings.chunkstoragetypeGet or Set the chunk storage type
/world settings.compassupdatingDisable or Enable the compass updating in a world
/world settings.creativemodeEnable or Disable creative mode for this world
/world settings.daylightportionGet or Set the portion of day that will be daylight
/world settings.freezeallnpcsGet or Set if all NPCs in this world will be in frozen state
/world settings.gamemodeSet the default GameMode
/world settings.gameplayconfigGet or Set the GameplayConfig Id
/world settings.keeploadedSet a region of chunks that will not unload automatically
/world settings.playersavingDisable or enable saving of player data
/world settings.pregenerateSet a region of chunks that will be pregenerated on the world's startup
/world settings.pvpGet or Set if PvP is enabled in the world
/world settings.sanctuaryradiusGet or Set the NPC spawning sanctuary radius in the world
/world settings.secondspergamedayGet or Set the number of real time seconds that are in one in-game day
/world settings.spawningnpcGet or Set if NPCs are spawning in the world
/world settings.spawnmarkersGet or Set if spawn markers are spawning NPCs in the world
/world settings.tickingGet or Set if the world is ticking
/world settings.timepausedGet or Set if time is paused in the world
/world settings.toggleDisable or enable saving of world chunks
/world settings.totalmoonphasesGet or Set the total number of moon phases
/world settings.worldgentypeGet or Set the worldgen type
/world settings.worldmapdisabledDisable or Enable the WorldMap in a world
/world tpsSet the tick rate for a world
Parameters:
rate- The tick rate to set (e.g., 30tps, 33ms, or just 30)/world tps.resetReset the tick rate to the server default
Server Messages
perf.tickLimit(Tick Limit: {tickLimit})
perf.period({length}): {padding}{value}
perf.tpsTime\tTPS ({time}): {tps}
perf.tpsMinMaxMetric\tTPS ({time}): Min: {min}, Avg: {avg}, Max: {max}
perf.deltaMinMaxMetric\tDelta ({time}): Min: {min}, Avg: {avg}, Max: {max}
perf.graphTPS Graph {time}:\n
perf.resetMetrics have been reset for world '{worldName}'!
perf.reset.allMetrics have been reset for all worlds!
tps.set.successSet tick rate in world '{worldName}' to {tps, number}tps ({ms}ms per tick)
tps.set.invalidInvalid tick rate: {value}. Must be between 1 and 2048.
tps.reset.successReset tick rate in world '{worldName}' to {tps, number}tps ({ms}ms per tick)
settings.cantEnableChunkSavingCannot enable chunk saving in world '{worldName}' because --chunksReadOnly is set on the server's arguments. Unset it and restart.
settings.chunkSavingSetChunk saving active in world '{worldName}' to {isDefault} '{newValue}' (was '{oldValue}')
settings.currentValue{display} in world '{worldName}' is currently {currentValue}
settings.chunkSavingActiveChunk saving active in world '{worldName}' is currently {currentValue}
settings.displaySet{display} in world '{worldName}' to {isDefault} '{newValue}' (was '{oldValue}')
save.noWorldSpecifiedYou must specify either a world with --world or use --all to save all worlds
save.savingBeginning to save world: {world}...
save.savingDoneFinished saving world
save.savingAllBeginning to save all worlds
save.savingAllDoneFinished saving all worlds
prune.noneToPruneNo worlds to prune!
prune.prunedWorldRemoved world '{world}'
prune.pruneFailedCouldn't remove world '{world}'
prune.pruneErrorThere was an error removing world '{world}', check server logs
prune.donePruned {count} world(s)!