1. GSManager
    1. Funktionen
    2. Unterstützte Spiele
    3. Neuigkeiten
    4. Statistiken
    5. Serverliste
  2. Lexikon
  3. Filebase
  4. Entwicklung
  5. Forum
    1. Dashboard
    2. Unerledigte Themen
  6. Mitglieder
    1. Letzte Aktivitäten
    2. Benutzer online
    3. Team
    4. Mitgliedersuche
  • Anmelden
  • Registrieren
  • Suche
Dieses Thema
  • Alles
  • Dieses Thema
  • Dieses Forum
  • Artikel
  • Seiten
  • Dateien
  • Forum
  • Lexikon
  • Erweiterte Suche
  1. GSManager
  2. Forum
  3. Erweiterungen
  4. Anfragen

Download This New Plugin :P

  • GumGes1
  • 29. Juli 2014 um 18:12
Das Projekt GSManager (vormals ManuAdminMod) wurde am 01.01.2020 eingestellt - diese Internetpräsenz bleibt verfügbar, die Software wird aber nicht länger gepflegt. Vielen Dank für eure Unterstützung in den mehr als zehn vergangenen Jahren!
  • GumGes1
    Fortgeschrittener
    Reaktionen
    10
    Punkte
    1.460
    Trophäen
    1
    Beiträge
    255
    • 29. Juli 2014 um 18:12
    • #1

    here the plugin
    !found <Player_Name> or !found playernumber by using !pl that mean pid (return if this name found in the game or not)
    !getguid <player_name> or !getguid playernumber by using !pl that mean pid (return the name and the guid of playersname)

  • Mirko911
    Entwickler
    Reaktionen
    165
    Punkte
    16.820
    Trophäen
    6
    Beiträge
    3.263
    Einträge
    11
    • 29. Juli 2014 um 18:30
    • #2

    Hey,

    I've some improvements for you ;-):

      $mod->registerCommand("getguid",false,"guids");
    false is for commands which doesn't need arguments
    Take a look into the basic commands and copy the middle parameter from a similar command like rcon
     '~^rcon .+$~i' this is a syntax check. If a user executes the command with the wrong syntax, then he get's an error message

    -----------------------------------

    $players[$guid]->say("Name Not Found");
    Manuadminmod has language strings. I would prefer to use them

    Code
    if (!$tokick) {
                $this->players[$guid]->say($this->mod->getLngString("playerNotFound", array("<SEARCH>"), array($player)));
            }


    try to implement s.th like this

    -----------------------------------

      $players[$guid]->say("Please Enter Name");

    as I said above try to use the above pattern.
    If you want these help commands, create a new file in languages/<LANG>/help/<yourPLugin>.lst and add a help text for your command

  • GumGes1
    Fortgeschrittener
    Reaktionen
    10
    Punkte
    1.460
    Trophäen
    1
    Beiträge
    255
    • 29. Juli 2014 um 18:37
    • #3

    i will use this ManuAdminMod Language strings thanks mirKo for this info :)

  1. Mitarbeiter
  2. Datenschutzerklärung
  3. Nutzungsbedingungen
  4. Impressum
  5. Kontakt
Community-Software: WoltLab Suite™