====== Admins verwalten ====== 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. ===== Upgrade von einer älteren Version ===== - Server beenden - Die Datei ''clients.txt'' löschen falls vorhanden. - Die alten Dateien adminlist.txt, admingroups.txt, immunitygroups.txt, immunitylist.txt in das Verzeichnis "./$mod/cfg/mani_admin_plugin" kopieren. - Server wieder starten - Die alten Dateien werden in ".txt.old" umbenannt und sind somit inaktiv. ===== client.txt Creator ===== * [[http://www.sourceserver.info/downloads/MAP/clientscreator.rar|Download v1]] * [[http://www.sourceserver.info/downloads/MAP/clientscreator2.zip|Download v2]] ===== clients.txt manuell bearbeiten ===== 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" } } ===== Admins über eine Datenbank + Webinterface ===== [[http://www.mani-admin-plugin.com/index.php?option=com_smf&Itemid=26&topic=1456.0|Anleitung im Mani-Forum]] ===== Admins über die Konsole verwalten ===== Die beiden Befehle ''ma_client'' und ''ma_clientgroup'' können mit der [[:rcon]] oder über HSLW verwendet werden, um die Admins zu verwalten. Mit dem [[:cmd|Befehl]] ma_client kann man die Clienten verwalten und mit dem [[:cmd|Befehl]] ''ma_clientgroup'' kann man die Gruppen verwalten. FIXME ==== Clients ==== 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: FIXME