AntiVPN for BungeeCord with MySQL and Redis support

- blacklist any ip address
- staff notify message is fully customisable
- customisable permissions
- customisable message for vpn kick
- customisable message for blacklisted ip kick
- built in cache with customisable expiration
- built in list with over 2 million ip addresses of VPNs and data centers which can be modified at any time
- automatic updates
(+) automatic synchronization (by default turned off) on all your proxies if you use my FileSync plugin
default credentials.yml:

MYSQL:
  HOST: 'localhost'
  PORT: 3306
  DATABASE: ''
  USER: 'root'
  PASSWORD: ''
  TABLE-PREFIX: 'antivpn_'

REDIS:
  HOST: ''
  PASSWORD: ''
  PORT: 6379
  USER: ''

default config.yml:

# this permission is needed in order to use in-game command
# default: vpn.cmd.use
VPN-COMMAND-PERMISSION: 'vpn.cmd.use'

KICKS:
  # this message will be displayed as kick reason to player who tries to connect using vpn
  # placeholders: {nick} - nick of kicked player | {ip} - ip address of kicked player
  VPN:
    - '&7[&6VPN DETECTOR&7]'
    - ''
    - '&cVPN/Proxy is not allowed on this server.'
    - ''
    - '&7If you believe that this is false call contact us:'
    - '&fdiscord.example.com'
  # this message will be displayed as kick reason to player who tries to connect using
 blacklisted ip address
  # placeholders: {nick} - nick of kicked player | {ip} - ip address of kicked player
  BLACKLISTED:
    - '&7[&6BLACKLIST&7]'
    - ''
    - '&cOh no! It appears that we blacklisted your ip on our server.'
    - ''
    - '&7If have no idea why are you blacklisted you can contact us:'
    - '&fdiscord.example.com'

# amount after how many different ip address connections from same nick should be staff notified (without getting kicked from the server)
# default: 10
# set to -1 if you want to disable this feature
DANGEROUS-NICK-AFTER: 10

# amount after how many different players with same ip address should be staff notified (without getting kicked)
# default: 10
# set to -1 if you want to disable this feature
DANGEROUS-IP-AFTER: 10

# after how many minutes should be ip address removed from cache (in minutes)
# default: 5
# set to -1 if you want to disable caching
CACHE-EXPIRE: 5

# staff notifications
ANNOUNCE:
  VPN:
    # this permission is for staff members who should see this notification
    # default: vpn.notify
    PERMISSION: 'vpn.notify'
    # placeholders: {player} - player who tried to join | {ip} - his current ip address | {date} - current date | {time} - current time
    MESSAGE:
      - '&7[&6VPN DETECTOR&7]'
      - '&4Player {player} tried to join using VPN.'
      - '&4Ip: {ip}'
      - '&4Date and time: {date} {time}'
  BLACKLISTED:
    # this permission is for staff members who should see this notification
    # default: blacklist.notify
    PERMISSION: 'blacklist.notify'
    # placeholders: {player} - player who tried to join | {ip} - his ip address | {date} - current date | {time} - current time
    MESSAGE:
      - '&7[&6BLACKLIST&7]'
      - '&4Pl
ayer {player} tried to join but his is blacklisted.'
      - '&4Ip: {ip}'
      - '&4Date and time: {date} {time}'
  SUSPICIOUS-PLAYER:
    # this permission is for staff members who should see this notification
    # default: dangerous.notify.player
    PERMISSION: 'dangerous.notify.player'
    # placeholders: {player} - player who joined | {amount} - amount of ip addresses he used to join in last 14 days | {ip} - his current ip address | {date} - current date | {time} - current time
    MESSAGE:
      - '&7[&6SUSPICIOUS PLAYER&7]'
      - '&4Player {player} joined using {amount} different ip addresses in last 14 days.'
      - '&4Current ip: {ip}'
      - '&4Date and time: {date} {time}'
  SUSPICIOUS-IP:
    # this permission is for staff members who should see this notification
    # default: dangerous.notify.ip
    PERMISSION: 'dangerous.notify.ip'
    # placeholders: {player} - player who joined | {amount} - amount of accounts that joined with same ip address in last 14 days | {date} - current date | {time} - current time | {ip} - current ip address
    MESSAGE:
      - '&7[&6SUSPICIOUS IP&7]'
      - '&4Player {player} joined with same ip as {amount} more players in last 14 days.'
      - '&4Ip: {ip}'
      - '&4Date and time: {date} {time}'

COMMAND-MESSAGES:
  HELP:
    - '&aAvailable commands:'
    - '&f/vpn wl <ip> &7- add ip to whitelist'
    - '&f/vpn bl <ip> &7- add ip to blacklist'
    - '&f/vpn info <ip> &7- information about ip address'
    - '&f/vpn info <player> &7- information about player'
  INFO-ERROR:
    - '&4An error occured while obtaining data from database.'
  INFO:
    # placeholders: {data} - entered ip address or nickname
    HEADER: 
      - '&aInformation about {data}'
    # placeholders: {amount} - amount of joins in last 14 days | {player} - name of last player that connected with given ip address | {date} - date of last login | {time} - time of last login | {type} - type of ip address (VPN/CLEAN/BLACKLISTED)
    BODY-IP:
      - '&aUsed by {amount} players in last 14 days'
      - '&aLast player with this ip: {player}'
      - '&aDate and time of last login: {date} {time}'
      - '&aIp address type: {type}'
    # placeholders: {amount} - amount of joins in last 14 days | {ip} - last used ip address by given player | {date} - date of last login | {time} - time of last login
    BODY-PLAYER:
      - '&aUsed {amount} ip addresses in last 14 days'
      - '&aLast used ip address: {ip}'
      - '&aDate and time of last login: {date} {time}'
    FOOTER:
      - '&7&l&m------------------------------'
  WRONG-DATA:
     - '&cEntered value is not a valid nickname or ip!'
     - '&cPlease enter valid nickname(2-16 characters) or valid ip (<0-255>.<0-255>.<0-255>.<0-255>)'
      - '&eExample: &cJesusChrist69'
      - '&eExample 2: &c123.231.132.213'
   NO-PERM:
     - '&cSorry, but you do not have permission to use that command!'
   # placeholders: {ip} - ip that was added on whitelist
   IP-WL:
     - '&aIp {ip} successfully added to whitelist'
   # placeholders: {ip} - ip that is already on whitelist
   IP-ALREADY-WL:
     - '&eIp {ip} is already on whitelist'
   # placeholders: {ip} - ip that was blacklisted
   IP-BL:
     - '&aIp {ip} successfully added to blacklist'
   # placeholders: {ip} - ip that is already on blacklist
   IP-ALREADY-BL:
     - '&eIp {ip} is already on blacklist'
* all my projects are custom made plugins, if you want to buy any of them please contact me on my instagram: @david.malich2 or discord: .Davidko.#8640
​​​​​​​
AntiVPN
Published:

Owner

AntiVPN

Published:

Creative Fields