Adding an Admin in Reign of Kings

So you want to add someone as an admin on your Reign of Kings server? Well after a bit of time trying to figure it out myself I finally succeeded. It took so long to figure out the correct syntax I thought I better post it in case anyone else is having trouble.

Find the currently empty users section inside your permissions.cfg:

users {
}

For each user add in the following inside the existing user brackets above:

KenMerritt {
groups {
- 'admin'
}
}

The completed section would look like this:

users {
KenMerritt {
groups {
- 'admin'
}
}
}

Just in case you are still confused here is my entire Permissions.cfg file containing two admins:

guest { # Unregistered users will use these permissions.
nameFormat = '%name%'
chatFormat = '%name% : %message%'
guildFormat = '[00CC00][%guild%] %chatFormat%[-]'
}
groups {
default {
default = 'True'
permissions {
- 'rok.chat.me'
- 'rok.chat.guild'
- 'rok.health.suicide'
- 'rok.help.list'
}
}
admin {
permissions {
- '*'
}
}
}
users {
KenMerritt {
groups {
- 'admin'
}
}
jamhorne {
groups {
- 'admin'
}
}
}

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>