Advertisement
Guest User

Untitled

a guest
Apr 21st, 2019
25,893
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.66 KB | None | 0 0
  1. # How the plugin stores long-term data
  2. storage:
  3. # The storage method
  4. #
  5. # Options:
  6. # - MySQL (remote)
  7. # - SQLite (local)
  8. method: 'sqlite'
  9.  
  10. data:
  11. # Address and port of the remote database (if applicable)
  12. address: '127.0.0.1:3306'
  13. # The name of the database Anti-VPN will store data in
  14. # If you're using remote options, this must be created beforehand
  15. database: 'avpn'
  16. # Table prefix for all Anti-VPN tables
  17. prefix: 'antivpn_'
  18. # Database credentials (if applicable)
  19. username: ''
  20. password: ''
  21. # Whether or not to use SSL
  22. ssl: false
  23.  
  24. # MongoDB options- obviously don't need to worry about these if not using MongoDB ;)
  25. mongodb:
  26. # Connection prefix for all Anti-VPN connections
  27. collection-prefix: ''
  28. # MongoDB ClientConnectionURI
  29. connection-uri: ''
  30.  
  31. settings:
  32. # The maximum size of the database connection pool
  33. # Determines the max number of connections to the database
  34. max-pool-size: 2
  35. # The minimum size of the satabase connection pool
  36. # Determines the min number of connections kept alive to the database
  37. min-idle: 2
  38. # The maximum lifetime of a connection in the pool
  39. # Should be at least 30 seconds less than any database or infrastructure-imposed connection time limit
  40. max-lifetime: 1800000 # 30 minutes
  41. # The maximum number of milliseconds that the plugin will wait for a new connection from the pool before timing out
  42. timeout: 5000 # 5 seconds
  43.  
  44. # Extra connection properties
  45. properties:
  46. unicode: true
  47. encoding: 'utf8'
  48.  
  49. # Redis is a very fast cache accessible by multiple servers
  50. # If you don't want to constantly hit your database for queries, try enabling and configuring this
  51. # You will need to install the (external) Redis server software if you haven't already
  52. # https://redis.io/
  53. redis:
  54. enabled: false
  55. # Address and port of the remote Redis server
  56. address: '127.0.0.1:6379'
  57. # Redis credentials
  58. password: ''
  59.  
  60. # RabbitMQ is a messaging queue that will allow the plugin to push instant updates across multiple servers
  61. # You will need to install the (external) RabbitMQ server software if you haven't already
  62. # https://www.rabbitmq.com/
  63. rabbitmq:
  64. enabled: false
  65. # Address and port of the remote RabbitMQ server
  66. address: '127.0.0.1:5672'
  67. # RabbitMQ credentials
  68. username: 'guest'
  69. password: 'guest'
  70.  
  71. # Where VPN-checking sources are defined
  72. # Beware the more sources that are included (and fail) the worse the performance and the more the lag
  73. sources:
  74. # The amount of time to globally cache results across all sources
  75. # This should be as high as possible to avoid rate-limits but as low as possible to ensure results are always up-to-date and accurate
  76. cacheTime: '6hours'
  77.  
  78. # The order to try results in
  79. order:
  80. - 'iphub'
  81. - 'proxycheck'
  82. - 'getipintel'
  83. - 'ipqualityscore'
  84. - 'vpnblocker'
  85. - 'voxprox'
  86. - 'shodan'
  87.  
  88. # https://iphub.info/
  89. # Results updated Sep 6, 2018
  90. # Error rate: 0%
  91. # NordVPN detection rate: 90.48%
  92. # Cryptostorm detection rate: 90%
  93. # False-flagged homes: 20%
  94. iphub:
  95. enabled: true
  96. # API key to use (Required for this service, free one available at https://iphub.info/apiKey/newFree )
  97. key: 'NTAxMzpRNUJNR0lqWWpUSTFxemJyOUpUVXZtRDEzYWpwSXBtWg=='
  98. # The block type at which an IP is considered "bad"
  99. block: 1
  100.  
  101. # https://proxycheck.io
  102. # Results updated Sep 6, 2018
  103. # Error rate: 5%
  104. # NordVPN detection rate: 85.71%
  105. # Cryptostorm detection rate: 94.74%
  106. # False-flagged homes: 10%
  107. proxycheck:
  108. enabled: true
  109. # Optional API key to use
  110. key: ''
  111.  
  112. # https://www.getipintel.net/
  113. # Results updated Sep 6, 2018
  114. # Error rate: 5%
  115. # NordVPN detection rate: 90.48%
  116. # Cryptostorm detection rate: 100%
  117. # False-flagged homes: 40%
  118. getipintel:
  119. enabled: true
  120. # Contact e-mail in case things go wrong. Required
  121. contact: 'admin@yoursite.com'
  122. # Threshold above which an IP is considered "bad"
  123. threshold: 0.98
  124.  
  125. # https://www.ipqualityscore.com/
  126. # Results updated Sep 6, 2018
  127. # Error rate: 0%
  128. # NordVPN detection rate: 90.48%
  129. # Cryptostorm detection rate: 85%
  130. # False-flagged homes: 40%
  131. ipqualityscore:
  132. enabled: false
  133. # API key to use (Required for this service, free one available at https://www.ipqualityscore.com/create-account )
  134. key: ''
  135. # Threshold above which an IP is considered "bad"
  136. threshold: 0.65
  137.  
  138. # https://vpnblocker.net/usage
  139. # Error rate: 0%
  140. # NordVPN detection rate: 66.67%
  141. # Cryptostorm detection rate: 70%
  142. # False-flagged homes: 10%
  143. vpnblocker:
  144. enabled: true
  145. # Optional API key to use
  146. key: ''
  147.  
  148. # https://www.voxprox.com
  149. # Error rate: 0%
  150. # NordVPN detection rate: 66.67%
  151. # Cryptostorm detection rate: 70%
  152. # False-flagged homes: 40%
  153. voxprox:
  154. enabled: false
  155. # API key to use (Required for this service)
  156. key: ''
  157.  
  158. # https://www.shodan.io/
  159. # Error rate: 94.52%
  160. # NordVPN detection rate: 89.47%
  161. # Cryptostorm detection rate: 0%
  162. # False-flagged homes: 0%
  163. shodan:
  164. enabled: false
  165. # API key to use (Required for this service)
  166. key: ''
  167.  
  168. kick:
  169. # When true, will kick players found to be using VPNs
  170. # Disable this is you intend to use your own kicking/tagging systems using the API
  171. enabled: true
  172. # The message to kick VPN users with
  173. message: '&cPlease disconnect from your proxy or VPN before re-joining!'
  174.  
  175. algorithm:
  176. # The algorithm method
  177. #
  178. # Options:
  179. # - Cascade
  180. # The plugin will go down the "sources" list, sequentially, until a valid source is found
  181. # It will then query that source and return the result
  182. # This will result in essentially "the first valid result" being returned
  183. # - Consensus
  184. # The plugin will try every source in the "sources" list at once
  185. # It will then strip invalid results, and calculate the ratio of results from the remaining sources
  186. # This will result in essentially "the ratio of valid results" being returned
  187. method: 'cascade'
  188.  
  189. # Only used for "consensus" mode
  190. # The minimum ratio of APIs that must agree before a player is kicked
  191. # For example, if set to "0.6" then at least 60% of sources must agree that the IP is a VPN
  192. # The value can range from 0 to 1, and will be clipped at those values
  193. min-consensus: 0.6
  194.  
  195. # IPs to ignore when checking for VPNs
  196. ignore:
  197. - '127.0.0.1'
  198. - 'localhost'
  199. - '::1'
  200.  
  201. # The amount of time to cache lookups in-memory
  202. # Higher values require more memory
  203. # Lower values will hit Redis/SQL/APIs more frequently
  204. # Generally the default is good enough to prevent many sequential lookups from choking resources, but still keep memory usage low
  205. cacheTime: '1minute'
  206. # When true, logs some extra output to the console so you can see if/why things might be failing
  207. debug: false
  208. # The number of threads to use for web operations
  209. threads: 4
  210.  
  211. stats:
  212. # Whether or not to send anonymous usage statistics to bStats
  213. # True: Send anonymous stats; let the author know how well the plugin is doing and how it's used!
  214. # False: Do not send stats and make the author sad :(
  215. usage: true
  216. # Whether or not to send anonymous errors to the author
  217. # True: Send errors anonymously to Rollbar and/or GameAnalytics so the author can fix them!
  218. # False: Do not send errors and wonder why any bugs you encounter haven't beeen fixed
  219. errors: true
  220.  
  221. update:
  222. # Whether or not to automatically check for updates and notify the console if found
  223. check: true
  224. # Whether or not to notify players with the avpn.admin permission node
  225. notify: true
  226.  
  227. # Config version, no touchy plz
  228. version: 3.5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement