Commands.dat
| Line | What it does |
|---|---|
| Name My Server | The name in the server list |
| Map PEI | The map: PEI, Washington, Yukon, Russia, Germany or a Workshop map's name |
| MaxPlayers 24 | The player limit, up to 200 |
| Password abc | A join password |
| GSLT <token> | The login token that lists the server and lets it be joined over the Internet |
| Owner <SteamID64> | Admin rights for that player |
| Perspective Both | First, Third, Both or Vehicle |
| PvE | No damage between players |
| Cheats | Admins may spawn items and vehicles |
| Mode Normal | The difficulty: Easy, Normal or Hard |
| Port 27015 | The first of the two ports |
Config.txt
Loot, zombie, animal, vehicle and survival settings, decay, gameplay options, the server list's descriptions and icons, scheduled shutdowns and update checks. Every option is listed bare when the server creates the file, which means "the default for this difficulty"; a value after it overrides that one option. The difficulty itself is the Mode command in Commands.dat (Easy, Normal or Hard).
On Flux the most useful options are a form in the Server Settings tab, which writes Default/Config.txt and restarts the server; an emptied field goes back to the default. The file itself, with all of its options, is in the Files tab. Our image changes one option, and only while you have left it at the game's default: Restart for Game Updates (Enable_Update_Shutdown) is switched on, so the server restarts for a new Unturned release instead of locking its players out.
RocketMod plugins
Unturned ships Rocket, the RocketMod plugin framework, inside the server. On Flux it is the RocketMod Plugins setting in Deployment Settings: switched on, the server loads it on every start and creates a Rocket folder beside the world. Upload plugin .dll files to Rocket/Plugins in the Files tab and restart the server; each plugin writes its own settings file in that folder. Rocket's permissions and commands are in Rocket/Permissions.config.xml. Switching it off keeps every plugin and setting, the server just stops loading them.
Saving
There is no autosave setting, because Unturned has no autosave. Our image saves every 10 minutes (Autosave Every, under Advanced) and on every stop.
Frequently asked questions
Where is Commands.dat?
In Servers/<server id>/Server/Commands.dat. On Flux the server id is Default.
Do I need to restart after changing settings?
Yes: Commands.dat and Config.txt are read when the server starts. Deployment Settings redeploys the server for you.