| 75 | |
| 76 | |
| 77 | == Managing permissions by commands == |
| 78 | |
| 79 | Each of the sections of ''admins.xml'' can be modified through console commands while the server is running. |
| 80 | These are: |
| 81 | * admin: Manage the list of players which should be admins |
| 82 | * mod: Same for moderators. As it seems there currently is no difference between moderators and admins. Only the permission level set is of interest. |
| 83 | * cp: Manage command permission level definitions (in the XML those are the ''permissions''->''permission''-elements) |
| 84 | * whitelist: Whitelisted players. '''Note:''' if there is at least one whitelisted player '''only''' players on this list can join the server whatsoever. |
| 85 | * ban: Ban a player (XML: ''blacklist'' elements) |
| 86 | |
| 87 | All but the ''ban'' command have three subcommands given as their first parameter: |
| 88 | * add: Add a player to the given list |
| 89 | * remove: Remove a player from the given list |
| 90 | * update: Set a new permission level on the given list for the given player |