· 6 years ago · Feb 05, 2020, 10:20 AM
1# MBanProxyVPN By Maner_
2#
3# Storage System: sqlite (Local Database system) OR mysql (Remote Database system) | If you don't know, leave sqlite
4Storage: mysql
5# If you select MySQL, you must configure the connection
6# MySQL Configuration
7MySQL:
8 Host: localhost
9 Port: 3306
10 Database: antivpn
11 Username: antivpn
12 Password: Mon MDP
13#
14# Server security - If you have bot attacks, and your server is saturated, the plugin can be disabled temporarily to avoid spam web requests.
15# - On a spigot server, the plugin will be disabled when server whitelist is enabled
16Security:
17 Whitelist: false
18#
19# ==== Execute Commands VPN/Proxy ===
20# Commands executed when a VPN/Proxy is detected on a player
21# Set ExecuteCommands: [] for disable this function
22#
23# /!\ DONT INSERT THE '/' OF THE COMMAND ! /!\
24#
25#Variable:
26# %player : Player's name | %uuid : Player's UUID | %ip : Player's IP
27#
28# =========================================================
29# For kick on BungeeCord, please used kickm %player reason
30# =========================================================
31#
32ExecuteCommands:
33 - 'kick %player &cIP of Proxy/VPN detects ! \n&6Abusive? Make a post on the forum'
34#
35#
36# ==== Coutry Checker ====
37# Allows you to manage the list of player countries on the server
38# https://countrycode.org/ Check the "ISO CODES" to add/delete countries
39CountryCheck:
40 Active: true
41 Mode: 1
42 Token: "Ma clef ici" # Go to https://ipgeolocation.io/pricing | Free plan: 50 000 requests/month
43 #There are two modes:
44 #1 => All country in the list below are allowed to connect to the server, others are prohibited
45 #2 => ALl country in the list below are NOT allowed to connect to the server, others are NOT prohibited.
46 #
47 #Default: 1
48 #You can add UNKNOW
49 CountryList:
50 - FR
51 - CA
52 - BE
53 - CH
54 - TR
55 ExecuteCommands:
56 - "kick %player &cKick &7(%country)&c isn't allowed to log in !\n&bUnjustified ? &6Please go to: \n&ehttps://discord.gg/5BGCMbQ"
57#
58# ==== Anti VPN/Proxy ====
59#
60#Auto Ban proxy/VPN IP (Method 2)
61AutoBanIP: false
62ActiveAntiVPNProxy: false
63#
64HostNameBan:
65 # HotspotShield
66 - "anchorfree"
67 # IP Redator
68 - "ipredator.se"
69 # PixelFucker
70 - "pixelfucker.org"
71 # TheRemailer
72 - "theremailer.net"
73 # Tor Exit
74 - "tor-exit"
75 - "torexit"
76 - "exitpoint"
77 #RedStation
78 - "redstation"
79 #VPN Gate
80 - "opengw.net"
81 #PureVPN
82 - "pointtoserver.com"
83 #Ivacy
84 - "dns2use.com"
85 - "ivacy.net"
86 #Safervpn
87 - "safervpn.com"
88 - "safersoftware.net"
89 #VyprVpn
90 - "goldenfrog.com"
91 #NordVPN
92 - "nordvpn.com"
93#
94#IP Check Method [Method 1: Check a Proxy IP File]
95#Methods that require registration are very powerful
96Check:
97 #Method 1
98 UrlProxy: true
99 #Method 3
100 HostNameBan: true
101 #Method 4 May create slowdowns
102 Botscout: false
103 #Method 5
104 #You need give an email. Don't insert a junk email or your ip will be banned. If this is the case, contact the site support.
105 GetIPIntel:
106 Active: false
107 Token: "Insert your EMAIL here"
108 SubDNS: "check" #Allows to change the sub dns of the request (Allows the use of the paid API)
109 #Method 6
110 ForumSpam: false
111 #Method 7
112 Shroomery: false
113 #Method 8 (Free Plan: 50 req/min & 2000 req/day)
114 #You must register at https://iphub.info/ => See Pricings => In the footer, there is a link for the free plan -> API key
115 IPHub:
116 Active: false
117 Token: "Insert your KEY here"
118 #Method 9 (Free Plan: 5000 req/month)
119 #You must register at https://www.ipqualityscore.com/ => Go to your Dashboard => Proxy/VPN Detection API => Proxy/VPN Detection Dashboard => API Documentation => Private Key
120 IPQualityScore:
121 Active: false
122 Token: "Insert your here"
123 #Methode 10 (Free Plan: 1000 req/day)
124 #You must register at https://proxycheck.io/pricing/ => Check your mail => API Key
125 ProxyCheckio:
126 Active: false
127 Token: "Insert your KEY here"
128 OnlyProxy: false # Check only proxy and ignore VPNs
129#
130#Info Mode - Display in the console and/or in game when an IP is detected as proxy/VPN IP
131InfosMode:
132 Console: true
133 InGame: true
134 Message:
135 Console: "[ProxyVPN] : %ip detect - Player %player - Method %meth"
136 InGame:
137 Message: "&6[ProxyVPN] : IP: &3%ip &6has been detect &4- &6The player was &3%player - Method %meth - %s seconds"
138 Permission: "notif.vpn" # Permission for receive the message, Leave empty for all players to receive the message
139#
140# ==== IP Tools ====
141# Maximum number of online players on the same IP
142# 0 = Unlimited
143SameIP:
144 MaxOnlinePlayers: 2
145 Message: "&cVous avez dépassé le nombre maximum de joueurs connectés à votre IP"
146#
147#Connection Log
148LogPlayer: true
149#
150#Auto reset log file
151AutoReset:
152 Active: true
153 Lines: 500
154#
155# If you add safe/bad ips directly to the database without using the plugin, they will only be handled at the next reboot.
156# Enable this function to correct this problem
157AutoRefreshCache:
158 Active: false
159 Time: 600
160#
161#Run system commands when a player is detected as VPN/Proxy
162#Be careful, if you don't know what you're doing, it can be dangerous
163#This system allows you to use iptable to ban ips The %ip is replaced by the ip of the player
164#Leave blank to disable this feature
165SystemCmd: ""
166#
167#The debug mode sends a message every time a player connects to the console
168#[MBanProxyVPN] Debug: %ip - %player - SAFE
169#Or display BAN
170Debug: true
171#
172#Config version DON'T TOUCH
173Version: 1.17