Back to all guides
Unturned Guidegsltsteamadmincommands

Unturned Steam GSLT Token Setup & Admin Commands

App ID 304930 GSLT token setup and Commands.dat admin configuration.

# Unturned Server Configuration, GSLT Setup, & Admin Commands Learn how to set up your Unturned Steam Game Server Login Token (GSLT), configure server settings (maps, max players, difficulty, perspectives), and assign admin permissions. --- ## 1. Setting Up Steam GSLT (App ID `304930`) As of Unturned update 3.21.31.0, dedicated servers **must** use a Steam GSLT token to appear in the public server browser: 1. Visit [Steam Game Server Account Management](https://steamcommunity.com/dev/managegameservers) and log in. 2. Enter **App ID: `304930`** (Unturned). 3. Add a memo (e.g., `MyUnturnedServer`) and click **Create**. 4. Copy the generated token. 5. Apply the token using one of the following methods: * **Control Panel:** Paste the token into the **GSLT** field under your server's **Startup** tab. * **Config File:** In `Servers/ServerID/Server/Commands.dat`, add the line: ```text GSLT YourGeneratedTokenHere ``` 6. Save and restart your server. --- ## 2. Basic Server Configuration (`Commands.dat`) Customize your server by adding these configuration commands to `Servers/ServerID/Server/Commands.dat`: | Command | Description | Example | | :--- | :--- | :--- | | `Name <server_name>` | Sets the public name of the server in the server list. | `Name My Unturned Survival` | | `Map <map_name>` | Sets the active map (*PEI*, *Washington*, *Russia*, *Germany*). Defaults to PEI. | `Map Washington` | | `Maxplayers <number>` | Sets maximum allowed players (recommended: 24). | `Maxplayers 24` | | `Mode <difficulty>` | Sets difficulty level (*Easy*, *Normal*, *Hard*). | `Mode Normal` | | `Perspective <view>` | View restrictions (*First*, *Third*, *Vehicle*, *Both*). | `Perspective Both` | | `Pve` | Disables PvP combat between players. | `Pve` | | `Password <password>` | Restricts access with a password. | `Password secret123` | --- ## 3. Granting Admin Permissions 1. Locate your 17-digit player **SteamID64**. 2. In `Servers/ServerID/Server/Commands.dat`, add: ```text Admin 76561198000000000 ``` 3. Save the file and restart the server, OR execute `/admin 76561198000000000` in the live server console. --- ## 4. Useful In-Game Admin Commands | Command | Action | | :--- | :--- | | `/give <player>/<itemID>/<amount>` | Spawns items | | `/vehicle <player>/<vehicleID>` | Spawns vehicles | | `/teleport <player>/<location>` | Teleports player | | `/day` / `/night` | Changes time of day | | `/kick <player>` | Kicks a player | | `/ban <player>` | Bans a player |