Commands
Introduction¶
Everything the mod adds to the chat is bundled under one command: /thoriumreactors. Commands that change something need operator rights (permission level shown below), docs and version can be used by everybody.
Overview¶
Permission (right column): 0 = everybody, 2 = read only (operator), 3 = changes something (operator).
/thoriumreactors docs 0/thoriumreactors version 0/thoriumreactors config server list/get/set/reset/export 3/thoriumreactors config client list/get/set/reset/export 0/thoriumreactors reactor list 2/thoriumreactors reactor info <pos> 2/thoriumreactors reactor scram <pos> 3/thoriumreactors reactor reset <pos> 3/thoriumreactors reactor fill <pos> 3/thoriumreactors reactor heat <pos> <temperature> 3/thoriumreactors turbine list 2/thoriumreactors turbine info <pos> 2/thoriumreactors machines near [radius] 2/thoriumreactors panel list 2/thoriumreactors panel relink <pos> <reactor> 3/thoriumreactors radiation add source <radius> <strength> 3/thoriumreactors radiation add player <player> <strength> 3/thoriumreactors radiation remove source all 3/thoriumreactors radiation remove source <radius> [center] 3/thoriumreactors radiation remove player <player> <strength> 3/thoriumreactors radiation set player <player> <strength> 3/thoriumreactors radiation clear [player] 3/thoriumreactors radiation info [pos] 2/thoriumreactors radiation sources [radius] 2/thoriumreactors radiation immune <player> on/off 3/thoriumreactors pipes 2/thoriumreactors pipes top [count] 2/thoriumreactors pipes near [radius] 2/thoriumreactors pipes info [pos] 2/thoriumreactors tank fill/empty <pos> 3/thoriumreactors debug on/off 3Config commands¶
Every option of the config can be changed with a command, new options show up automatically. /thoriumreactors config server ... changes the common config and needs operator rights (permission level 3), /thoriumreactors config client ... changes the client config of your own game and needs none. All of them know list [filter], get <option>, set <option> <value>, reset <option> (back to the default) and export (everything that differs from the default).
- An option is named by its path without the first part (the section of the file), for example
uranium_ore.enabledfor World Generation / uranium_ore / enabled. If two options would get the same name, the section is put in front of them. The tab key completes names and values. - The change is applied live, nothing has to be restarted, and the file is saved. If an option cannot be applied completely, the command tells you what is needed:
glowBrightnessneeds a resource reload (F3 + T) or a restart. - On a server only the server changes. Every player has an own copy of the common config file, options that only matter for the server (almost all gameplay values) need nothing more, options that are also read by the clients have to be changed in each player's
config/thoriumreactors-common.toml.
Example: /thoriumreactors config client set highResolutionDisplay true makes the control panels much sharper at the cost of performance.
Players are never affected: all commands except docs, version and the client config need operator rights, a normal player cannot influence the game with them.
Radiation commands¶
The radiation commands are meant for admins and map makers: create radiation zones, test your hazmat suit or heal a contaminated player.
- A source is a spot in the world that radiates in its radius. The radiation falls off with the distance. Sources are stored per dimension.
- The strength of the player commands is the contamination of the player in the same unit the Dosimeter shows. The chat message of the command names the unit mSv.
remove source <radius>is the cleanest way to remove a single radiation spot,remove source allclears the whole dimension.clearalso removes the Radiation effect.
See Radiation & Protection for how contamination works.
Pipe commands¶
The pipe commands help server owners find laggy pipe networks. Every line shows the type of the network, the average and peak time per tick (green, yellow, red), the number of cables and endpoints and how much was moved per tick. The positions in the list are clickable and teleport you there.
info without a position uses the pipe in your crosshair. With a position the chunk must be loaded. If no network exists there you get No active pipe network.
See Cables & Pipes for the pipes themselves.