Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2018
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.89 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: 1
  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.cratekey
  37. chance-percentage: 20
  38. commands:
  39. - crate key %player% survivalvoting 1
  40. player-message: "&c&lVote>&f Thank you for voting!"
  41. broadcast-message: "&c&lVote>&f %player% has voted and got &6&lSurvival Voting Crate Key&f!"
  42. # A default reward is required. Default rewards are defined by using default: true as a matcher. No other matchers can
  43. # be used with this matcher and only one such reward can be the default reward.
  44. - if:
  45. default: true
  46. commands:
  47. - eco give %player% 5
  48. player-message: "&c&lVote>&f Thank you for voting!"
  49. broadcast-message: "&c&lVote>&f %player% has voted and got 5$"
  50. # A default reward is required. Default rewards are defined by using default: true as a matcher. No other matchers can
  51. # be used with this matcher and only one such reward can be the default reward.
  52. - if:
  53. cumulative-votes: 5
  54. commands:
  55. - pex user %player% group set member
  56. - pex user %player% group add default
  57. - pex user %player% prefix "&8&lMember&r "
  58. broadcast-message: "&c&lVote>&f %player% has voted 5 times and got the &8&lMember&f rank!"
  59. # A default reward is required. Default rewards are defined by using default: true as a matcher. No other matchers can
  60. # be used with this matcher and only one such reward can be the default reward.
  61. - if:
  62. cumulative-votes: 10
  63. commands:
  64. - pex user %player% group set trusted
  65. - pex user %player% group add default
  66. - pex user %player% prefix "&e&lTrusted&r "
  67. broadcast-message: "&c&lVote>&f %player% has voted 10 times and got the &e&lTrusted&f rank!"
  68. # A default reward is required. Default rewards are defined by using default: true as a matcher. No other matchers can
  69. # be used with this matcher and only one such reward can be the default reward.
  70. - if:
  71. cumulative-votes: 20
  72. commands:
  73. - pex user %player% group set master
  74. - pex user %player% group add default
  75. - pex user %player% prefix "&b&lMaster&r "
  76. broadcast-message: "&c&lVote>&f %player% has voted 20 times and got the &b&lMaster&f rank!"
  77. # A default reward is required. Default rewards are defined by using default: true as a matcher. No other matchers can
  78. # be used with this matcher and only one such reward can be the default reward.
  79. - if:
  80. cumulative-votes: 30
  81. commands:
  82. - pex user %player% group set elite
  83. - pex user %player% group add default
  84. - pex user %player% prefix "&9&lElite&r "
  85. broadcast-message: "&c&lVote>&f %player% has voted 30 times and got the &b&lElite&f rank!"
  86. # A default reward is required. Default rewards are defined by using default: true as a matcher. No other matchers can
  87. # be used with this matcher and only one such reward can be the default reward.
  88. - if:
  89. cumulative-votes: 45
  90. commands:
  91. - pex user %player% group set mythical
  92. - pex user %player% group add default
  93. - pex user %player% prefix "&5&lMythical&r "
  94. broadcast-message: "&c&lVote>&f %player% has voted 45 times and got the &5&lMythical&f rank!"
  95. # A default reward is required. Default rewards are defined by using default: true as a matcher. No other matchers can
  96. # be used with this matcher and only one such reward can be the default reward.
  97. - if:
  98. cumulative-votes: 70
  99. commands:
  100. - pex user %player% group set titan
  101. - pex user %player% group add default
  102. - pex user %player% prefix "&4&lTitan&r "
  103. broadcast-message: "&c&lVote>&f %player% has voted 70 times and got the &4&lTitan&f rank!"
  104.  
  105.  
  106. # Whether or not players need to be online to vote. If set, offline player votes are queued for when the player next logs in.
  107. require-online: true
  108.  
  109. # Broadcast settings:
  110. broadcast:
  111. # Should we broadcast votes at all?
  112. enabled: true
  113.  
  114. # Should we tell players if they voted?
  115. message-player: false
  116.  
  117. # Should we broadcast queued votes?
  118. queued: true
  119.  
  120. # Vote command.
  121. # See http://www.minecraftforum.net/forums/minecraft-discussion/redstone-discussion-and/351959-1-9-json-text-component-for-tellraw-title-books
  122. # and https://www.minecraftjson.com for json text format
  123. vote-command:
  124. enabled: false
  125. use-json-text: false
  126. text: |-
  127. You could vote for us, but the owner forgot to add the list of websites to vote at!
  128.  
  129. # Vote reminder.
  130. vote-reminder:
  131. message: ""
  132. on-join: false
  133. repeat: 0
  134.  
  135. # Controls the /sv <top/leaderboard> command.
  136. leaderboard:
  137. # Supported: text, scoreboard
  138. display: text
  139.  
  140. # The text format supports pagination.
  141. text:
  142. per-page: 10
  143. header: "&c&m &r&b Top Voters &r&c&m &r"
  144. entry: "&e%num%. &7%player% (&e%votes%&7 votes)"
  145. page: "&7(page %page%/%total%)"
  146.  
  147. # Control the scoreboard.
  148. scoreboard:
  149. title: Top voters
  150. max: 10
  151.  
  152. # Control top player signs.
  153. top-player-signs:
  154. format:
  155. - "#%num%"
  156. - ""
  157. - "%player%"
  158. - "&l%votes% &rvotes"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement