Deny the use of proxy.

Discussion in 'CommandHelper Scripts' started by Synthproc, Dec 9, 2015.

  1. Synthproc

    Synthproc Member

    Oh, hello!

    I created this script based on a plugin that I saw on a forum. Basically, it checks if the IP player among the IPs contained in a wide range of proxy IPs and returns a boolean.

    Dependency: CHAllekant (Download | GitHub)

    Script:

    PHP:

    bind('player_join', null, null, @event,
        if(is_proxy(@event['player'])) {
            pkick(@event['player'], color(c).'Proxy isn\'t allowed.');
        }
    );
     
    Obs.: Don't know if this works perfectly, because, i don't use proxy.