/world
world

World-related commands

Syntax

/world
RequiredOptional

Parameters

nameOptionalstring

The name of the default world

Subcommands

/world config

The supercommand for world config commands

/world config.setspawn

Set the spawn point of a world

Parameters:

position- The position to set as the spawn point
/world config.setspawn.default

Set the spawn point to the default

/world config.setspawn.rotation

The rotation to set for the spawn point

Parameters:

default- Forward direction
/world perf

Display performance metrics (TPS) for a world

/world perf.all

Show delta values in addition to TPS

/world perf.delta

Show delta values instead of TPS

/world perf.graph

Display a graph of TPS over time

Parameters:

height- Height of the graph
width- Width of the graph
/world perf.reset

Reset metrics for all worlds

/world perf.reset.specific

Reset metrics for a specific world

/world prune

Remove all non-default worlds without online players

/world save

Save any or all worlds on the server to disk

/world save.all

Save all worlds instead of a specific world

/world setdefault

Set the default world of this universe

Parameters:

name- The name of the default world
/world settings

Commands for managing world settings

/world settings.blockticking

Get or Set if the world is ticking blocks

/world settings.box2d.default

Set to default value

/world settings.chunkSaving

Disable or enable saving of chunks

/world settings.chunkUnload

Disable or enable the unloading of chunks

/world settings.chunkstoragetype

Get or Set the chunk storage type

/world settings.compassupdating

Disable or Enable the compass updating in a world

/world settings.creativemode

Enable or Disable creative mode for this world

/world settings.daylightportion

Get or Set the portion of day that will be daylight

/world settings.freezeallnpcs

Get or Set if all NPCs in this world will be in frozen state

/world settings.gamemode

Set the default GameMode

/world settings.gameplayconfig

Get or Set the GameplayConfig Id

/world settings.keeploaded

Set a region of chunks that will not unload automatically

/world settings.playersaving

Disable or enable saving of player data

/world settings.pregenerate

Set a region of chunks that will be pregenerated on the world's startup

/world settings.pvp

Get or Set if PvP is enabled in the world

/world settings.sanctuaryradius

Get or Set the NPC spawning sanctuary radius in the world

/world settings.secondspergameday

Get or Set the number of real time seconds that are in one in-game day

/world settings.spawningnpc

Get or Set if NPCs are spawning in the world

/world settings.spawnmarkers

Get or Set if spawn markers are spawning NPCs in the world

/world settings.ticking

Get or Set if the world is ticking

/world settings.timepaused

Get or Set if time is paused in the world

/world settings.toggle

Disable or enable saving of world chunks

/world settings.totalmoonphases

Get or Set the total number of moon phases

/world settings.worldgentype

Get or Set the worldgen type

/world settings.worldmapdisabled

Disable or Enable the WorldMap in a world

/world tps

Set the tick rate for a world

Parameters:

rate- The tick rate to set (e.g., 30tps, 33ms, or just 30)
/world tps.reset

Reset 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.graph

TPS Graph {time}:\n

perf.reset

Metrics have been reset for world '{worldName}'!

perf.reset.all

Metrics have been reset for all worlds!

tps.set.success

Set tick rate in world '{worldName}' to {tps, number}tps ({ms}ms per tick)

tps.set.invalid

Invalid tick rate: {value}. Must be between 1 and 2048.

tps.reset.success

Reset tick rate in world '{worldName}' to {tps, number}tps ({ms}ms per tick)

settings.cantEnableChunkSaving

Cannot enable chunk saving in world '{worldName}' because --chunksReadOnly is set on the server's arguments. Unset it and restart.

settings.chunkSavingSet

Chunk saving active in world '{worldName}' to {isDefault} '{newValue}' (was '{oldValue}')

settings.currentValue

{display} in world '{worldName}' is currently {currentValue}

settings.chunkSavingActive

Chunk saving active in world '{worldName}' is currently {currentValue}

settings.displaySet

{display} in world '{worldName}' to {isDefault} '{newValue}' (was '{oldValue}')

save.noWorldSpecified

You must specify either a world with --world or use --all to save all worlds

save.saving

Beginning to save world: {world}...

save.savingDone

Finished saving world

save.savingAll

Beginning to save all worlds

save.savingAllDone

Finished saving all worlds

prune.noneToPrune

No worlds to prune!

prune.prunedWorld

Removed world '{world}'

prune.pruneFailed

Couldn't remove world '{world}'

prune.pruneError

There was an error removing world '{world}', check server logs

prune.done

Pruned {count} world(s)!