Factorio Admin Commands: Difference between revisions
Jump to navigation
Jump to search
[wiki:ss-claude-11372] Fixes: wrong or outdated steps, labels and facts corrected, current pictures, dead links fixed, search title and description |
[wiki:wiki-operator] Reworded to the house writing rules; facts that were wrong today corrected (approved by Ryan, Nov 17) |
||
| Line 1: | Line 1: | ||
{{#seo:|title=Factorio Admin Commands: Kick, Ban, Whitelist and Save|description=Factorio admin commands for kicking, banning, muting, whitelists and saving, where your server's admin list lives, and why Lua commands end achievements.}} | {{#seo:|title=Factorio Admin Commands: Kick, Ban, Whitelist and Save|description=Factorio admin commands for kicking, banning, muting, whitelists and saving, where your server's admin list lives, and why Lua commands end achievements.}} | ||
Admins are listed in the server's <code>server-adminlist.json</code> (in the | Admins are listed in the server's <code>server-adminlist.json</code> (in the Command Center, this is the '''Server Config › Access Control › Admins''' field). Admin commands work from in-game chat and over RCON. | ||
In-game <code>/promote</code>, <code>/ban</code> and <code>/whitelist</code> changes are replaced at the next start: the | In-game <code>/promote</code>, <code>/ban</code> and <code>/whitelist</code> changes are replaced at the next start: the Command Center rewrites all three lists from those '''Access Control''' fields. | ||
=== Player management === | === Player management === | ||
| Line 25: | Line 25: | ||
* <code>/admins</code>: list admins | * <code>/admins</code>: list admins | ||
* <code>/server-save</code>: save the map immediately | * <code>/server-save</code>: save the map immediately | ||
* <code>/kick</code>, <code>/ban</code> and the commands | * <code>/kick</code>, <code>/ban</code> and the other commands on this page work over RCON too | ||
* <code>/config get <option></code> / <code>/config set <option> <value></code>: read or change | * <code>/config get <option></code> / <code>/config set <option> <value></code>: read or change settings while the server runs, such as <code>max-players</code> and <code>password</code> | ||
=== A warning about Lua commands === | === A warning about Lua commands === | ||
<code>/command</code> (or <code>/c</code>) | <code>/command</code> (or <code>/c</code>) runs raw Lua and unlocks cheats like item spawning, but using it '''permanently disables achievements''' on that save, and the game warns you once before it does. That's Factorio's own rule. | ||
[https://www.survivalservers.com/services/game_servers/factorio/ Factorio dedicated server] hosting from Survival Servers includes RCON access and an admin list editor in the Command Center. | |||
Latest revision as of 08:44, 17 November 2026
Admins are listed in the server's server-adminlist.json (in the Command Center, this is the Server Config › Access Control › Admins field). Admin commands work from in-game chat and over RCON.
In-game /promote, /ban and /whitelist changes are replaced at the next start: the Command Center rewrites all three lists from those Access Control fields.
Player management
/promote <player>: give a player admin/demote <player>: remove admin/kick <player> <reason>: kick a player/ban <player> <reason>: ban a player/unban <player>: lift a ban/bans: list banned players/mute <player>//unmute <player>: mute or unmute chat/purge <player>: clear a player's chat history
Whitelist
/whitelist add <player>//whitelist remove <player>/whitelist get: show the whitelist/whitelist clear: empty the whitelist (an empty whitelist lets anyone join)
Server
/players online: list connected players/admins: list admins/server-save: save the map immediately/kick,/banand the other commands on this page work over RCON too/config get <option>//config set <option> <value>: read or change settings while the server runs, such asmax-playersandpassword
A warning about Lua commands
/command (or /c) runs raw Lua and unlocks cheats like item spawning, but using it permanently disables achievements on that save, and the game warns you once before it does. That's Factorio's own rule.
Factorio dedicated server hosting from Survival Servers includes RCON access and an admin list editor in the Command Center.