Advertisement
lolw0tm8

konfig2 superbvote test 2

Apr 22nd, 2019
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.31 KB | None | 0 0
  1. # SuperbVote configuration
  2. # A superb vote plugin made by Tux.
  3. #
  4. # https://github.com/minecrafter/SuperbVote/wiki
  5.  
  6. # Once you've configured SuperbVote, add it to our official server list, CraftServers.net:
  7. # Official server list: https://www.craftservers.net/
  8.  
  9. # Database configuration.
  10. storage:
  11. database: json
  12. json:
  13. file: votes.json
  14. mysql:
  15. host: 127.0.0.1
  16. username: root
  17. password: topsecret
  18. database: superbvote
  19. table: votes
  20. read-only: false
  21.  
  22. # General vote configuration.
  23. votes:
  24. # At least this many seconds must pass before allowing another vote (per-service). This will apply per service.
  25. # Default: 3600 seconds (1 hour)
  26. cooldown-per-service: 7200
  27.  
  28. # Whether or not to treat fake votes as real votes
  29. process-fake-votes: false
  30.  
  31. # Rewards. This is the main section you will need to edit. Ordering is important.
  32. rewards:
  33. # Example of matchers. See https://github.com/minecrafter/SuperbVote/wiki/Configuration#if for a full list of available
  34. # matchers.
  35. - if:
  36. permission: superbvote.test
  37. chance-percentage: 0
  38. service: SpecialService
  39. commands:
  40. - give %player% diamond 4
  41. - eco give %player% 1000
  42. player-message: "&aThanks for meeting nearly impossible conditions, you have been rewarded with 4 diamonds and $1000."
  43. broadcast-message: "&a%player% got really lucky and was rewarded with 4 diamonds and $1000!"
  44. # A default reward is required. Default rewards are defined by using default: true as a matcher. No other matchers can
  45. # be used with this matcher and only one such reward can be the default reward.
  46. - if:
  47. default: true
  48. commands:
  49. - eco give %player% 5000
  50. - crate key %player% common
  51. player-message: "&eDekujem, ze jsi pro nas hlasoval! &aObdrzel jsi 5000$ a &7COMMON &aklic."
  52. broadcast-message: "&a%player% &epro nas hlasoval a obdrzel &a5000$&e s &7COMMON &eklicem!"
  53.  
  54. # Whether or not players need to be online to vote. If set, offline player votes are queued for when the player next logs in.
  55. require-online: true
  56.  
  57. # Broadcast settings:
  58. broadcast:
  59. # Should we broadcast votes at all?
  60. enabled: true
  61.  
  62. # Should we tell players if they voted?
  63. message-player: true
  64.  
  65. # Should we broadcast queued votes?
  66. queued: false
  67.  
  68. # Vote command.
  69. # See http://www.minecraftforum.net/forums/minecraft-discussion/redstone-discussion-and/351959-1-9-json-text-component-for-tellraw-title-books
  70. # and https://www.minecraftjson.com for json text format
  71. vote-command:
  72. enabled: true
  73. use-json-text: false
  74. text: |-
  75. Hlasuj: https://craftlist.eu/cs/server/464/MaxApple
  76.  
  77. # Vote reminder.
  78. vote-reminder:
  79. message: "&6Oznameni&f: &eNezapomen pro nas hlasovat! &bhttps://craftlist.eu/cs/server/464/MaxApple"
  80. on-join: true
  81. repeat: 1500
  82.  
  83. # Controls the /sv <top/leaderboard> command.
  84. leaderboard:
  85. # Supported: text, scoreboard
  86. display: text
  87.  
  88. # The text format supports pagination.
  89. text:
  90. per-page: 10
  91. header: "&c&m &r&b Top Voters &r&c&m &r"
  92. entry: "&e%num%. &7%player% (&e%votes%&7 votes)"
  93. page: "&7(page %page%/%total%)"
  94.  
  95. # Control the scoreboard.
  96. scoreboard:
  97. title: Top voters
  98. max: 10
  99.  
  100. # Control top player signs.
  101. top-player-signs:
  102. format:
  103. - "#%num%"
  104. - ""
  105. - "%player%"
  106. - "&l%votes% &rvotes"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement