Canvas Commands
Canvas provides a lot of QOL commands for server administrators. In this guide we’ll cover the various commands introduced by Canvas and what they do.
Reload Command
Section titled “Reload Command”This completely reloads the global and world configurations. Some options will not be effected if reloaded during runtime, as some are only read at startup or are stored for the duration of the server runtime. Special cases are documented in the comments for the configurations, like the spawner configs.
It is not recommended to reload at runtime in a production environment. Please restart your server instead.
/canvas reload canvas.command.reload RegionBar Command
Section titled “RegionBar Command”The regionbar command introduces the toggling of Canvas’ TPS bar and RAM bar, similar in concept to the bossbars
from TabTPS, which show a constant realtime information about the region you
are currently in. For the RAM bar, this is server-wide though
/regionbar canvas.command.regionbar /canvas regionbar /regionbar <tps_bar|ram_bar> [player] [action_bar|boss_bar] SetMaxPlayers Command
Section titled “SetMaxPlayers Command”This command allows modifying the maximum amount of players that can join the server currently. This also allows telling the server to save this to persist across restarts, or just persisting through the current runtime.
/setmaxplayers canvas.command.setmaxplayers /canvas setmaxplayers /setmaxplayers <count> [persist] WorldDistance Command
Section titled “WorldDistance Command”This allows setting a permanent simulation or view distance override for a specific world. These settings persist only
with Canvas servers and forks, and override the defaults set in server.properties. When you set values with this
command, these values are always clamped between 1 and the Moonrise MAX_VIEW_DISTANCE constant, minus 3.
You can modify the MAX_VIEW_DISTANCE constant via setting the Paper.MaxViewDistance system property. If you wish
to disable the override for the world, set the override value to -1 via the command.
This persists as an override for the full world, not specific players or regions or the entire server. If you wish
to set an override for the entire server, set the default in server.properties.
/worlddistance canvas.command.worlddistance /canvas worlddistance /worlddistance <simulation|view> <world> <get|unset>/worlddistance <simulation|view> <world> <set> <distance> Tick Command
Section titled “Tick Command”Folia removes the Vanilla tick command, which Canvas completely rewrites and reintroduces. Our reimplementation is functionally different in quite a few ways.
Canvas’ implementation also allows setting specific tick data for specific tick handles, like specific regions, the global tick, or even the entire server.
The rate subcommand effects the entire server, and cannot be set per tick-handle. For the other subcommands, you need
to specify the block X and Z of the region you want to change the data of, or global for the global tick, or server
for the entire server.
/tick canvas.command.tick /canvas tick /tick pause <x,z|global|server>/tick play <x,z|global|server>/tick rate <rate>/tick sprint <ticks> <x,z|global|server>/tick walk <x,z|global|server>