מאגר מידע

פורטל ראשי > מאגר מידע > Ascend Servers > Game Servers > Specific Game Servers > Unturned > Adding an admin and managing permissions in Unturned Game Server

Adding an admin and managing permissions in Unturned Game Server

 
This articles shows you how to set yourself and others as admin and also assign\create other permission groups.



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/7612312351242/home/

The numbers are your Steam ID (in this example, so the ID is 7612312351242. 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 (or pusieurs if you want to add multiple "owners") 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.


Method 2 - Via Rocket Admin

2) Access the file manager of the control panel and 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>56124124124124124</Member>
<Member>61512421412424242</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

?האם התשובה שקיבלתם הייתה מועילה
0 משתמשים שמצאו מאמר זה מועיל 0 הצבעות

קראו גם