Holdfast admin and remote console commands
Log in as admin on your Holdfast server and use the most useful rc commands: broadcast, map changes, kick, slay, reload the config and timed commands.
Holdfast servers are run from the in-game console. Anyone with the admin password can change maps, manage players and switch rules on and off mid-round. This guide covers the commands regiments use most.
Logging in
Open the console with F1 and log in with the server_admin_password from your server config:
rc login YourAdminPassword
You stay logged in until you disconnect. If you don't see a confirmation, press F1 twice to close and reopen the console. Recording or streaming? Run rc cls to clear the console so your password isn't on screen.
Every server command starts with rc. Without it, a command only runs on your own game. rc help lists the commands, and Tab completes a half-typed command.
Managing players
Most of these are also in the admin menu (P). Find a player's ID there or with rc playerlist.
| Command | What it does |
|---|---|
rc serverAdmin kick 14 | Kick player 14. |
rc serverAdmin ban 14 | Ban player 14. |
rc serverAdmin slay 14 | Kill player 14 (for rule breaks mid-round). |
rc serverAdmin chatMute 14 / voipMute | Mute in text chat or voice; chatUnmute and voipUnmute undo it. |
rc playerlist ingame | Only players who are spawned in. |
rc teleport 14 me | Bring player 14 to you. |
Changing maps
rc mapRotation 2
rc game BlackForest 2
The first jumps to rotation 2 in your config. The second loads Black Forest using the settings of rotation 2, and can also take a game mode and the attacking and defending factions.
Messages
rc broadcast Line battle starts at 20:00, form up by 19:50
A new broadcast replaces the previous one. In admin chat, /bc message does the same.
Changing rules live
rc set changes a setting and rc get shows its value. Some that regiments use:
rc set allowFiring false: nobody can fire muskets (for a melee charge or a drill).rc set allowArtyFiring false: hold the artillery.rc set characterGodMode 1: nobody takes damage, for example while forming up.0turns it off.rc set forceFirstPersonMode true: first person only.
Several commands at once, or on a timer
Separate commands with a semicolon to send them together:
rc broadcast Fight!;set characterGodMode 0;set allowFiring true
Or queue a command for a moment on the round clock (in seconds), for example a charge at 8:00 with a warning at 10:00:
rc delayed 600 broadcast All charge at 08:00
rc delayed 480 broadcast All charge! No firing!
rc delayed 480 set allowFiring false
Commands like these can also go inside a map rotation in the config, so they run every time that map loads.
Reloading files and restarting
rc fileReloader serverConfigFile: reload the config without a restart.rc fileReloader blackWhiteLists,bannedPlayers: reload the whitelist/blacklist or bans;allreloads everything except the config.rc restart status,noworcancel: check, start or cancel a restart.
Run it on a Nordyx server
Holdfast: Nations at War servers in Denmark with a control panel where you edit the config file, load mods and restart.