Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.33 KB | None | 0 0
  1. # ▀█████████▄ ▄██████▄ ███ ▄████████ ▄████████ ███▄▄▄▄ ███ ▄████████ ▄██ ▄
  2. # ███ ███ ███ ███ ▀█████████▄ ███ ███ ███ ███ ███▀▀▀██▄ ▀█████████▄ ███ ███ ███ ██▄
  3. # ███ ███ ███ ███ ▀███▀▀██ ███ █▀ ███ █▀ ███ ███ ▀███▀▀██ ███ ███ ███▄▄▄███
  4. # ▄███▄▄▄██▀ ███ ███ ███ ▀ ███ ▄███▄▄▄ ███ ███ ███ ▀ ▄███▄▄▄▄██▀ ▀▀▀▀▀▀███
  5. # ▀▀███▀▀▀██▄ ███ ███ ███ ▀███████████ ▀▀███▀▀▀ ███ ███ ███ ▀▀███▀▀▀▀▀ ▄██ ███
  6. # ███ ██▄ ███ ███ ███ ███ ███ █▄ ███ ███ ███ ▀███████████ ███ ███
  7. # ███ ███ ███ ███ ███ ▄█ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
  8. # ▄█████████▀ ▀██████▀ ▄████▀ ▄████████▀ ██████████ ▀█ █▀ ▄████▀ ███ ███ ▀█████▀
  9. # ███ ███
  10. # ___ _________________ ___ ___ ________ ____ __ _____
  11. # / _ \/ _/ __/ ___/ __ \/ _ \/ _ \ / ___/ _ \/ __ \/ / / / _ \
  12. # / // // /_\ \/ /__/ /_/ / , _/ // / / (_ / , _/ /_/ / /_/ / ___/
  13. # /____/___/___/\___/\____/_/|_/____/ \___/_/|_|\____/\____/_/
  14. #
  15. # Join to receive SUPPORT.
  16. # https://discord.gg/uxRTwDa
  17. #
  18.  
  19. #-♛-»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»-♛-#
  20. # __ __ _ _ ___ _____ ___ ___ _ _ ___ ___ ___ _ _ ___ _ _____ ___ #
  21. # | \/ | | | / __|_ _| / __/ _ \| \| | __|_ _/ __| | | | _ \ /_\_ _| __| #
  22. # | |\/| | |_| \__ \ | | | (_| (_) | .` | _| | | (_ | |_| | / / _ \| | | _| #
  23. # |_| |_|\___/|___/ |_| \___\___/|_|\_|_| |___\___|\___/|_|_\/_/ \_\_| |___| #
  24. # #
  25. # You must configurate this part of the "config.yml"! #
  26. # #
  27. #-♛-«««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««-♛-#
  28.  
  29. # The name of your server(s) where players do /login and /register commands.
  30.  
  31. # Possible question: Where can I find the name of those servers?
  32. # Answer: https://i.imgur.com/Q1rjmJy.png
  33.  
  34. auth-servers:
  35. - "AuthServerName1" # You must change this line to your auth server name.
  36. - "AuthServerName2" # Remove this line if you only have 1 auth server.
  37. - "AuthServerName3" # Remoev this line if not needed. You can add more auth servers.
  38.  
  39.  
  40. #-♛-»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»-♛-#
  41. # ___ ___ _ _ ___ ___ ___ _ _ ___ _ ___ _ ___ #
  42. # / __/ _ \| \| | __|_ _/ __| | | | _ \ /_\ | _ ) | | __| #
  43. # | (_| (_) | .` | _| | | (_ | |_| | / / _ \| _ \ |__| _| #
  44. # \___\___/|_|\_|_| |___\___|\___/|_|_\/_/ \_\___/____|___| #
  45. # #
  46. # You can configurate this values, but, BE CAREFUL! #
  47. # Make sure that you understand what you are changing! #
  48. # #
  49. #-♛-«««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««-♛-#
  50.  
  51. # Should sending metrics be enabled?
  52. metrics: true
  53.  
  54. # Should the console be filtered after enabling anti bot protection?
  55. # This option works only if there is no QuietCord plugin installed on the server.
  56. filter-console: true
  57.  
  58. # How many milliseconds players need to wait before joining after the anti bot protection is enabled and if they are not whitelisted.
  59. join:
  60. delay: 5000
  61.  
  62. # Blacklisting settings
  63. blacklisting:
  64. # Blacklisting mode ("FILE" or "BOTH")
  65. # FILE - blacklisted ip will be saved to a special file
  66. # BOTH - blacklisted ip will be saved to a special file and a system command will be run (e.g. to firewall it)
  67. #
  68. # P.S: If you decided to use "BOTH" blacklisting mode, your server needs to be run using root
  69. mode: BOTH
  70. # Blacklist command.
  71. # If you are using Windows (instead of Unix-like system), replace the command with that one:
  72. # "cmd /c netsh advfirewall firewall add rule name=blacklist dir=in interface=any protocol=TPC localport=25565 action=block remoteip={ip}/32"
  73. add-command: "ipset -! -A blacklist {ip}"
  74. # Un blacklist command.
  75. # If you are using Windows (instead of Unix-like system), replace the command with that one:
  76. # "cmd /c netsh firewall delete rule name=blacklist remoteip={ip}/32"
  77. remove-command: "ipset -! -D blacklist {ip}"
  78. # System commands
  79. system-commands:
  80. # Command that will be executed to install the ipset package
  81. # Depending on your Linux distribution the install command might vary
  82. # These are some of the commands to install ipset using different package-management utilities:
  83. # "apt --yes install ipset" - APT (e.g. Debian, Ubuntu)
  84. # "yum -y install ipset" - YUM (e.g. CentOS, older versions of Fedora)
  85. # "dnf -assumeyes install ipset" - DNF (e.g. newer versions of Fedora)
  86. ipset-install: "apt-get --yes install ipset"
  87. # Command that will be executed to configurate the ipset
  88. ipset-configurate: "ipset create -! blacklist hash:ip hashsize 4096"
  89. # Command taht will be executed to configurate the iptables
  90. iptables-configurate: "iptables -I INPUT -p tcp --dport 25565:25600 -m set --match-set blacklist src -j DROP"
  91.  
  92. # Anti bot protection enabling conditions
  93. attack:
  94. # How many successful connections needs to be performed in how many milliseconds to trigger anti bot protection
  95. fast:
  96. amount: 15
  97. time: 500
  98. # How many pings needs to be done in how many milliseconds to trigger anti bot protection
  99. fast-ping:
  100. amount: 25
  101. time: 500
  102. # Only for dev! (don't touch!)
  103. slow:
  104. enabled: false
  105. players: 7
  106. time: 35000
  107.  
  108. # How much time (in milliseconds) a player needs to spend on the server in order to get whitelisted?
  109. whitelist:
  110. play-time: 120000
  111.  
  112. # Configuration related to the anti bot protection mode.
  113. protection:
  114. # How much time (in milliseconds) will be the anti bot protection mode on?
  115. enabled-time: 60000
  116.  
  117. # How many players with the same ip address can be playing at the same time?
  118. connected:
  119. players: 10
  120.  
  121. # Auto blacklist dropping settings
  122. blacklist-dropping:
  123. # If the blacklist dropping should be enabled.
  124. enabled: true
  125. # Dropping mode ("TIME" or "AFTER_ATTACK")
  126. # time - blacklist will be dropped every 'time' value minutes
  127. # after_attack - blacklist will be dropped after the attack
  128. mode: TIME
  129. # Time what is repeated dropping blacklist (in minutes)
  130. time: 120
  131.  
  132. # Auto logs dropping settings.
  133. logs-dropping:
  134. # If the logs dropping should be enabled
  135. enabled: true
  136. # Dropping mode ("TIME" or "AFTER_ATTACK")
  137. # time - logs will be dropped every 'time' value minutes
  138. # after_attack - logs will be dropped after the attack
  139. mode: TIME
  140. # Time what is repeated dropping logs (in minutes)
  141. time: 120
  142.  
  143. # How many pings in how many seconds an IP address has to make in order to get blacklisted.
  144. # This works only if the anti bot protection is enabled.
  145. # Format: "<pings>/<seconds>".
  146. ping-limits:
  147. - "10/1"
  148. - "15/2"
  149. - "20/3"
  150. - "25/5"
  151. - "30/7"
  152. - "35/10"
  153. - "40/15"
  154. - "45/20"
  155. - "50/30"
  156.  
  157. # Anti bot MOTD settings.
  158. anti-bot-motd:
  159. # Should the anti bot MOTD be enabled?
  160. enabled: true
  161. # A MOTD that will be shown to players that
  162. # didn't complete the ping check yet.
  163. pings-needed: "&f&l Your Server &7- &b&l Anti Bot Protection\n&f Refresh the server list &a{amount} &fmore time(s)"
  164. # A MOTD that will be shown to players that
  165. # completed the ping check and can join the server.
  166. pings-completed: "&f&l Your Server &7- &b&l Anti Bot Protection\n&f Now you can join the server &awithout &frefreshing"
  167.  
  168. #-♛-»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»-♛-#
  169. # ___ _ _ _ __ __ ___ ___ ___ _____ _ _ ___ ___ _____ __ #
  170. # / _ \| \| | |\ \ / / | __/ _ \| _ \ |_ _| || | __| | \| __\ \ / / #
  171. # | (_) | .` | |_\ V / | _| (_) | / | | | __ | _| | |) | _| \ V / #
  172. # \___/|_|\_|____|_| |_| \___/|_|_\ |_| |_||_|___| |___/|___| \_/ #
  173. # #
  174. # Don't touch any of these values! #
  175. # All these things are only understood by the developer! #
  176. # #
  177. #-♛-«««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««-♛-#
  178.  
  179. # Same player check settings.
  180. same-player:
  181. # Should the check be enabled?
  182. enabled: true
  183.  
  184. # Strange player check settings.
  185. strange-player:
  186. # Should the check be enabled?
  187. enabled: true
  188. # Only for dev! (don't touch!)
  189. amount: 3
  190.  
  191. # Connection settings.
  192. connection:
  193. # Connection spoof check settings.
  194. spoof:
  195. # Should the check be enabled?
  196. enabled: true
  197. # Time after the player is checked for connection spoof (delay triggers after they join).
  198. # Time is in milliseconds.
  199. time: 3500
  200. # Amount of players that have to be detected to be connection spoofing to enable anti bot protection.
  201. amount: 5
  202. # Players with higher ping then the set below won't be checked for the connection spoof.
  203. maximum-ping: 400
  204. # Only for dev! (don't touch!)
  205. fast:
  206. amount: 4
  207. time: 1000
  208.  
  209. # Only for dev! (don't touch!)
  210. ping-check:
  211. # Only for dev! (don't touch!)
  212. ask-range: "4-7"
  213.  
  214. # Only for dev! (don't touch!)
  215. player:
  216. enabled: true
  217. amount: 5
  218. time: 60000
  219.  
  220. # Only for dev! (don't touch!)
  221. chain2:
  222. enabled: true
  223.  
  224. # ▄████████ ███▄▄▄▄ ████████▄
  225. # ███ ███ ███▀▀▀██▄ ███ ▀███
  226. # ███ █▀ ███ ███ ███ ███
  227. # ▄███▄▄▄ ███ ███ ███ ███
  228. # ▀▀███▀▀▀ ███ ███ ███ ███
  229. # ███ █▄ ███ ███ ███ ███
  230. # ███ ███ ███ ███ ███ ▄███
  231. # ██████████ ▀█ █▀ ████████▀
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement