Advertisement
Noutdebest

Superbvote

Mar 27th, 2020
826
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.88 KB | None | 0 0
  1. # SuperbVote configuration
  2. # A superb vote plugin made by Tux.
  3. #
  4. # https://minecraft.minimum.io/wiki/SuperbVote
  5.  
  6. # Database configuration.
  7. # Currently supported: "json".
  8. storage:
  9. database: json
  10. json:
  11. file: votes.json
  12. mysql:
  13. host: 127.0.0.1
  14. username: root
  15. password: topsecret
  16. database: superbvote
  17. table: votes
  18. read-only: false
  19.  
  20. # General vote configuration.
  21. votes:
  22. # At least this many seconds need to pass before allowing another vote (per-service). This will apply per service.
  23. # Default: 3600 seconds (1 hour)
  24. cooldown-per-service: 120
  25.  
  26. # Rewards. This is the main section you will need to edit. Ordering is important.
  27. rewards:
  28. # Example of matchers.
  29. - if:
  30. permission: superbvote.vip
  31. commands:
  32. - give %player% diamond 2
  33. player-message: "&aThanks for meeting nearly impossible conditions, you have been rewarded with some diamonds."
  34. broadcast-message: "&3A donator (%player%) got really lucky and was rewarded with some diamonds!"
  35. - if:
  36. permission: superbvote.vip
  37. chance: 5
  38. commands:
  39. - give %player% name_tag 1
  40. player-message: "&aThanks for meeting nearly impossible conditions, you have been rewarded with a nametagg."
  41. broadcast-message: "&3A donator (%player%) got really lucky and was rewarded with a nametag!"
  42. - if:
  43. permission: superbvote.donator
  44. commands:
  45. - give %player% experience_bottle 15
  46. player-message: "&aThanks for voting, you have been rewarded with some xp bottles."
  47. broadcast-message: "&3A donator (%player%) voted and was rewarded with 15 xp bottles!"
  48. - if:
  49. permission: superbvote.vip
  50. chance: 10
  51. commands:
  52. - give %player% experience_bottle 15
  53. player-message: "&aThanks for meeting nearly impossible conditions, you have been rewarded with 10 xp bottles."
  54. broadcast-message: "&3A donator (%player%) got really lucky and got some bonus xp bottles!"
  55. # Default rewards are defined by having no preconditions. Place it at the bottom of the config.
  56. - if:
  57. default: true
  58. commands:
  59. - give %player% experience_bottle 10
  60. player-message: "&aThanks for voting for us, you have been rewarded with 5 experience_bottles"
  61. broadcast-message: "&3%player& has voted for us and was rewarded with some xp, you can vote too with /vote!"
  62. chance: 30
  63. commands:
  64. - give %player% diamond 2
  65. player-message: "&aThanks for voting for us, you have been rewarded with 2 diamonds"
  66. broadcast-message: "&3%player% has voted for us and was really lucky, they got rewarded with some diamonds, you can vote too with /vote!"
  67.  
  68. # Whether or not players need to be online to vote. If set, offline player votes are queued for when the player next logs in.
  69. require-online: false
  70.  
  71. # Broadcast settings:
  72. broadcast:
  73. # Should we broadcast votes at all?
  74. enabled: true
  75.  
  76. # Should we broadcast queued votes?
  77. queued: false
  78.  
  79. # Vote command.
  80. vote-command:
  81. enabled: true
  82. text: |-
  83. &6&m--------------------------------------------------
  84. &6 Simply click the link to vote.
  85. &6&m--------------------------------------------------
  86. &6 https://minecraft-mp.com/server/247728/vote/
  87. &6&m--------------------------------------------------
  88.  
  89. # Vote reminder.
  90. vote-reminder:
  91. message: "&cDon't forget to vote for us! You currently have &a%votes%&c votes."
  92. on-join: false
  93. repeat: 0
  94.  
  95. # Controls the /sv <top/leaderboard> command.
  96. leaderboard:
  97. # Supported: text, scoreboard
  98. display: text
  99.  
  100. # The text format supports pagination.
  101. text:
  102. per-page: 10
  103. header: "&c&m &r&b Top Voters &r&c&m &r"
  104. entry: "&e%num%. &7%player% (&e%votes%&7 votes)"
  105.  
  106. # Control the scoreboard.
  107. scoreboard:
  108. title: Top voters
  109. max: 10
  110.  
  111. # Control top player signs.
  112. top-player-signs:
  113. format:
  114. - "#%num%"
  115. - ""
  116. - "%player%"
  117. - "&l%votes% &rvotes"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement