Adding an admin and managing permissions

1) First of all you need to know your Steam ID. To do this go to the http://steamcommunity.com/ page and log in if you are not yet connected to the steam page. Then click on your Username in the top menu. You will then arrive on a page whose address looks like this:
http://steamcommunity.com/profiles/76561197980321925/home/
The numbers are your Steam ID (in this example, so the ID is 76561197980321925. Note yours somewhere.


Method 1 - Owner

By adding you "owner" you can use all admin commands basic game using the @ prefix followed by the command.
For example if you want to adjust the time of the server to "day" you would type:
@Day

2) With your Steam ID 64 go to your Server Control Panel in the game config files and edit the file commands.dat
Simply add a line (you can have only 1 owner) as follows:
owner your_steam_id_64
So if your steam id 64 was 76561197980321925 you would use:
owner 76561197980321925
Save and restart the server. You can now use the admin commands.

For add more than 1 administrator, the owner need to type in game : /admin USERNAME or /admin STEAMID64 It requires Rocket !


Method 2 - Rocket Admin

2) To enable a permissions system you must install the mod "rocket" from the Control Panel> game mods.
3) Once the mod installed using the file manager of the control panel to edit the file \Servers\Public\Rocket\Permissions.config.xml
This is the file that contains the groups, their members and group permissions.
You can add new groups or edit existing ones. By default there are only two groups, the "default" group is the group assigned to any player who has not been assigned to any specific group and the "moderator".

To add a new group you will need to add it right after the last </Group> tag and just before the </Groups> tag.
Here is a sample group named administrator:

<Group>
<Id>Administrator</Id>
<DisplayName>Admin</DisplayName>
<Members>
<Member>76561197980321925</Member>
</Members>
<Commands>
<Command>p</Command>
<Command>p.reload</Command>
<Command>tp</Command>
<Command>tphere</Command>
<Command>i</Command>
<Command>test</Command>
<Command>save</Command>
<Command>Admin</Command>
<Command>Admins</Command>
<Command>Ban</Command>
<Command>Bans</Command>
<Command>Chatrate</Command>
<Command>Clear</Command>
<Command>Cycle</Command>
<Command>Day</Command>
<Command>Debug</Command>
<Command>Experience</Command>
<Command>Give</Command>
<Command>Kick</Command>
<Command>Night</Command>
<Command>Permit</Command>
<Command>Permits</Command>
<Command>Players</Command>
<Command>Say</Command>
<Command>Slay</Command>
<Command>Teleport</Command>
<Command>Time</Command>
<Command>Timeout</Command>
<Command>Unadmin</Command>
<Command>Unban</Command>
<Command>Unpermit</Command>
<Command>Vehicle</Command>
<Command>Welcome</Command>
<Command>color.red</Command>
</Commands>
<ParentGroups />
</Group>

 

You can add permissions by adding commands, here was added the command "night" for example in relation to the moderator group that does not have it.
The list of commands is available unturned here:
http://unturned.wikia.com/wiki/Server_Commands

To add members simply list their steam ID's like this:
<Member>76561197980321925</Member>
<Member>76561197980321926</Member>
etc.

After editing save and restart the server. You can now use the rocket admin commands prefixed with an /
For example to set time to day you will use:
/Day

  • 30 Users Found This Useful
Was this answer helpful?

Related Articles

Turn zombies off

To turn off the zombies edit the file /Servers/Public/Config.json Locate the following lines:...

Add steam workshop content to your server

Automated method:List the workshop file IDs in Servers/Public/WorkshopDownloadConfig.json. For...

Install a plugin for rocket loader

By default rocket loader is installed on the server but it gets disabled when you run a "steam...

Disable BattlEye

To disable BattlEye anticheat you need to edit the /Servers/Public/Config.json file and replace:...

My Unturned server is not listed in game

If your server is not listed in game: Check if your server is listed in steam. To do so go to...