Developer Console

The Developer Console is a UI window which provides a history of the most recent event logs and also allows the player to issue commands or toggle some setting variables.

It is disabled by default, but can be enabled on PC by pressing:
 * for US/UK keyboards
 * for German keyboard
 * for Spanish keyboard
 * for Italian keyboard
 * for French keyboard

After enabling, pressing the relevant key, e.g.,, will toggle the window.

Console platforms cannot access the console.

Each command/variable may have various flags dictating in what context it can be used:
 * None: no restrictions.
 * ExecuteOnServer: the command will be executed by the game host, regardless of who invokes it. This is important for networking/syncing issues and may affect the output of the command, as the caller will be the host and not whoever issued the command.
 * SenderMustBeServer: the command will be executed only if issued by the host.
 * Archive: this saves the value of the variable in  in the Risk of Rain 2 data folder, from where it can be loaded next time.
 * Cheat: cheats must be enabled.
 * Engine: sets the current value to the default value. Only relevant for some internal mechanism.

Some useful commands are:
 * : see a full list of commands.
 * : print the description of the specified command.
 * : find all commands matching the substring.
 * : clear the console output.
 * : increase the max lines of console log in case some output exceeds it and is effectively cropped.

Mods can also add their own commands.