Results 1 to 9 of 9

Thread: Bzmod - Banning clients

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    Quote Originally Posted by maxdamage99 View Post
    You can check client properities, if exist in banlist - kick:
    -IP
    -GUID
    PHP Code:
    self getIP();
    self getGUID(); 
    BAN - ADD IP/GUID IN BAN LIST
    or...
    if your mod have account system, you can ban account (by login) - player can connect, but cant play on this acc.
    you can ban IP from game (.gsc scripts) - if you need ban PLAYER by IP

    if you need ban access for your host machine (IP):
    PHP Code:
    system("iptables -I INPUT -i eth0 -s "+player getIP()+" -j DROP"); 
    Last edited by maxdamage99; 22nd November 2017 at 09:20.
    PHP Code:
    class CoronaVirus 
    {
       
    CoronaVirus(int m 1): multi(m) { Peoples.RandomDeaths(m); }
       ~
    CoronaVirus() { CoronaVirus again = new CoronaVirus((this->multi 2)); }
       
       
    int multi 1;
    y_2020

  2. The Following User Says Thank You to maxdamage99 For This Useful Post:

    kung foo man (22nd November 2017)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •