Become an admin in Unturned commands
Instructions on how to become an admin on your Unturned server and a list of all commands you can execute as an admin.
- Find out your Steam64 ID (see article: How do I find out my Steam64 ID?).
- Go to the settings of your hoster where you rented the server
- Find the
commands.dat
file and open it - Write in a new line:
owner Steam64-ID
.- E.g.
owner 76561192343623323
- E.g.
- Save the file and restart your server.
What are the commands?
Command | Description |
---|---|
Admin [SteamID / Player] | Adds the specified player to the list of users who are allowed to use admin commands in chat. |
Admins | Displays a list of current admins. |
Airdrop | This forces a drop ship to fly over and perform a parachute drop. |
Ban [SteamID / Player]/[Reason]/[Duration] | Ban the specified player for a specific reason (optional) and duration (optional). The default is one year or 31,536,000 seconds as displayed in the console. Users trying to connect to the server will see the remaining seconds and the reason for the lock. |
Bans | Displays a list of current bans. |
Bind [IP] | Binds a specific internal IP to the socket. The default is 0.0.0.0, which means that all IPv4 addresses on the local machine can be used to connect to the server. |
chatrate [Number] | Assigns a minimum time between chat messages to prevent spamming. |
Cheats [Enable / Disable] | Allows the server to access certain commands, such as give, and can only be used in the server's commands.dat file. |
Cycle [Number] | Sets the length of the day/night cycle in seconds. |
Day | Assigns the current time to the day. |
Debug | Provides information about the state of the server. |
Experience [SteamID | Player]/[Experience] |
Filter | Filters out players with non-English alphanumeric names. |
Flag [SteamID / Player]/[Flag]/[Value] | Sets the flag of a player. |
Give [SteamID / Player]/[ItemID]/Amount | Gives an item to the specified player. |
Gold | Restricts the server to allow only gold players. |
Help [Command] | Contains information about the specified command. |
Hide_Admins | The admins will appear as if they were normal players. |
Kick [SteamID / Player]/[Reason] | Disconnects the specified player from the server. |
Kill [SteamID / Player] | Kill the specified player in the game |
Loadout [SkillsetID]/[ItemID]/[ItemID]/... | Specifies each item to the players when spawning. When using a skillset ID of 255, every player gets the item. Can only be used in a server console or in the server's Commands.dat file. |
Log [Chat]/[Join/Leave]/[Death]/[Anticheat] | Allows to log chat/join/leave/death messages. Each parameter can only be Y or N. (e.g. log y/y/y will log all chat, join and death messages). |
Map [Level] | Sets the map the server will load at startup. |
Mode [Easy | Normal |
Name [Text] | Assigns the name of the server in the server list. Has a maximum of 50 characters. |
Owner [SteamID] | Assigns administrative rights to the Steamid. Must be placed in the Commands.dat of the server. |
Password [Text] | Assigns the password required for the server. |
Permit [SteamID]/[Tag] | Adds the specified player to the list of users allowed to join the server. |
Permits | Displays a list of current players that are allowed to join the server. |
Perspective [First / Third / Both / Vehicle] | Assigns the perspective of the server. |
Players | Displays a list of the current player on the server. |
PvE | Disables player vs. player combat in favor of player vs. environment. |
Queue_Size [Number] | Sets the maximum number of queued connections the server is willing to hold. |
Save | Forces a proper save of the server state. |
Say [Text]/[R]/[G]/[B] | Transmits a message to all connected clients. |
Shutdown [Delay] | Properly saves the server state, disconnects the clients and closes the server. |
Spy [SteamID / Player] | Takes a screenshot from the target player's perspective and saves it as Spy.jpg on the command executor's computer. |