Advertisement
Guest User

Untitled

a guest
Mar 24th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.07 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. # Database configuration.
  7. storage:
  8. database: json
  9. json:
  10. file: votes.json
  11. mysql:
  12. host: 127.0.0.1
  13. username: root
  14. password: topsecret
  15. database: superbvote
  16. table: votes
  17. read-only: false
  18.  
  19. # General vote configuration.
  20. votes:
  21. # At least this many seconds need to pass before allowing another vote (per-service). This will apply per service.
  22. # Default: 3600 seconds (1 hour)
  23. cooldown-per-service: 1
  24.  
  25. # Whether or not to treat the server as online-mode. This is mostly required for BungeeCord setups.
  26. force-online-mode: false
  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.
  34. - if:
  35. permission: superbvote.newbie
  36. cumulative-votes: 16
  37. commands:
  38. - pex user %player% group add recruit
  39. player-message: ""
  40. broadcast-message: "&6%player% has voted 16 times and was upgraded to the Recruit rank!"
  41. - if:
  42. permission: superbvote.recruit
  43. cumulative-votes: 55
  44. commands:
  45. - pex user %player% group add ranger
  46. player-message: ""
  47. broadcast-message: "&6%player% has voted 55 times and was upgraded to the Ranger rank!"
  48. - if:
  49. permission: superbvote.ranger
  50. cumulative-votes: 90
  51. commands:
  52. - pex user %player% group add wanderer
  53. player-message: ""
  54. broadcast-message: "&6%player% has voted 90 times and was upgraded to the Wanderer rank!"
  55. - if:
  56. permission: superbvote.random
  57. chance-fractional: 10
  58. services:
  59. - minecraft-server.net
  60. - minecraft-mp.com
  61. commands:
  62. - pex user %player% group add wanderer
  63. player-message: ""
  64. broadcast-message: "&6%player% ot lucky and won wanderer"
  65. - if:
  66. permission: superbvote.random
  67. chance-fractional: 5
  68. services:
  69. - minecraft-server.net
  70. - minecraft-mp.com
  71. commands:
  72. - pex user %player% group add ranger
  73. player-message: ""
  74. broadcast-message: "&6%player% ot lucky and won ranger"
  75.  
  76. # Default rewards are defined by having no preconditions. Place it at the bottom of the config
  77. - if: {}
  78. commands:
  79. - eco give %player% 125
  80. - give %player% experience_bottle 4
  81. - give %player% diamond 1
  82. - give %player% cooked_beef 2
  83. - crate key %player% vote 1
  84. player-message: ""
  85. broadcast-message: "&a%player% just voted and won cash, EXP, diamonds, food and a vote crate key!"
  86.  
  87. # Whether or not players need to be online to vote. If set, offline player votes are queued for when the player next logs in.
  88. require-online: true
  89.  
  90. # Broadcast settings:
  91. broadcast:
  92. # Should we broadcast votes at all?
  93. enabled: true
  94.  
  95. # Should we tell players if they voted?
  96. message-player: true
  97.  
  98. # Should we broadcast queued votes?
  99. queued: true
  100.  
  101. # Vote command.
  102. # See http://www.minecraftforum.net/forums/minecraft-discussion/redstone-discussion-and/351959-1-9-json-text-component-for-tellraw-title-books
  103. # and https://www.minecraftjson.com for json text format
  104. vote-command:
  105. enabled: false
  106. use-json-text: false
  107. text: |-
  108. You could vote for us, but the owner forgot to add the list of websites to vote at!
  109.  
  110. # Vote reminder.
  111. vote-reminder:
  112. message: ""
  113. on-join: false
  114. repeat: -1
  115.  
  116. # Controls the /sv command.
  117. leaderboard:
  118. # Supported: text, scoreboard
  119. display: text
  120.  
  121. # The text format supports pagination.
  122. text:
  123. per-page: 10
  124. header: "&c&m &r&b Top Voters &r&c&m &r"
  125. entry: "&e%num%. &7%player% (&e%votes%&7 votes)"
  126.  
  127. # Control the scoreboard.
  128. scoreboard:
  129. title: Top voters
  130. max: 10
  131.  
  132. # Control top player signs.
  133. top-player-signs:
  134. format:
  135. - "#%num%"
  136. - ""
  137. - "%player%"
  138. - "&l%votes% &rvotes"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement