Skip to content

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.


Next > Config


Overview

Permission (right column): 0 = everybody, 2 = read only (operator), 3 = changes something (operator).

Documentation
/thoriumreactors docs 0
Sends clickable links to this documentation.
Version
/thoriumreactors version 0
Shows the installed mod version together with the Minecraft version.
Config
/thoriumreactors config server list/get/set/reset/export 3
Reads and changes the common config while the game runs, see Config commands.
/thoriumreactors config client list/get/set/reset/export 0
The same for the client config (your own game, a client command, nothing is sent to the server).
Reactor
/thoriumreactors reactor list 2
All loaded reactors with position (click to teleport), state, temperature, load and integrity.
/thoriumreactors reactor info <pos> 2
Details of a reactor: state, scram reason, temperature, fuel, control rods, molten salt, turbines and whether it can run.
/thoriumreactors reactor scram <pos> 3
Scrams a reactor.
/thoriumreactors reactor reset <pos> 3
Clears the scram of a reactor.
/thoriumreactors reactor fill <pos> 3
Fills the fuel rods and the molten salt, for tests.
/thoriumreactors reactor heat <pos> <temperature> 3
Sets the temperature (22 to 1500 °C), to test overheating and scram.
Turbines
/thoriumreactors turbine list 2
The turbines of all loaded reactors with speed, production and coil state.
/thoriumreactors turbine info <pos> 2
Speed, production, flow, coils, activation and warnings of a turbine.
Machines
/thoriumreactors machines near [radius] 2
Machines around you (1 to 64 blocks, default 16) with energy, the 30 nearest are listed.
Control panels
/thoriumreactors panel list 2
All loaded control panel screens with size, shown parts, scale and linked reactor.
/thoriumreactors panel relink <pos> <reactor> 3
Links a control panel screen to another reactor.
Radiation
/thoriumreactors radiation add source <radius> <strength> 3
Creates a radiation source at your position. Radius 1 to 512 blocks, strength 0 to 10000.
/thoriumreactors radiation add player <player> <strength> 3
Adds radiation contamination to a player (0 to 10000).
/thoriumreactors radiation remove source all 3
Removes every radiation source of the dimension.
/thoriumreactors radiation remove source <radius> [center] 3
Removes all sources within the radius (1 to 4096, suggestions 8 to 256) around you or around the given center, including the radiation they spread beyond the radius.
/thoriumreactors radiation remove player <player> <strength> 3
Removes contamination from a player.
/thoriumreactors radiation set player <player> <strength> 3
Sets the contamination of a player to exactly this value.
/thoriumreactors radiation clear [player] 3
Clears the contamination and the radiation effect of a player (yourself without argument).
/thoriumreactors radiation info [pos] 2
The radiation at a position (default: where you stand), the sources that reach it and the nearest one.
/thoriumreactors radiation sources [radius] 2
Radiation sources around you (1 to 1024, default 64) with radius and current strength, the 20 nearest.
/thoriumreactors radiation immune <player> on/off 3
Makes a player immune to radiation (until switched off).
Pipes
/thoriumreactors pipes 2
Summary of all pipes: cables, networks per type (item, fluid, energy), endpoints, moved amount per tick and the server time the pipes need.
/thoriumreactors pipes top [count] 2
The slowest pipe networks (1 to 50, default 10).
/thoriumreactors pipes near [radius] 2
Pipe networks around you (1 to 512 blocks, default 32), up to 15 are listed.
/thoriumreactors pipes info [pos] 2
Details of the network at a position, or of the pipe you are looking at: type, cables, endpoints with sides and channels, throughput and the last tick time.
Tanks
/thoriumreactors tank fill/empty <pos> 3
Fills or empties an energy tank or a fluid tank (a fluid tank needs some fluid in it to know which one).
Debug
/thoriumreactors debug on/off 3
Writes what the operator commands do to the server log.

Config 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.enabled for 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: glowBrightness needs 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 all clears the whole dimension.
  • clear also 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.