Advertisement
Guest User

Untitled

a guest
Apr 10th, 2019
3,311
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.12 KB | None | 0 0
  1. # MBanProxyVPN By Maner_
  2. #
  3. # Storage System: sqlite (Local Database system) OR mysql (Remote Database system) | If you don't know, leave sqlite
  4. Storage: sqlite
  5. # If you select MySQL, you must configure the connection
  6. # MySQL Configuration
  7. MySQL:
  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
  16. Security:
  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. #
  32. ExecuteCommands:
  33. - 'kickm %player &ePlease turn off VPN \n\n&fMake a ticket at disc.datblock.com for whitelist to use VPN.'
  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
  39. CountryCheck:
  40. Active: false
  41. Mode: 1
  42. Token: "N/A" # 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. - USA
  51. - GB
  52. - FR
  53. - CA
  54. - BE
  55. - UNKNOW
  56. ExecuteCommands:
  57. - "kick %player &cYour country &7(%country)&c isn't allowed to log in !\n&bUnjustified ? &6Please go to: \n&ehttp://my-server.com/"
  58. #
  59. # ==== IP Tools ====
  60. # Maximum number of online players on the same IP
  61. # 0 = Unlimited
  62. SameIP:
  63. MaxOnlinePlayers: 10
  64. Message: "&fYou have exceeded the maximum number of players connected to your IP"
  65. #
  66. # ==== Anti VPN/Proxy ====
  67. #
  68. #Auto Ban proxy/VPN IP (Method 2)
  69. AutoBanIP: true
  70. ActiveAntiVPNProxy: true
  71. #
  72. HostNameBan:
  73. # HotspotShield
  74. - "anchorfree"
  75. # IP Redator
  76. - "ipredator.se"
  77. # PixelFucker
  78. - "pixelfucker.org"
  79. # TheRemailer
  80. - "theremailer.net"
  81. # Tor Exit
  82. - "tor-exit"
  83. - "torexit"
  84. - "exitpoint"
  85. #RedStation
  86. - "redstation"
  87. #VPN Gate
  88. - "opengw.net"
  89. #PureVPN
  90. - "pointtoserver.com"
  91. #Ivacy
  92. - "dns2use.com"
  93. - "ivacy.net"
  94. #Safervpn
  95. - "safervpn.com"
  96. - "safersoftware.net"
  97. #VyprVpn
  98. - "goldenfrog.com"
  99. #NordVPN
  100. - "nordvpn.com"
  101. #
  102. #IP Check Method [Method 1: Check a Proxy IP File]
  103. #Methods that require registration are very powerful
  104. Check:
  105. #Method 1
  106. UrlProxy: true
  107. #Method 3
  108. HostNameBan: true
  109. #Method 4 May create slowdowns
  110. Botscout: false
  111. #Method 5
  112. #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.
  113. GetIPIntel:
  114. Active: false
  115. Token: "Insert your EMAIL here"
  116. #Method 6
  117. ForumSpam: true
  118. #Method 7
  119. Shroomery: true
  120. #Method 8 (Free Plan: 50 req/min & 2000 req/day)
  121. #You must register at https://iphub.info/ => See Pricings => In the footer, there is a link for the free plan -> API key
  122. IPHub:
  123. Active: false
  124. Token: "Insert your KEY here"
  125. #Method 9 (Free Plan: 5000 req/month)
  126. #You must register at https://www.ipqualityscore.com/ => Go to your Dashboard => Proxy/VPN Detection API => Proxy/VPN Detection Dashboard => API Documentation => Private Key
  127. IPQualityScore:
  128. Active: false
  129. Token: "Insert your here"
  130. #Methode 10 (Free Plan: 1000 req/day)
  131. #You must register at https://proxycheck.io/pricing/ => Check your mail => API Key
  132. ProxyCheckio:
  133. Active: true
  134. Token: "xxxxxxxxxxxx"
  135. OnlyProxy: false # Check only proxy and ignore VPNs
  136. #
  137. #Info Mode - Display in the console and/or in game when an IP is detected as proxy/VPN IP
  138. InfosMode:
  139. Console: true
  140. InGame: false
  141. Message:
  142. Console: "[MBanProxyVPN] : %ip detect - Player %player - Method %meth"
  143. InGame:
  144. Message: "&6[MBanProxyVPN] : IP: &3%ip &6has been detect &4- &6The player was &3%player - Method %meth - %s seconds"
  145. Permission: "" # Permission for receive the message, Leave empty for all players to receive the message
  146. #
  147. #Connection Log
  148. LogPlayer: false
  149. #
  150. #Auto reset log file
  151. AutoReset:
  152. Active: true
  153. Lines: 500
  154. #
  155. #Run system commands when a player is detected as VPN/Proxy
  156. #Be careful, if you don't know what you're doing, it can be dangerous
  157. #This system allows you to use iptable to ban ips The %ip is replaced by the ip of the player
  158. #Leave blank to disable this feature
  159. SystemCmd: ""
  160. #
  161. #The debug mode sends a message every time a player connects to the console
  162. #[MBanProxyVPN] Debug: %ip - %player - SAFE
  163. #Or display BAN
  164. Debug: false
  165. #
  166. #
  167. #Config version DON'T TOUCH
  168. Version: 1.15
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement