daily pastebin goal
10%
SHARE
TWEET

MaxBans Conf (Redone)

xTwee Sep 25th, 2016 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Just read the actual stuff and skip the comments unless you want to do some tricky things.
  2.    
  3.     #What actions should we take when a player receives a warning?
  4.     #Format is like:
  5.     #<number of warnings>: 'commands to execute;seperated by semicolons'
  6.     #Examples:
  7.     actions:
  8.        1: 'msg {name} You have been warned!'
  9.        2: 'msg {name} You have been Jailed and Warned!;jail {name} 5'
  10.        3: 'msg {name} You have been warned!'
  11.        4: 'msg {name} You have been Jailed and Warned!;jail {name} 10'
  12.        5: 'msg {name} You have been warned!'
  13.        6: 'msg {name} You have been Jailed and Warned!;jail {name} 15'
  14.        7: 'msg {name} You have been warned!'
  15.        8: 'msg {name} You have been Jailed and Warned!;jail {name} 20'
  16.        9: 'msg {name} You have been warned!'
  17.        10: 'msg {name} You have been Jailed and Warned!;jail {name} 25'
  18.        11: 'msg {name} You have been warned!'
  19.        12: 'msg {name} You have been Jailed and Warned!;jail {name} 30'
  20.        13: 'msg {name} You have been warned!'
  21.        14: 'msg {name} You have been Jailed and Warned!;jail {name} 35'
  22.        15: 'msg {name} You have been warned!'
  23.        16: 'msg {name} You have been Jailed and Warned!;jail {name} 40'
  24.        17: 'msg {name} You have been warned!'
  25.        18: 'msg {name} You have been Jailed and Warned!;jail {name} 45'
  26.        19: 'msg {name} You have been warned!'
  27.        20: 'msg {name} You have been Jailed and Warned!;jail {name} 50'
  28.     #Variables allowed:
  29.     #{name} the name of the player
  30.     #{ip} the last known IP of the player
  31.     #{reason} the last reason the player was warned
  32.     #{reasons} all the reasons (seperated by new lines) for this punishment. Example:
  33.     #Reason1: "Griefing"
  34.     #Reason2: "Spamming"
  35.     #Reason3: "Begging for items"
  36.     #Now, if I did
  37.     #3: 'tempban {name} 1 hour Reached Max Warnings:\n{reasons}'
  38.     #it would disconnect the user with this message:
  39.     #-------------------------------------
  40.     #You have been Temporarily Banned for:
  41.     #'Reached Max Warnings:
  42.     #Griefing
  43.     #Spamming
  44.     #Begging for items'
  45.     #By Console. Expires in 1 hour
  46.     #-------------------------------------
  47.     #If the command starts with a /, then the banner will execute the command
  48.     #Otherwise, the command will be executed by CONSOLE.
  49.     #You might want to use -s in these commands (To stop them broadcasting messages to players)
  50.     actions:
  51.         2: '/kick {name} Final Warning: \n{reason}'
  52.         3: '/tempban {name} 1 hour Reached Max Warnings:\n{reasons}'
  53.     #After receiving this many warnings, they will be all deleted.
  54.     #If 'actions' has an action for a number higher than this, then the action will never be
  55.     #done... Because this resets it to 0
  56.     #If you set this to <= 0, then it will be ignored, and warnings will never reset.
  57.     max: 20
  58.  
  59. #Should we check that we're running the latest version of MaxBans?
  60. #This does NOT update it for you, it just notifies you in the console when
  61. #the server boots up if there is a new version available.
  62. #Not working in v1.9 & v2.0.
  63. update-check: true
  64.  
  65. #Accepts colorcodes. (v1.2)
  66. default-reason: "Misconduct"
  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: "&bYou can appeal at http://masterofsb.enjin.com/forum"
  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. #Maximum tempban time, in seconds. 604800 is a week.
  78. MaxTempbanTime: 259200
  79.  
  80.  
  81. #This applies to kick, ban, and anything else.
  82. kick-colors:
  83.     #0-9,a-f are valid. Also any Bukkit ChatColor is valid (Eg RED, AQUA, DARK_GRAY)
  84.     reason: f #"Misconduct"
  85.     regular: f #"By"
  86.     banner: f #"Netherfoam"
  87.     time: f #4 hours 59 minutes remaining.
  88.  
  89.  
  90. #Some plugins will register their commands before we do (Eg other ban/kick plugins).
  91. #This option allows users to try and force MaxBans to take those already-taken commands.    
  92. override-commands: true
  93.  
  94. chat-commands:
  95.     - me
  96.     - say
  97.  
  98. #Should we notify players with maxbans.notify whenever a banned player tries (fails) to join?
  99. notify: true
  100. #Should we verify names have the letters (A-Z,a-z,0-9 and _) only and are valid?
  101. filter-names: true
  102.  
  103. #Should we use the DNS blacklist?
  104. dnsbl:
  105.     #Should we use this? Setting it to false disables DNSBL entirely.
  106.     use: true
  107.     #The DNSBL servers we should use to look up.  More servers = Slower results.
  108.     #Each server takes approx 4 seconds to respond.  Use http://dnsbl.info to find
  109.     #More servers, if you like.
  110.     #DNSBL results are cached for 1 week, then expire (Are deleted).
  111.     #This is how MaxBans checks for proxied IPs
  112.     # 1.  Have we looked the IP up on DNSBL before, and has it not expired? If so go to 3
  113.     # 2.  Start IP lookup, this takes a few seconds...
  114.     # 3.  If the IP is not a proxy, stop checking, they're allowed, do not proceed to step 4.
  115.     # 4.  Take appropriate action (Kick, notify) if any.
  116.     servers:
  117.     - bl.spamcop.net
  118.     - sbl.spamhaus.org
  119.     #Should we notify players with maxbans.notify when a player is joining with a proxy IP?
  120.     notify: true
  121.     #Should we kick players who are discovered to have proxy IPs?
  122.     kick: false
  123.  
  124. bungee: false
  125. # Sync is an advanced feature of MaxBans.
  126. # It only applies to server owners who want to BAN/etc Players using a WEBPAGE, such as PHP Script
  127. # Or owners who want two servers to have the SAME banlist!
  128. # This option is in BETA! I take no responsibility if it breaks, though I will endeaver to fix it.
  129. sync:
  130.     #Should we use Sync? Setting this to false disables it entirely :)
  131.     use: false
  132.     #Is this server the Sync server? Otherwise it's a client.
  133.     server: false
  134.     #The host of the Sync server, if this is a client.
  135.     host: 127.0.0.1
  136.     #The port of the Sync server.
  137.     port: 2711
  138.     #The password required to join.
  139.     pass: ChangeMeNow
  140.     debug: false
  141.  
  142. database:
  143.     mysql: false
  144.     user: root
  145.     pass: passwd
  146.     host: localhost
  147.     port: 3306
  148.     name: maxbans
  149.     read-only: false
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top