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)
Download This New Plugin :P
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!
-
-
-
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 themCodeif (!$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 -
i will use this ManuAdminMod Language strings thanks mirKo for this info