This command can be used to list, remove, add, and change permission levels for different commands. A permission level is a number between 0 and 1000 that determines what permissions a player has - 1000 is the lowest (no permissions) and 0 is the highest (full admin permissions). By default, commands like admin, and shutdown require a permission level of 0 to use - and kick, and ban require a permission level of 1. Use 'cp list' to see a list of all permission levels - if a command doesn't have a permission level set, it requires max permissions (0) to use. See argument information for help adding/removing/changing permissions. Player permission levels can be changed with the admin command - all players by default have a permission level of 1000.
The syntax for the cp command is as follows:
cp ['add' / 'remove' / 'list'] [command] [0 - 1000]
This command has the following arguments:
|'add' / 'remove' / 'list'||Specify 'list' (without quotes) to list all permissions. Specify 'add' (without quotes) here to add or change a permission level. Specify 'remove' (without quotes) here to remove a permission level.|
|Command||Only required if adding or removing a command. The command you wish to add or remove (e.g. teleportplayer).|
|0 - 1000||Only required when adding or changing a permission level. The permission level you wish to set for a command - a number between 0 and 1000. 0 is the highest permission level (access to everything), 1000 is the lowest.|
Search our database of 70 7 Days to Die commands...That Sounds Perfect!
Find below working examples of the cp command.
This command lists all permission levels.
cp add say 1
This command sets the permission level for the say command to 1 (so you need a permission level of 1 or lower to use it).
cp remove listplayerids
This command removes the command "listplayerids" from the permissions list, meaning you'd need to be a permission level 0 admin to use the listplayers command.