· 6 years ago · Sep 18, 2019, 02:22 PM
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: sqlite
5# If you select MySQL, you must configure the connection
6# MySQL Configuration
7MySQL:
8 Host: localhost
9 Port: 3306
10 Database: MBanProxyVPN
11 Username: root
12 Password: password
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&6Legit? Appeal at www.insanitycraft.net'
34 - 'ban %player &cIP of Proxy/VPN detects ! \n&6Legit? Appeal at www.insanitycraft.net'
35 - 'banip %player &cIP of Proxy/VPN detects ! \n&6Legit? Appeal at www.insanitycraft.net'
36 - 'kickm %player &cIP of Proxy/VPN detects ! \n&6Legit? Appeal at www.insanitycraft.net'
37 - 'ban %ip &cIP of Proxy/VPN detects ! \n&6Legit? Appeal at www.insanitycraft.net'
38#
39#
40# ==== Coutry Checker ====
41# Allows you to manage the list of player countries on the server
42# https://countrycode.org/ Check the "ISO CODES" to add/delete countries
43CountryCheck:
44 Active: false
45 Mode: 1
46 Token: "N/A" # Go to https://ipgeolocation.io/pricing | Free plan: 50 000 requests/month
47 #There are two modes:
48 #1 => All country in the list below are allowed to connect to the server, others are prohibited
49 #2 => ALl country in the list below are NOT allowed to connect to the server, others are NOT prohibited.
50 #
51 #Default: 1
52 #You can add UNKNOW
53 CountryList:
54 - USA
55 - GB
56 - FR
57 - CA
58 - BE
59 - UNKNOW
60 ExecuteCommands:
61 - "kick %player &cYour country &7(%country)&c isn't allowed to log in !\n&bUnjustified ? &6Please go to: \n&ehttp://my-server.com/"
62#
63# ==== Anti VPN/Proxy ====
64#
65#Auto Ban proxy/VPN IP (Method 2)
66AutoBanIP: true
67ActiveAntiVPNProxy: true
68#
69HostNameBan:
70 # HotspotShield
71 - "anchorfree"
72 # IP Redator
73 - "ipredator.se"
74 # PixelFucker
75 - "pixelfucker.org"
76 # TheRemailer
77 - "theremailer.net"
78 # Tor Exit
79 - "tor-exit"
80 - "torexit"
81 - "exitpoint"
82 #RedStation
83 - "redstation"
84 #VPN Gate
85 - "opengw.net"
86 #PureVPN
87 - "pointtoserver.com"
88 #Ivacy
89 - "dns2use.com"
90 - "ivacy.net"
91 #Safervpn
92 - "safervpn.com"
93 - "safersoftware.net"
94 #VyprVpn
95 - "goldenfrog.com"
96 #NordVPN
97 - "nordvpn.com"
98#
99#IP Check Method [Method 1: Check a Proxy IP File]
100#Methods that require registration are very powerful
101Check:
102 #Method 1
103 UrlProxy: true
104 #Method 3
105 HostNameBan: true
106 #Method 4 May create slowdowns
107 Botscout: false
108 #Method 5
109 #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.
110 GetIPIntel:
111 Active: false
112 Token: "Insert your EMAIL here"
113 #Method 6
114 ForumSpam: true
115 #Method 7
116 Shroomery: true
117 #Method 8 (Free Plan: 50 req/min & 2000 req/day)
118 #You must register at https://iphub.info/ => See Pricings => In the footer, there is a link for the free plan -> API key
119 IPHub:
120 Active: false
121 Token: "Insert your KEY here"
122 #Method 9 (Free Plan: 5000 req/month)
123 #You must register at https://www.ipqualityscore.com/ => Go to your Dashboard => Proxy/VPN Detection API => Proxy/VPN Detection Dashboard => API Documentation => Private Key
124 IPQualityScore:
125 Active: true
126 Token: "fgsxYjN5F62aDvBZZ4YUj4AOz6vLLLpa"
127 #Methode 10 (Free Plan: 1000 req/day)
128 #You must register at https://proxycheck.io/pricing/ => Check your mail => API Key
129 ProxyCheckio:
130 Active: false
131 Token: "Insert your KEY here"
132 OnlyProxy: false # Check only proxy and ignore VPNs
133#
134#Info Mode - Display in the console and/or in game when an IP is detected as proxy/VPN IP
135InfosMode:
136 Console: true
137 InGame: true
138 Message:
139 Console: "[MBanProxyVPN] : %ip detect - Player %player - Method %meth"
140 InGame:
141 Message: "&6[MBanProxyVPN] : IP: &3%ip &6has been detect &4- &6The player was &3%player - Method %meth - %s seconds"
142 Permission: "proxy.receive" # Permission for receive the message, Leave empty for all players to receive the message
143#
144# ==== IP Tools ====
145# Maximum number of online players on the same IP
146# 0 = Unlimited
147SameIP:
148 MaxOnlinePlayers: 3
149 Message: "&cYou have exceeded the maximum number of player(s) connected to your IP"
150#
151#Connection Log
152LogPlayer: false
153#
154#Auto reset log file
155AutoReset:
156 Active: true
157 Lines: 500
158#
159# If you add safe/bad ips directly to the database without using the plugin, they will only be handled at the next reboot.
160# Enable this function to correct this problem
161AutoRefreshCache:
162 Active: false
163 Time: 600
164#
165#Run system commands when a player is detected as VPN/Proxy
166#Be careful, if you don't know what you're doing, it can be dangerous
167#This system allows you to use iptable to ban ips The %ip is replaced by the ip of the player
168#Leave blank to disable this feature
169SystemCmd: ""
170#
171#The debug mode sends a message every time a player connects to the console
172#[MBanProxyVPN] Debug: %ip - %player - SAFE
173#Or display BAN
174Debug: false
175#
176#
177#Config version DON'T TOUCH
178Version: 1.16