Advertisement
Guest User

MaxBans MySQL Fehlermeldungen | config.yml

a guest
Jun 18th, 2016
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.00 KB | None | 0 0
  1. version: 2.0
  2.  
  3. lockdown: false
  4. lockdown-reason: "Wartungsarbeiten"
  5.  
  6. auto-dupeip: false
  7.  
  8. history-expirey-minutes: 0 #never
  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} Du wurdest das zweite mal verwarnt! \nGrund: {reason} \nwenn
  50. du noch einmal verwarnt wirst, wirst du temporär vom Server gebannt!'
  51. '3': /tempban {name} 1 hour Du wurdest das dritte mal verwarnt.\nGrund:{reasons}
  52. #After receiving this many warnings, they will be all deleted.
  53. #If 'actions' has an action for a number higher than this, then the action will never be
  54. #done... Because this resets it to 0
  55. #If you set this to <= 0, then it will be ignored, and warnings will never reset.
  56. max: 3
  57.  
  58. #Should we check that we're running the latest version of MaxBans?
  59. #This does NOT update it for you, it just notifies you in the console when
  60. #the server boots up if there is a new version available.
  61. #Not working in v1.9 & v2.0.
  62. update-check: true
  63.  
  64. #Accepts colorcodes. (v1.2)
  65. default-reason: "Regelverstoß"
  66. #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.
  67. appeal-message: "&fDu kannst per Unterhaltung an DanNick über das Forum von GommeHD.net
  68. &6(GommeHD.net/forum)&f, das von PvP-Gym.com &6(PvP-Gym.com) &foder über eine Direktnachricht
  69. auf Twitter an &9@DanNick_MC &feinen Entbannungsantrag stellen."
  70.  
  71. #The two char colors used that STAFF will see.
  72. #Usually, primary = text, and secondary = variables (Like ban reason)
  73. #0-9,a-f are valid. Also any Bukkit ChatColor is valid (Eg RED, AQUA, DARK_GRAY)
  74. color:
  75. primary: f
  76. secondary: a
  77.  
  78. #Maximum tempban time, in seconds. 604800 is a week.
  79. MaxTempbanTime: 1461779280832
  80.  
  81.  
  82. #This applies to kick, ban, and anything else.
  83. kick-colors:
  84. #0-9,a-f are valid. Also any Bukkit ChatColor is valid (Eg RED, AQUA, DARK_GRAY)
  85. reason: f #"Misconduct"
  86. regular: f #"By"
  87. banner: f #"Netherfoam"
  88. time: f #4 hours 59 minutes remaining.
  89.  
  90.  
  91. #Some plugins will register their commands before we do (Eg other ban/kick plugins).
  92. #This option allows users to try and force MaxBans to take those already-taken commands.
  93. override-commands: true
  94.  
  95. chat-commands:
  96. - me
  97. - say
  98. - msg
  99. - mail
  100. - email
  101. - tell
  102. - m
  103. - whisper
  104. - t
  105. - r
  106. #Should we notify players with maxbans.notify whenever a banned player tries (fails) to join?
  107. notify: true
  108. #Should we verify names have the letters (A-Z,a-z,0-9 and _) only and are valid?
  109. filter-names: true
  110.  
  111. #Should we use the DNS blacklist?
  112. dnsbl:
  113. #Should we use this? Setting it to false disables DNSBL entirely.
  114. use: true
  115. #The DNSBL servers we should use to look up. More servers = Slower results.
  116. #Each server takes approx 4 seconds to respond. Use http://dnsbl.info to find
  117. #More servers, if you like.
  118. #DNSBL results are cached for 1 week, then expire (Are deleted).
  119. #This is how MaxBans checks for proxied IPs
  120. # 1. Have we looked the IP up on DNSBL before, and has it not expired? If so go to 3
  121. # 2. Start IP lookup, this takes a few seconds...
  122. # 3. If the IP is not a proxy, stop checking, they're allowed, do not proceed to step 4.
  123. # 4. Take appropriate action (Kick, notify) if any.
  124. servers:
  125. - bl.spamcop.net
  126. - sbl.spamhaus.org
  127. #Should we notify players with maxbans.notify when a player is joining with a proxy IP?
  128. notify: true
  129. #Should we kick players who are discovered to have proxy IPs?
  130. kick: false
  131.  
  132. bungee: true
  133. # Sync is an advanced feature of MaxBans.
  134. # It only applies to server owners who want to BAN/etc Players using a WEBPAGE, such as PHP Script
  135. # Or owners who want two servers to have the SAME banlist!
  136. # This option is in BETA! I take no responsibility if it breaks, though I will endeaver to fix it.
  137. sync:
  138. #Should we use Sync? Setting this to false disables it entirely :)
  139. use: false
  140. #Is this server the Sync server? Otherwise it's a client.
  141. server: true
  142. #The host of the Sync server, if this is a client.
  143. host: 127.0.0.1
  144. #The port of the Sync server.
  145. port: 2711
  146. #The password required to join.
  147. pass: ChangeMeNow
  148. debug: false
  149.  
  150. database:
  151. mysql: true
  152. user: db_35570
  153. pass: 0e0429fb19
  154. host: mysql.mc-host24.de
  155. port: '3306'
  156. name: Bans
  157. read-only: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement