Skip to content
/SLASHPLAY

Where Factorio stores bans

Factorio stores bans in server-banlist.json in its root folder. On SLASHPLAY that file isn't kept between runs, so bans clear when the server stops.

server-banlist.json

The ban list: each ban is a username with a reason. /ban and /unban update it.

[ { "username": "<player>", "reason": "<reason>" } ]

Examples

[ { "username": "xtroll", "reason": "griefing" } ]

One ban.

Arguments

playerRequired
The banned username.
reasonRequired
Why they were banned.

What it does

A JSON list. Factorio creates it the first time someone is banned.

Good to know

  • On SLASHPLAY it sits in the server's root folder. SLASHPLAY keeps only saves, mods and config between runs (plus public). So bans are cleared when the server stops, unless you move the list with --server-banlist.

Run it on your server

Type commands with the leading slash in the Console tab, which runs them as the server; in game, admins type them in chat. Settings go in config/server-settings.json in the Files tab and apply at the next restart. New to this? Start a Factorio server first.

Your own
Factorio server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.