Guest User

AB - config.yml

a guest
Jul 23rd, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.61 KB | None | 0 0
  1. # AdvancedBan v2 - Coded by Leoko
  2. # For each setting there is a small description
  3. # please read it carefully befor changing anything
  4. # For more information visit: http://AdvacnedBan.Skamps.eu
  5. # Or our Spigot page: https://www.spigotmc.org/resources/advancedban.8695/
  6.  
  7. # If set to false all bans will be saved locally in the data.yml
  8. UseMySQL: false
  9.  
  10. # Set to false if you want to have only short messages in the console
  11. # on startup and on the shutdown.
  12. DetailedEnableMessage: true
  13. DetailedDisableMessage: true
  14.  
  15. # Chenge this if your server has a diffrent time that your users.
  16. # eg.: ServerTime: 16:43 | Your Time: 13:43 | TimeDiff has to be set to -3
  17. # You can check the server time with /systemPerfs
  18. TimeDiff: 0
  19.  
  20. # This commands will be disabled for muted players
  21. # A player woun't be able to bypass with eg "/minectaft:me"
  22. MuteCommands:
  23. - 'me'
  24. - 'say'
  25.  
  26. # The date-format which will be used for the %DATE% variable
  27. DateFormat: "dd.MM.yyyy-HH:mm"
  28.  
  29. # If you use extern REST-APIs they will have to respons in JSON
  30. # The given APIs will only be used for NAME -> UUID
  31. # For UUID -> NAME will either the official MojangAPI or the InternFetcher be used!
  32. # To check if you can use the intern fetcher do /systemPerfs and compare your uuid
  33. #   to the one you can see online on http://NamesMC.com
  34. #   if they are simelar we recommend using the InternFetcher
  35. UUID-Fetcher:
  36.  # Disable for cracked servers
  37.   Enabled: true
  38.   Intern: false
  39.   REST-API:
  40.     URL: "https://api.mojang.com/users/profiles/minecraft/%NAME%?at=%TIMESTAMP%"
  41.     Key: "id"
  42.   BackUp-API:
  43.     URL: "https://us.mc-api.net/v3/uuid/%NAME%"
  44.     Key: "uuid"
  45.  
  46. # This are the commands that will be performed on warns
  47. # If you skip a number the command from befor will be performed
  48. # You can also use not-AdvancedBan-Commands like 'braodcast' or 'clear %PLAYER%'
  49. # Variables: %PLAYER%, %REASON%, %COUNT%
  50. WarnActions:
  51.   3: "kick %PLAYER% &c&oYou resived the 3th warning!"
  52.   4: "tempban %PLAYER% 30m &c&oYou resived the 4th warning!"
  53.   5: "tempban %PLAYER% 5h &c&oYou resived the 5th warning!"
  54.   6: "tempban %PLAYER% 7d &c&oYou resived the 6th warning!"
  55.   7: "tempban %PLAYER% 1mo &c&oYou resived the %COUNT%th warning!"
  56.   10: "ban %PLAYER% &c&oYou resived the 10th warning!"
  57.  
  58. # Here you can create permission-nodes for max-punishment-duration.
  59. # The permission "ab.tempban.dur.1" would allow the player to ban max. for 600sec = 10min
  60. # The permission "ab.tempwarn.dur.2" would allow the player to warn max. for 3600sec = 1h
  61. # You can only create up to 10 perms. The perms can be overridden with "ab.COMMAND.dur.max"
  62. TempPerms:
  63.   1: 600
  64.   2: 3600
  65.   3: 43200
Add Comment
Please, Sign In to add comment