if they attempt to join a server with 5 or more numbers in the nickname It's for stopping users from advertising with IPs
For example: "If you want to block "Swear Words" in the client name. You can block with this script or whatever you want"
1-) chmod +x clientcontroller.sh
2-) Edit Config.cfg with your informations
3-) ./clientcontroller.sh start/stop
4-) You must use PHP 5.5+
Thanks For Help @Eskirex
For example: "If you want to block "Swear Words" in the client name. You can block with this script or whatever you want"
1-) chmod +x clientcontroller.sh
2-) Edit Config.cfg with your informations
3-) ./clientcontroller.sh start/stop
4-) You must use PHP 5.5+
Thanks For Help @Eskirex
PHP:
// 0 = permanently u can write there secs like 1 hour / 3600
if($cfg['kickclient']){
if(StriStr($clientname['client_nickname'] , "test")){
$tsAdmin->banClient($clientname['clid'], 0, $cfg['clientkickmessage']);
}
}
PHP:
.com , .net , .org , .xyz , .info , .pro , .tk , .work
PHP:
if($cfg['kickclient']){
if(StriStr($clientname['client_nickname'] , ".net")){
$tsAdmin->clientKick($clientname['clid'], "server", $cfg['clientkickmessage']);
}
}
Last edited: