Advertisement
boryso15

Config MaxBans

Apr 17th, 2016
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.68 KB | None | 0 0
  1. version: 2.0
  2.  
  3. lockdown: false
  4. lockdown-reason: ""
  5.  
  6. auto-dupeip: false
  7.  
  8. history-expirey-minutes: 10080 #1 week.
  9.  
  10. #Warnings config section
  11. warnings:
  12. #How long should warnings take to 'expire'?
  13. #Set to 0 for never (...Honestly, I believe you should forgive them after a month at most...)
  14. expirey-in-minutes: 4320
  15. # This section looks scary, but really isn't... If you're scared,
  16. # Just read the actual stuff and skip the comments unless you want to do some tricky things.
  17.  
  18. #What actions should we take when a player receives a warning?
  19. #Format is like:
  20. #<number of warnings>: 'commands to execute;seperated by semicolons'
  21. #Examples:
  22. #actions:
  23. # 1: 'msg {name} You have been warned!'
  24. # 2: 'strike {name};msg {name} You have angered Zeus!'
  25. # 3: 'tempban {name} 1 hour Reached Max Warnings. Reasons:\n{reasons}\nBy: {banner}'
  26. #Variables allowed:
  27. #{name} the name of the player
  28. #{ip} the last known IP of the player
  29. #{reason} the last reason the player was warned
  30. #{reasons} all the reasons (seperated by new lines) for this punishment. Example:
  31. #Reason1: "Griefing"
  32. #Reason2: "Spamming"
  33. #Reason3: "Begging for items"
  34. #Now, if I did
  35. #3: 'tempban {name} 1 hour Reached Max Warnings:\n{reasons}'
  36. #it would disconnect the user with this message:
  37. #-------------------------------------
  38. #You have been Temporarily Banned for:
  39. #'Reached Max Warnings:
  40. #Griefing
  41. #Spamming
  42. #Begging for items'
  43. #By Console. Expires in 1 hour
  44. #-------------------------------------
  45. #If the command starts with a /, then the banner will execute the command
  46. #Otherwise, the command will be executed by CONSOLE.
  47. #You might want to use -s in these commands (To stop them broadcasting messages to players)
  48. actions:
  49. 2: '/kick {name} Final Warning: \n{reason}'
  50. 3: '/tempban {name} 1 hour Reached Max Warnings:\n{reasons}'
  51. #After receiving this many warnings, they will be all deleted.
  52. #If 'actions' has an action for a number higher than this, then the action will never be
  53. #done... Because this resets it to 0
  54. #If you set this to <= 0, then it will be ignored, and warnings will never reset.
  55. max: 3
  56.  
  57. update:
  58. #Update types:
  59. #Default: Perform update checks and automatically download and install the latest version from DevBukkit
  60. #No_Version_Check: Download and install the latest version, regardless of the currently installed version
  61. #No_Download: Checks for an update, but will not automatically download the latest version
  62. #None: Does not check for updates.
  63. type: NO_DOWNLOAD
  64.  
  65. #Accepts colorcodes. (v1.2)
  66. default-reason: "Musiales Zrobic Cos Zlego"
  67. #Appeal-message accepts color codes, like &a and &4... Set it to "" to disable this. Accepts new line characters, just add \n where you want a new line.
  68. appeal-message: "No appeal website set :("
  69.  
  70. #The two char colors used that STAFF will see.
  71. #Usually, primary = text, and secondary = variables (Like ban reason)
  72. #0-9,a-f are valid. Also any Bukkit ChatColor is valid (Eg RED, AQUA, DARK_GRAY)
  73. color:
  74. primary: f
  75. secondary: a
  76.  
  77.  
  78. #This applies to kick, ban, and anything else.
  79. kick-colors:
  80. #0-9,a-f are valid. Also any Bukkit ChatColor is valid (Eg RED, AQUA, DARK_GRAY)
  81. reason: f #"Misconduct"
  82. regular: f #"By"
  83. banner: f #"Netherfoam"
  84. time: f #4 hours 59 minutes remaining.
  85.  
  86.  
  87. #Some plugins will register their commands before we do (Eg other ban/kick plugins).
  88. #This option allows users to try and force MaxBans to take those already-taken commands.
  89. override-commands: true
  90.  
  91. chat-commands:
  92. - me
  93. - say
  94.  
  95. #Should we notify players with maxbans.notify whenever a banned player tries (fails) to join?
  96. notify: true
  97. #Should we verify names have the letters (A-Z,a-z,0-9 and _) only and are valid?
  98. filter-names: true
  99.  
  100. #Should we use the DNS blacklist?
  101. dnsbl:
  102. #Should we use this? Setting it to false disables DNSBL entirely.
  103. use: true
  104. #The DNSBL servers we should use to look up. More servers = Slower results.
  105. #Each server takes approx 4 seconds to respond. Use http://dnsbl.info to find
  106. #More servers, if you like.
  107. #DNSBL results are cached for 1 week, then expire (Are deleted).
  108. #This is how MaxBans checks for proxied IPs
  109. # 1. Have we looked the IP up on DNSBL before, and has it not expired? If so go to 3
  110. # 2. Start IP lookup, this takes a few seconds...
  111. # 3. If the IP is not a proxy, stop checking, they're allowed, do not proceed to step 4.
  112. # 4. Take appropriate action (Kick, notify) if any.
  113. servers:
  114. - bl.spamcop.net
  115. - sbl.spamhaus.org
  116. #Should we notify players with maxbans.notify when a player is joining with a proxy IP?
  117. notify: true
  118. #Should we kick players who are discovered to have proxy IPs?
  119. kick: false
  120.  
  121. bungee: false
  122. # Sync is an advanced feature of MaxBans.
  123. # It only applies to server owners who want to BAN/etc Players using a WEBPAGE, such as PHP Script
  124. # Or owners who want two servers to have the SAME banlist!
  125. # This option is in BETA! I take no responsibility if it breaks, though I will endeaver to fix it.
  126. sync:
  127. #Should we use Sync? Setting this to false disables it entirely :)
  128. use: false
  129. #Is this server the Sync server? Otherwise it's a client.
  130. server: false
  131. #The host of the Sync server, if this is a client.
  132. host: 127.0.0.1
  133. #The port of the Sync server.
  134. port: 2711
  135. #The password required to join.
  136. pass: ChangeMeNow
  137. debug: false
  138.  
  139. database:
  140. mysql: false
  141. user: root
  142. pass: passwd
  143. host: localhost
  144. port: 3306
  145. name: maxbans
  146. read-only: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement