Advertisement
Guest User

Untitled

a guest
Apr 26th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.98 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. #Should we check that we're running the latest version of MaxBans?
  58. #This does NOT update it for you, it just notifies you in the console when
  59. #the server boots up if there is a new version available.
  60. #Not working in v1.9 & v2.0.
  61. update-check: true
  62.  
  63. #Accepts colorcodes. (v1.2)
  64. default-reason: "Misconduct"
  65. #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.
  66. appeal-message: "No appeal website set :("
  67.  
  68. #The two char colors used that STAFF will see.
  69. #Usually, primary = text, and secondary = variables (Like ban reason)
  70. #0-9,a-f are valid. Also any Bukkit ChatColor is valid (Eg RED, AQUA, DARK_GRAY)
  71. color:
  72. primary: f
  73. secondary: a
  74.  
  75. #Maximum tempban time, in seconds. 604800 is a week.
  76. MaxTempbanTime: 604800
  77.  
  78.  
  79. #This applies to kick, ban, and anything else.
  80. kick-colors:
  81. #0-9,a-f are valid. Also any Bukkit ChatColor is valid (Eg RED, AQUA, DARK_GRAY)
  82. reason: f #"Misconduct"
  83. regular: f #"By"
  84. banner: f #"Netherfoam"
  85. time: f #4 hours 59 minutes remaining.
  86.  
  87.  
  88. #Some plugins will register their commands before we do (Eg other ban/kick plugins).
  89. #This option allows users to try and force MaxBans to take those already-taken commands.
  90. override-commands: true
  91.  
  92. chat-commands:
  93. - me
  94. - say
  95.  
  96. #Should we notify players with maxbans.notify whenever a banned player tries (fails) to join?
  97. notify: true
  98. #Should we verify names have the letters (A-Z,a-z,0-9 and _) only and are valid?
  99. filter-names: true
  100.  
  101. #Should we use the DNS blacklist?
  102. dnsbl:
  103. #Should we use this? Setting it to false disables DNSBL entirely.
  104. use: true
  105. #The DNSBL servers we should use to look up. More servers = Slower results.
  106. #Each server takes approx 4 seconds to respond. Use http://dnsbl.info to find
  107. #More servers, if you like.
  108. #DNSBL results are cached for 1 week, then expire (Are deleted).
  109. #This is how MaxBans checks for proxied IPs
  110. # 1. Have we looked the IP up on DNSBL before, and has it not expired? If so go to 3
  111. # 2. Start IP lookup, this takes a few seconds...
  112. # 3. If the IP is not a proxy, stop checking, they're allowed, do not proceed to step 4.
  113. # 4. Take appropriate action (Kick, notify) if any.
  114. servers:
  115. - bl.spamcop.net
  116. - sbl.spamhaus.org
  117. #Should we notify players with maxbans.notify when a player is joining with a proxy IP?
  118. notify: true
  119. #Should we kick players who are discovered to have proxy IPs?
  120. kick: false
  121.  
  122. bungee: false
  123. # Sync is an advanced feature of MaxBans.
  124. # It only applies to server owners who want to BAN/etc Players using a WEBPAGE, such as PHP Script
  125. # Or owners who want two servers to have the SAME banlist!
  126. # This option is in BETA! I take no responsibility if it breaks, though I will endeaver to fix it.
  127. sync:
  128. #Should we use Sync? Setting this to false disables it entirely :)
  129. use: false
  130. #Is this server the Sync server? Otherwise it's a client.
  131. server: false
  132. #The host of the Sync server, if this is a client.
  133. host: 127.0.0.1
  134. #The port of the Sync server.
  135. port: 2711
  136. #The password required to join.
  137. pass: ChangeMeNow
  138. debug: false
  139.  
  140. database:
  141. mysql: false
  142. user: root
  143. pass: passwd
  144. host: localhost
  145. port: 3306
  146. name: maxbans
  147. read-only: false
  148.  
  149. disconnection:
  150. you-were-kicked: "&fKicked by &a{banner}&f - Reason: \n&a'{reason}'&f"
  151. you-are-banned: "&fYou're banned!\n Reason: &a'{reason}'&f\nBy &a{banner}&f.\n{appeal-message}"
  152. you-are-ipbanned: "&fYou're IP Banned!\n Reason: &a'{reason}'&f\nBy &a{banner}&f.\n{appeal-message}"
  153. you-are-temp-banned: "&fYou're temporarily banned!\n Reason: &a'{reason}'&f\nBy &a{banner}&f.\nExpires in: {time}.\n{appeal-message}"
  154. you-are-temp-ipbanned: "&fYou're temporarily IP Banned!\n Reason: &a'{reason}'&f\nBy &a{banner}&f.\nExpires in: {time}.\n{appeal-message}"
  155.  
  156. you-are-rangebanned: "&fYour IP Address (&c{range}&f) is RangeBanned.\nReason: &a{reason}&f\nBy: &a{banner}&f.\n{appeal-message}"
  157. you-are-temp-rangebanned: "&fYour IP Address (&c{range}&f) is RangeBanned.\nThe ban expires in &a{time}&f.\nReason: &a{reason}&f\nBy: &a{banner}&f.\n{appeal-message}"
  158.  
  159. you-are-proxied: "Kicked by Maxbans:\n Your IP ({ip}) is listed as a proxy."
  160.  
  161. lockdown-active: "&fServer is in lockdown mode. Try again shortly. Reason: \n{reason}"
  162. invalid-letters: "&fKicked by MaxBans.\nYour name contains invalid characters:\n&c'{letters}'&f"
  163. invalid-name: "&fKicked by MaxBans.\nYour name is invalid!"
  164.  
  165.  
  166. announcement:
  167. player-was-kicked: "&a{name}&f was kicked by &a{banner}&f for &a'{reason}'&f."
  168. player-was-banned: "&a{banner}&f banned &a{name}&f for &a'{reason}'&f."
  169. player-was-ip-banned: "&a{banner}&f IP banned &a{name}&f ('&a{ip}&f') for &a'{reason}'&f."
  170. player-was-muted: "&a{banner}&f muted &a{name}&f for &a{reason}"
  171. player-was-tempbanned: "&a{banner}&f tempbanned &a{name}&f for {time} for &a'{reason}'&f"
  172. player-was-tempipbanned: "&a{banner}&f temp IP banned &a{name}&f ('&a{ip}&f') for {time} for &a'{reason}'&f"
  173. player-was-temp-muted: "&a{banner}&f temp muted &a{name}&for &a{reason} for &a{time}."
  174. player-was-unbanned: "&a{banner}&f unbanned &a{name}&f"
  175. player-was-unmuted: "&a{banner}&f unmuted &a{name}&f"
  176. player-was-warned: "&a{banner}&f warned &a{name}&f for &a'{reason}'&f"
  177. ip-was-unbanned: "&f&a{ip}&f has been unbanned by &a{banner}&f."
  178. player-warnings-cleared: "&a{banner}&f cleared &a{name}&f's warnings."
  179. unwarn-success: "&a{banner}&f pardoned one of &a{name}&f's warnings."
  180.  
  181. error:
  182. no-player-given: "&cNo name given."
  183. no-permission: "&cYou don't have permission to do that."
  184. no-ip-known: "&cThat player has no IP history!"
  185. no-ipban-found: "&cCould not find a ban for &a{ip}&f."
  186. no-ban-found: "&cCould not find a ban for &a{name}&f."
  187. no-mute-found: "&a{name}&c is not muted."
  188. no-dupeip-duplicates: "&fNo duplicates!"
  189. no-history: "&fNo history."
  190. no-warnings: "&a{name}&c has no warnings to their name."
  191.  
  192. unknown-player: "&cNo player found: &a{name}&f"
  193. player-already-banned: "&cThat player is already banned."
  194. ip-already-banned: "&cThat IP is already banned."
  195.  
  196.  
  197. tempban-shorter-than-last: "&cThat player has a tempban which will last longer than the one you supplied!"
  198. tempipban-shorter-than-last: "&cThat IP has a tempban which will last longer than the one you supplied!"
  199. tempmute-shorter-than-last: "&cThat player already has a mute which lasts longer than the one you tried to give."
  200.  
  201. times:
  202. hours: hour
  203. minutes: minute
  204. seconds: second
  205. weeks: week
  206. days: day
  207. years: year
  208. months: month
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement