7 Days to Die

7 Days to Die

View Stats:
sbangs007 Jul 7, 2017 @ 9:27am
Question on permission levels on MP server
Anyone know if its possible to assign a level of permissions to a console command? For example, if i wanted to give someone on my server the LP and TELE commands, but that was it. Anyone know if that is possible?

Thanks
< >
Showing 1-5 of 5 comments
Kunovega Jul 7, 2017 @ 9:29am 
Admin permission levels
sbangs007 Jul 7, 2017 @ 9:30am 
Originally posted by Kunovega:
Admin permission levels
yes but from my undestanding, admin can controll all of the commands. I just want to let a player to a speified amount of commands, but not everything.
Patouski Jul 7, 2017 @ 9:35am 
Yes.

Straight from the serveradmin.xml file;

STEAM ID INSTRUCTIONS: =============================================================== http://steamid.co/ instructions: Input the player's name in the search field. example: Kinyajuu If the name doesn't work, you can also use the url of their steam page. Also you may add/remove admins, mods, whitelist, blacklist using in game commands. You will want the STEAM64ID. example: 76561198021925107 PERMISSION LEVEL INSTRUCTIONS: =============================================================== permission level : 0-1000, a user may run any command equal to or above their permission level. Users not given a permission level in this file will have a default permission level of 1000! COMMAND PERMISSIONS INSTRUCTIONS: =============================================================== cmd : This is the command name, any command not in this list will not be usable by anyone but the server. permission level : 0-1000, a user may run any command equal to or above their permission level. Commands not specified in this file will have a default permission level of 0! EVERYTHING BETWEEN <!- - and - -> IS COMMENTED OUT! THE ENTRIES BELOW ARE EXAMPLES THAT ARE NOT ACTIVE!!!

And examples:

<adminTools> <admins> <!-- <admin steamID="<adminTools> <admins> <!-- <admin steamID="7656119802xxxxxx" permission_level="0" /> --> <admin steamID="76561198031xxxxxx" permission_level="0" /> <admin steamID="76561198040xxxxxx" permission_level="2" /> <admin steamID="76561198082xxxxxx" permission_level="50" /> </admins> <permissions> <!-- <permission cmd="dm" permission_level="0" /> --> <!-- <permission cmd="kick" permission_level="1" /> --> <!-- <permission cmd="say" permission_level="1000" /> --> <permission cmd="rlp" permission_level="0" /> <permission cmd="giveselfxp" permission_level="0" /> <permission cmd="listplayers" permission_level="0" /> <permission cmd="ban" permission_level="2" /> <permission cmd="se" permission_level="2" /> <permission cmd="dm" permission_level="50" /> <permission cmd="admin" permission_level="2" /> <permission cmd="mod" permission_level="50" /> </permissions>

Permissions have various levels attached, so if the level is 0, anyone in the admin list above, that has a level of 0 can execute the command, however, the admins with anything above 0, cannot execute it.

If the admin with a level of 2 tries to execute rlp (remove land protection - removes the LCB) - the console will give that person a message denying the command. However, trying to execute "dm" or "ban", will not be denied.

The admin with a level of 50, cannot execute anything under that level, therefore, only "dm" and "mod" are allowed for that person.


Kunovega Jul 7, 2017 @ 9:38am 
Originally posted by sbangs007:
Originally posted by Kunovega:
Admin permission levels
yes but from my undestanding, admin can controll all of the commands. I just want to let a player to a speified amount of commands, but not everything.

LEVELS, these are admin commands, you put them at different levels and then asign different people with different permission levels so they only access what level they were given

Last edited by Kunovega; Jul 7, 2017 @ 9:38am
sbangs007 Jul 7, 2017 @ 5:39pm 
Originally posted by Patouski:
Yes.

Straight from the serveradmin.xml file;

STEAM ID INSTRUCTIONS: =============================================================== http://steamid.co/ instructions: Input the player's name in the search field. example: Kinyajuu If the name doesn't work, you can also use the url of their steam page. Also you may add/remove admins, mods, whitelist, blacklist using in game commands. You will want the STEAM64ID. example: 76561198021925107 PERMISSION LEVEL INSTRUCTIONS: =============================================================== permission level : 0-1000, a user may run any command equal to or above their permission level. Users not given a permission level in this file will have a default permission level of 1000! COMMAND PERMISSIONS INSTRUCTIONS: =============================================================== cmd : This is the command name, any command not in this list will not be usable by anyone but the server. permission level : 0-1000, a user may run any command equal to or above their permission level. Commands not specified in this file will have a default permission level of 0! EVERYTHING BETWEEN <!- - and - -> IS COMMENTED OUT! THE ENTRIES BELOW ARE EXAMPLES THAT ARE NOT ACTIVE!!!

And examples:

<adminTools> <admins> <!-- <admin steamID="<adminTools> <admins> <!-- <admin steamID="7656119802xxxxxx" permission_level="0" /> --> <admin steamID="76561198031xxxxxx" permission_level="0" /> <admin steamID="76561198040xxxxxx" permission_level="2" /> <admin steamID="76561198082xxxxxx" permission_level="50" /> </admins> <permissions> <!-- <permission cmd="dm" permission_level="0" /> --> <!-- <permission cmd="kick" permission_level="1" /> --> <!-- <permission cmd="say" permission_level="1000" /> --> <permission cmd="rlp" permission_level="0" /> <permission cmd="giveselfxp" permission_level="0" /> <permission cmd="listplayers" permission_level="0" /> <permission cmd="ban" permission_level="2" /> <permission cmd="se" permission_level="2" /> <permission cmd="dm" permission_level="50" /> <permission cmd="admin" permission_level="2" /> <permission cmd="mod" permission_level="50" /> </permissions>

Permissions have various levels attached, so if the level is 0, anyone in the admin list above, that has a level of 0 can execute the command, however, the admins with anything above 0, cannot execute it.

If the admin with a level of 2 tries to execute rlp (remove land protection - removes the LCB) - the console will give that person a message denying the command. However, trying to execute "dm" or "ban", will not be denied.

The admin with a level of 50, cannot execute anything under that level, therefore, only "dm" and "mod" are allowed for that person.

Ok, so I set the players permission level and then i can set the commands permission level as well. Very nice.. thanks for the clairifcation.
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: Jul 7, 2017 @ 9:27am
Posts: 5