Seit der Version 1.2 hat sich die Verwaltung der Admins beim Mani-Admin-Plugin grundlegend verändert. Die Admins werden in der Datei clients.txt im Valve-Key-Value Format abgespeichert. Es handelt sich um eine textbasierte Datenbank, welche aus vielen geschwungenen Klammern besteht. Das Manuelle bearbeiten dieser Datei führt zu den häufigsten Fehlern.
clients.txt
löschen falls vorhanden.Beispiel der clients.txt
"clients.txt" { // This key group lists all your client players "players" { // This must be a unique client name "DeinName1_allerechte" { // Client real name "name" "DeinName1_allerechte" // Steam ID for client "steam" "STEAM_0:0:123456" // These are personal admin flags for a client "adminflags" { "flags1" "admin client" } // This is the admin group the client is subscribed to "admingroups" "Superadmin" // This is the immunity group the client is subscribed to "immunitygroups" "Superadmin Immunity" } // This must be a unique client name "DeinName2_teilrechte" { // Client real name "name" "DeinName2_teilrechte" // Steam ID for client "steam" "STEAM_0:0:123456" // These are personal admin flags for a client "adminflags" { "flags1" "admin" } // This is the admin group the client is subscribed to "admingroups" "Admin" // This is the immunity group the client is subscribed to "immunitygroups" "Admin Immunity" } } // These are the admins groups a client can subscribed to "admingroups" { "Superadmin" "j k r q e m b s o a c p w z x y i l f t d g R B v V Q D C A E F G H I J K L M N O P S T U W X Y Z admin client pban spray grav" "Admin" "j k q m b s o a c p w y i l f d g B v V D C A E F I O T U W Y admin spray grav" } // These are the immunity groups a client can subscribed to "immunitygroups" { "Superadmin Immunity" "j k m b x i l f t d g a c e h n o p q r s u v w y Immunity grav autojoin afk" "Admin Immunity" "n v Immunity afk" } }
Die beiden Befehle ma_client
und ma_clientgroup
können mit der Remote-Console oder über HSLW verwendet werden, um die Admins zu verwalten. Mit dem Befehl ma_client kann man die Clienten verwalten und mit dem Befehl ma_clientgroup
kann man die Gruppen verwalten.
Ein Client besteht aus Name, SteamID oder IP, Adminflags und Immunityflags und der Gruppenzugehörigkeit.
Der Befehl ma_client
stellt folgende Unterbefehle zur Verfügung: