How to give moderators commands in 7 Days to Die
As an admin, type cp add kick 1 in the in-game console (F1), then give the moderator level 1 with admin add Name 1.
commandpermission
Sets, removes or lists the permission level a command needs. Commands not listed need level 0.
commandpermission add <command> <level>
commandpermission remove <command>
commandpermission list Examples
cp add kick 1 Players at level 1 or 0 can kick.
cp list Shows the custom levels.
Arguments
commandRequired- The command name.
levelRequired- The level needed, 0 to 1000.
What it does
Lets you give moderators some commands without making them full admins. A player may run any command whose level is equal to or above their own permission level, so level 0 runs everything.
Good to know
- Type it in the in-game console (F1) as an admin from
serveradmin.xml. SLASHPLAY's **Console** tab shows the server's output but can't send commands to 7 Days to Die. - Only admins can run it by default (permission level 0);
commandpermissionchanges that. cpis the short name.
Run it on your server
Admin commands are typed in the in-game console (F1) by a player on the admin list in UserData/Saves/serveradmin.xml; the server page's Console tab shows the server's output but can't send commands. Settings go in sdtd.xml on the Files tab and apply at the next start. New to this? Start a 7 Days to Die server first.
Your own
7 Days to Die server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.