This article is for reference purpose
The features described in this article are already implemented in the game. The article should describe how a certain aspect of the game currently works. You may of course edit this article to improve the description of the circumstances. Your opinions or improvement suggestions about the described aspects themself are of course appreciated, too. But please put these on the discussion page of this article to keep facts and fiction separated.
Access levels control which @commands can be performed by the user 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 query on the server database:
UPDATE tmw_accounts SET level=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 an account 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.