Skip to content
This repository has been archived by the owner on Sep 25, 2018. It is now read-only.

Latest commit

 

History

History
69 lines (61 loc) · 1.99 KB

permissions.xml.md

File metadata and controls

69 lines (61 loc) · 1.99 KB
title layout
permissions.xml
wiki

{% include toc.md %}

Account Permission File permissions.xml

This file is for managing the permission model of the server.

The Mana server supports up to 8 permission classes which can include different permissions. Every player account can have any combination of permission classes, so it is rarely neccessary to put the same permission into different classes. Every newly created account has the class 1 automatically, so permissions of a normal player should be placed here.

permissions.xml

{% highlight xml %} Player !login !chat !fight !level !createcharacter @where GM Game Master @ban @kick @kill @warp !createcharacter Dev Developer @spawn @item @warp [...] Admin @giverightclass @takerightclass

{% endhighlight %}

<allow>

User with this class may perform this action. Action names starting with "@" are the corresponding @commands, those starting with "!" are other actions which are not performed with a command.

<deny>

A user with this class may 'not' perform this action, even when it has other classes which allow it.

<alias>

Alternative name for a class which can be used in the @giverightclass or @takerightclass

Implementation status

supported

  • controlling @commands
  • giving and taking permission classes using @commands
  • <allow> tag
  • <alias> tag

unsupported

  • any !actions
  • checking permissions on account server
  • reading permissions from scripts
  • <deny> tag