Skip to content

How to Add an Admin to Your HumanitZ Server ​

HumanitZ works with an admin password: you store it in the configuration file of your server, and whoever enters it in the game with a chat command gets admin rights. There is currently no working admin list based on SteamIDs.

Warning

Everyone who knows the admin password has full admin rights on your server. Only share it with people you trust and use a different password than your server and RCON password.

Project folder

All paths in this guide start with the project folder HumanitZServer. If your server still runs a version older than HumanitZ 1.0, that folder is called TSSGame instead. Check via SFTP which of the two folders exists on your server and adjust the paths accordingly.

Set the admin password ​

  1. Stop the server
    Stop your server via the dashboard. The configuration file is only read on server start.

  2. Connect via SFTP
    Connect to your server via SFTP.

  3. Open the configuration file
    Open the following file:

    /HumanitZServer/GameServerSettings.ini
  4. Enter the password
    Enter the admin password you want in the [Host Settings] section:

    ini
    [Host Settings]
    AdminPass="YourAdminPassword"
  5. Start the server
    Save the file and start your server.

Note

If the dashboard of your server offers a dedicated field for the admin password, prefer that field – values from the dashboard can be written back into the configuration file on start.

Unlock admin rights in the game ​

  1. Join the server
    Join your server. How to do that is described in Join Server.

  2. Open the chat
    Open the chat in the game.

  3. Enter the command
    Enter the following command with your admin password:

    /AdminAccess YourAdminPassword
  4. Use admin commands
    From now on the admin commands are available to you.

Note

The unlock applies to the current session. After a lost connection or a server restart you enter the command again.

Admin command overview ​

CommandDescription
/AdminAccess <password>Unlock admin rights
/admintagShow or hide the admin tag in the chat
/adminwOpens an admin interface for spawning items and changing some game settings
/SuperAdminToggles free flight mode – while it is active you are invisible to other players
/godTurn invulnerability on or off
/SaveGameSaves the current savegame
/Shutdown <seconds>Shuts the server down after the given time

Warning

/Shutdown terminates the server process. Whether your server starts up again automatically afterwards depends on the settings in the dashboard – if in doubt, start it manually there.

AdminList.txt ​

The project folder can additionally contain a file AdminList.txt with one SteamID64 (NET ID) per line:

/HumanitZServer/AdminList.txt

Important

According to the official documentation this file currently has no function – it is explicitly marked as not working there. Therefore grant admin rights exclusively through AdminPass and /AdminAccess.

Tip

Here you can find a guide on how to find a SteamID64. The IDs of players who already joined your server can also be found in the file /HumanitZServer/PlayerIDMapped.txt, which maps the ID to the player name.

Tip

To learn how to remove players from your server, see Kick & Ban Players.