Security Levels

From King Arthur's Gold Wiki
Revision as of 17:57, 19 July 2012 by Shadlington (Talk | contribs)

Jump to: navigation, search
This page might not be up-to-date (build 454).

King Arthur's Gold uses a system called 'Security Levels' (or 'seclevs' for short) to manage player access to various features on its servers. There are default, hardcoded levels setup but it is strongly advised that server owners take the time to setup their own specific seclev definitions, the details of which are described on this page.

Basics

Roles

Commands

Features

Feature Description
join_full Join full server.
join_reserved Join if reserved slots free.
editor Use map editor.
spectator Use of spectator mode.
kick_immunity Kick immunity.
pingkick_immunity Ping kick immunity.
ban_immunity Ban immunity.
always_change_team Able to change team regardless of (im)balance.
view_rcon Can view non-silent rcon activity.
silent_rcon Your rcon activity is not posted to the console of those that can view it.
view_collapses View who caused collapses.
view_console Can view server console messages in your own console.
name_mouseover Can see player names when hovering cursor above them.
admin_color Show admin names in the red/orange admin color.
map_vote Able to vote to go to next map.
mark_player Able to mark players to be kicked.
mark_any_team Able to mark players on any team - still need mark_player.
skip_votewait Skip the wait required to vote/mark players.
invincible Player will be invincible.


Advanced Usage

Because you can restrict access to every /rcon command, including /login itself, its possible to create two levels for your administrators that they can swap in and out of according to need.

To do this, first ensure that none of your non-admin levels have 'login' in their commands list. Then add 'login' (or 'ALL') to your lower-level admin seclev and make sure that it is assigned to your administrators by adding their names to the users list. Also ensure that your higher-level admin seclev is not assigned to your administrators by name but is assigned to the 'rcon' role and that it has 'logout' (or 'ALL') in its commands list.

Now when your administrators join your server they will have access to all their normal admin powers by default, but will be able to go up a level by logging into rcon (and back down again by using /rcon /logout). As they are the only ones with access to /login you can safely keep the password very easy to remember, too. You may find it useful to include 'god powers' like invincibility in this higher admin level that you would only ever want to have active temporarily.

Default Levels

The default, hardcoded levels are equivalent to the following security levels:

name = Server Admin
users = 
roles = rcon;
commands = ALL;
features = admin_color; always_change_team; ban_immunity; editor; join_full; kick_immunity; map_vote; mark_any_team; mark_player; name_mouseover; pingkick_immunity; silent_rcon; skip_votewait; spectator; view_collapses; view_console; view_rcon;
name = KAG Staff
users = 
roles = kagstaff;
commands = ban; banhost; banid; freezeid; help; kick; kickhost; kickid; login; nextmap; restartmap; swapid; unfreezeid;
features = always_change_team; ban_immunity; join_full; kick_immunity; map_vote; mark_any_team; mark_player; name_mouseover; pingkick_immunity; skip_votewait; spectator; view_collapses; view_rcon;
name = Guard
users =
roles = guard;
commands = ban; banhost; banid; freezeid; help; kick; kickhost; kickid; login; swapid; unfreezeid;
features = always_change_team; join_full; map_vote; mark_any_team; mark_player; name_mouseover; pingkick_immunity; skip_votewait; spectator; view_collapses;
name = Normal
users =
roles =
commands = help; login;
features = map_vote; mark_player; spectator;