From The Mana World
(documented access level system)
m (status:green)
Line 1: Line 1:
{{Status:green}}
Access levels control which @commands can be performed by the user on TMWServ. This is the list of access levels on TMWServ. The default access level is 1 (not banned). Access levels are controlled on a per-account base. This means that all characters of an account have the same access level. To change the access level of an account perform the following SQL querry on the server database:
Access levels control which @commands can be performed by the user on TMWServ. This is the list of access levels on TMWServ. The default access level is 1 (not banned). Access levels are controlled on a per-account base. This means that all characters of an account have the same access level. To change the access level of an account perform the following SQL querry on the server database:
  UPDATE tmw_accounts SET alevel='''LEVEL''' WHERE username=''''ACCOUNTNAME'''';
  UPDATE tmw_accounts SET alevel='''LEVEL''' WHERE username=''''ACCOUNTNAME'''';

Revision as of 11:21, 11 January 2009

Template:Status:green Access levels control which @commands can be performed by the user on TMWServ. This is the list of access levels on TMWServ. The default access level is 1 (not banned). Access levels are controlled on a per-account base. This means that all characters of an account have the same access level. To change the access level of an account perform the following SQL querry on the server database:

UPDATE tmw_accounts SET alevel=LEVEL WHERE username='ACCOUNTNAME';

These are the access levels currently implemented on TMWServ:

name level functions
AL_PLAYER 1 User may play (is not banned)
AL_TESTER 2 User can perform testing commands like spawning stuff or changing its own character values.
AL_DEV 4 User is a developer and can perform developer commands like requesting additional debugging information from the server.
AL_GM 8 User is a moderator and can perform moderator commands like punishing other characters.
(reserved) 16 reserved for future use
(reserved) 32 reserved for future use
(reserved) 64 reserved for future use
AL_ADMIN 128 User can perform system administrator tasks.

The levels do not include the rights of the lower levels. A user with AL_GM does not automatically have the rights of AL_TESTER, for example. And most important, they don't automatically have the right to play (AL_PLAYER). To give a characters the rights of multiple levels you have to add the level values. When you want to give a user the rights to play, perform tester commands and perform gm commands, you would set the access level to 1 + 2 + 8 = 11.