Advertisement
Guest User

Config

a guest
Nov 22nd, 2018
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.38 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: 3600
  27.  
  28. # Whether or not to treat fake votes as real votes
  29. process-fake-votes: true
  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: 5
  38. service: SpecialService
  39. commands:
  40. - crate give %player% Vote
  41. - crate give %player% Bomb
  42. player-message: "&aThanks for meeting nearly impossible conditions, you have been rewarded with 4 diamonds and $1000."
  43. broadcast-message: "&c%player% &7voted and received a &cVote Crate Key, but got lucky and got a &cBomb&7create key&7!"
  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. - crate give %player% Vote 1
  50. player-message: "&7Thanks for voting for us you have been rewarded with a &cVote&7 crate key!"
  51. broadcast-message: "&c%player% &7voted and received a &cVote Crate Key&7!"
  52.  
  53. # Whether or not players need to be online to vote. If set, offline player votes are queued for when the player next logs in.
  54. require-online: true
  55.  
  56. # Broadcast settings:
  57. broadcast:
  58. # Should we broadcast votes at all?
  59. enabled: true
  60.  
  61. # Should we tell players if they voted?
  62. message-player: true
  63.  
  64. # Should we broadcast queued votes?
  65. queued: true
  66.  
  67. # Vote command.
  68. # See http://www.minecraftforum.net/forums/minecraft-discussion/redstone-discussion-and/351959-1-9-json-text-component-for-tellraw-title-books
  69. # and https://www.minecraftjson.com for json text format
  70. vote-command:
  71. enabled: true
  72. use-json-text: true
  73. text: |-
  74. &m&7-------------------------------------------
  75. &c https://minecraftservers.org/server/521144
  76. &m&7-------------------------------------------
  77.  
  78. # Vote reminder.
  79. vote-reminder:
  80. message: "&c(!) &7Don't forget to vote for us! You currently have &c%votes%&7 votes."
  81. on-join: true
  82. repeat: 180
  83.  
  84. # Controls the /sv <top/leaderboard> command.
  85. leaderboard:
  86. # Supported: text, scoreboard
  87. display: text
  88.  
  89. # The text format supports pagination.
  90. text:
  91. per-page: 10
  92. header: "&c&m---------&r&7[&c Top Voters &r&7]&c&m---------&r"
  93. entry: "&c%num% &8> &c%player% &7(&c%votes%&c votes&7)"
  94. page: "&7(&cpage %page%/%total%&7)"
  95.  
  96. # Control the scoreboard.
  97. scoreboard:
  98. title: Top voters
  99. max: 10
  100.  
  101. # Control top player signs.
  102. top-player-signs:
  103. format:
  104. - "#%num%"
  105. - ""
  106. - "%player%"
  107. - "&l%votes% &rvotes"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement