Advertisement
Guest User

AdvancedBan Config

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