Skip to content

Block all vpn connection using iphub and proxycheck api with b3

Notifications You must be signed in to change notification settings

Zwambro/b3-plugin-vpnblocker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

                  .___                 .___
______   ____   __| _/_________  ___ __| _/
\____ \_/ __ \ / __ |\_  __ \  \/  // __ | 
|  |_> >  ___// /_/ | |  | \/>    </ /_/ | 
|   __/ \___  >____ | |__|  /__/\_ \____ | 
|__|        \/     \/             \/    \/ 

A VPN blocker for BigBrotherBot

Introduction

Vpn blocker developed by pedrxd for bigbrotherbot focused on all dedicated games will help you to administrate the servers kicking all players trying to access using a vpn or proxy. Most of this users are cheats ragers etc... If some player need join using a vpn or proxy, you can allow it with a simple command.

Installation

You need have installed and configurated bigbrotherbot with a mysql database. IPy is required

  1. Merge extplugins folder with the same folder of bigbrotherbot
  2. Install ipy : pip install ipy
  3. Add the vpnblock.sql inside sql folder to the b3 database
  4. Go to the webpage iphub.info and get free or paid token, then go to proxycheck.io and get free or paid token. for xdefcon.com you don't need a token. But for zwambro DB you need a token (contact me on discord Zwambro#8854 to create an api for your clan).
  5. On the config file vpnblocker.ini copy your proxycheck and iphub.info and zwambrodb tokens.
  6. Add the plugin to the b3.xml : <plugin name="vpnblocker" config="@b3/extplugins/conf/vpnblocker.ini"/>
  7. Start b3 :D

Commands

All comands that include this plugins are listed bellow:

  • allowvpn/av <player/ip> //Add a player to the whitelist
  • denyvpn/dv <player/ip> //Remove a player on whitelist

If you add a ip the nextplayer connected with that ip will be allowed to connect using vpn. If you deny a ip only IP's not assinged to a player will be removed

Special thanks and acknowledgements

  • DANGER clan's Owner 𝔻𝔾 |*𝕎𝕒ℝ*|#4315 for bugreports and testing

About

Block all vpn connection using iphub and proxycheck api with b3

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%