{% extends "base.jinja2" %} {% block title %}Permissions - DarkflameServer{% endblock %} {% block css %} {% endblock %} {% block content %}

Permissions

What each GM level may do on the dashboard and in the game. Click a level to make it the lowest one allowed; every level above it is allowed too. Changes apply straight away, no restart needed. GM 9 can always do everything on the dashboard. Grants give (or take away) a permission or command for one account or character.

{% if can.grants_manage %}
How grants work

A grant gives one account or character a dashboard permission, an in-game command, every permission of a category or every command up to a GM level, on top of what its GM level allows. A deny takes one away even when the GM level allows it (never from GM 9). A deny beats a grant. Account grants count on the dashboard and in game; character grants count in game while that character is logged in. A grant of a permission also covers the commands that follow it. Online players get changes at once. You can only grant what you have yourself, on accounts you may manage; settings, permissions_manage, commands with a fixed level and commands that never go below a GM level (/execute) can't be granted.

{% endif %} {% if can.permissions_manage %}
PermissionGM 0GM 1GM 2GM 3GM 4GM 5GM 6GM 7GM 8GM 9Set by
Loading…
How command levels work

The commands the world servers registered, with the level each needs. A command that does the same thing as a dashboard permission uses that permission's level: change it on the permission's row on the Dashboard tab, and the game follows. An older command_level_ value for such a command is kept as an override until you drop it. Commands that act on another player follow the same rules as the dashboard's tools: below GM 9, never on a higher GM level, on your own level only with manage_equal_rank, and on yourself only with the self_ permission shown.

CommandGM 0GM 1GM 2GM 3GM 4GM 5GM 6GM 7GM 8GM 9Set by
Loading…

Each permission is also a setting: add permission_<name>=<level> to dashboardconfig.ini (for example permission_accounts_ban=3) or set the environment variable PERMISSION_ACCOUNTS_BAN=3. The dashboard picks up file changes when its settings reload.

The world servers read these levels from what the dashboard stored, for the commands that follow a permission, so set them for the dashboard only.

Other commands work the same way in worldconfig.ini: command_level_<name>=<level> (for example command_level_spawn=6, or COMMAND_LEVEL_SPAWN=6 in the world servers' environment). Worlds pick up file changes when their settings reload (/reloadconfig). For a command that follows a permission, such a value overrides the permission; command_level_<name>=permission makes it follow the permission again.

A level chosen on this page beats the file and environment. Reset removes it, so the file or the built-in default applies again.

{% endif %}
{% endblock %} {% block scripts %} {% endblock %}