The Forest Server Admin and Host Controls
This guide covers how to manage admin access, set up a whitelist, and use in-game commands on your The Forest dedicated server hosted with Legion Hosting. For initial server configuration and gameplay settings, see The Forest Dedicated Server Setup Guide.
Admin List
Server administrators are managed via an adminlist.txt file in the server root directory. Add one Steam 64-bit ID per line to grant a player admin privileges.
To find a Steam 64-bit ID, visit steamid.io and look up the player's Steam profile URL.
Creating the Admin List
- Open the GPanel file manager at gpanel.legionhosting.net.
- Navigate to the server root directory.
- Create a new file called
adminlist.txt(if it does not already exist). - Add one Steam 64-bit ID per line:
76561198000000001
76561198000000002
- Save the file and restart your server for the changes to take effect.
adminlist.txt via SFTP if you prefer working with a local text editor.
Whitelist
To restrict the server to specific players only, create a whitelist.txt file in the server root and add one Steam 64-bit ID per line. Only players whose IDs are in this file will be able to join.
Setting Up a Whitelist
- Open the GPanel file manager.
- Create a new file called
whitelist.txtin the server root directory. - Add each allowed player's Steam 64-bit ID on its own line:
76561198000000001
76561198000000002
76561198000000003
- Save the file and restart the server.
whitelist.txt exists and contains at least one Steam ID, only those players will be allowed to connect. To disable the whitelist, delete the file or remove all entries from it.
Ban List
Banned players are stored in banlist.txt in the server root. You can ban players using the in-game console command (see below), which automatically adds their Steam ID to this file. You can also manually add or remove Steam 64-bit IDs from banlist.txt to manage bans.
In-Game Admin Commands
Admins can use the in-game developer console or type commands directly in the GPanel server console. To open the developer console in-game, press F1 (it must be enabled in the game options).
| Command | Description |
|---|---|
kickplayer [SteamID] |
Kicks the specified player from the server. |
banplayer [SteamID] |
Bans the specified player. Adds their Steam 64-bit ID to banlist.txt. |
save |
Forces an immediate save of the current game world. |
Related Articles
- The Forest Dedicated Server Setup Guide — Configuration, difficulty modes, saves, and connecting
- The Forest Server Troubleshooting — Common issues and solutions
Still Need Help?
If you need further assistance with admin controls or player management, open a support ticket and include your server ID and a description of the issue.