How to kick AFK players on a Factorio server
Set "afk_autokick_interval": 30 in config/server-settings.json in your SLASHPLAY server's Files tab and restart, or type /config set afk-auto-kick 30 in the Console tab.
afk_autokick_interval
Minutes a player can be idle before the server kicks them. 0, the default, never kicks.
"afk_autokick_interval": <minutes> Examples
"afk_autokick_interval": 30 Kicks players idle for 30 minutes.
Arguments
minutesRequired- Idle minutes before a kick, or 0 for never.
What it does
Frees slots on a busy server.
Good to know
- Edit
config/server-settings.jsonin the Files tab (Advanced, Files), then restart the server from the Power section on the General tab. It applies at the next start. /config set afk-auto-kick 30changes it until the next restart.
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.