Who can alter it for manu?
[B3] Puddi-Buster plugin (testing)
http://alteriw.net/viewtopic.php?f=95&t=57844
Beiträge von korsika
-
-
-
I add GUID in users.log
-
Yes, I want that registered GUID were read from users.log
-
Thanks all!
Help!
Here reads only 1 GUID in users.logCode01100001fe30c628 01100001fe57c6fe 01100001fe7738aa 01100001fe78ecfd 01100001fe79a0e3 01100001fe86f446
The others does not readPHP
Alles anzeigen$mod->registerEvent("playerJoined", "registered_main"); $mod->setDefaultCV("registered", "enabled", 1); $mod->setDefaultCV("registered", "kickreason", "Access denied!"); function registered_main($guid) { global $mod, $players; $usersreg = file("./log/users.log"); if($mod->getCV("registered", "enabled") == 0) { return; } if (!in_array($guid, $usersreg)) { $players[$guid]->kick($mod->getCV("registered", "kickreason")); } }
-
server.cfg
set sv_kickBanTime "3600" // 0 -3600 sec. -
It is a pity, but the problem has remained
-
Job without mistakes
PHP
Alles anzeigen$mod->registerEvent("playerJoined", "registered_main"); $mod->setDefaultCV("registered", "enabled", 1); $mod->setDefaultCV("registered", "kickreason", "Not allowed to join"); function registered_main($guid) { global $mod; global $players; $users = file("./log/users.log"); if(in_array($players[$guid], $users)) { } else { $players[$guid]->kick($mod->getCV("registered", "kickreason")); } }
but, nothing has changed, all kick
How to make, only players' XUIDs, which are in the file(users.log), can connect. Every other XUID gets automatically kicked? -
Please, show a working variant....
-
Details in archive readme.txt
-
-
use this:
PHP
Alles anzeigen$mod->registerEvent("playerJoined", "registered_main"); $mod->setDefaultCV("registered", "enabled", 1); $mod->setDefaultCV("registered", "kickreason", "Not allowed to join"); function registered_main($guid) { global $mod; global $players; $users = file("./log/users.log"); foreach ($users as $u) { if($players[$guid] != $u) { $players[$guid]->kick($mod->getCV("registered", "kickreason")); break; } } }
How to make, only players' XUIDs, which are in the file, can connect. Every other XUID gets automatically kicked? -
to the server can only connect through a list XUID
If the in list does not XUID, then you can not connect
white list - it only XUID on the list will be accepted for use
sorry for english -
-
Bitte Umsetzung cyrillics
Support international characters -
Currently there is no way, sorry...
Can someone confirm that private slots do not work for alteriw? Then i could implement this as a feature...
constantly full server
I confirm, private slots do not work for alteriw! -
the weapon restrictions are not working is there a possiblity to get that fixed
weaponrestrictions.php von 0.11.3 aller wird arbeiten -
-
1. yes
2. manually added to the banlist XUID, check the client when connecting to the server, the commands are not required.
3. works fine, all ok! -
banlist.cfg can be kept in one place, so do mysql is not needed