Advertisement
Guest User

Untitled

a guest
Jan 19th, 2022
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.35 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. streaks-table: streaks
  18. read-only: false
  19.  
  20. # General vote configuration.
  21. votes:
  22. # At least this many seconds must pass before allowing another vote (per-service). This will apply per service.
  23. # Default: 3600 seconds (1 hour)
  24. cooldown-per-service: 0
  25.  
  26. # Whether or not to treat fake votes as real votes
  27. process-fake-votes: false
  28.  
  29. # Streaks configuration
  30. # Important: Streaks does not support JSON storage
  31. streaks:
  32. enabled: false
  33. # Fetch streaks almost everywhere to enable %streak%, %streak_days%, and %streak_today_services% placeholders
  34. # outside of streak-related commands
  35. enable-placeholders: true
  36.  
  37. # Use time of last vote from the database to combine with `votes.cooldown-per-service`
  38. # Basically turn the `votes.cooldown-per-service` into a database-based cooldown instead of a memory-based one
  39. shared-cooldown-per-service: true
  40.  
  41. command:
  42. # note: will be disabled if streaks are disabled
  43. enabled: true
  44. use-json-text: false
  45. text: |-
  46. You currently hold a vote streak of %streak% (%streak_days% days), keep going!
  47. You've voted on %streak_today_services% website(s) out of X today.
  48.  
  49. # Rewards. This is the main section you will need to edit. Ordering is important.
  50. rewards:
  51. # Example of matchers. See https://github.com/minecrafter/SuperbVote/wiki/Configuration#if for a full list of available
  52. # matchers.
  53. - if:
  54. permission: superbvote.test
  55. chance-percentage: 99
  56. service: SpecialService
  57. commands:
  58. - lootcrate give %player% 341 1
  59. - give %player% diamond 2
  60. player-message: "&eThanks for voting, you have been rewarded with 1 Voting Key."
  61. broadcast-message: "&e%player% voted and was rewarded with 1 Voting Key!"
  62. # A default reward is required. Default rewards are defined by using default: true as a matcher. No other matchers can
  63. # be used with this matcher and only one such reward can be the default reward.
  64. - if:
  65. default: true
  66. commands:
  67. player-message: "&eThanks for voting for us on %service%, you have been rewarded with 1 Voting Key."
  68. broadcast-message: "&e%player% has voted for us on %service% and was rewarded with 1 Voting Key!"
  69.  
  70. # Whether or not players need to be online to vote. If set, offline player votes are queued for when the player next logs in.
  71. require-online: true
  72.  
  73. # Whether we should queue votes if players aren't online. Requires the above option to be set to true.
  74. # If this is disabled, the user won't get any rewards if they aren't online, even if they login afterwards.
  75. queue-votes: true
  76.  
  77. # Broadcast settings:
  78. broadcast:
  79. # Should we broadcast votes at all?
  80. enabled: true
  81.  
  82. # Should we tell players if they voted?
  83. message-player: true
  84.  
  85. # Should we broadcast queued votes?
  86. queued: true
  87.  
  88. antispam:
  89. # Should we add a minimum time in between global broadcasts to prevent spam in chat?
  90. enabled: false
  91.  
  92. # How many seconds should be between broadcasts?
  93. time: 120
  94.  
  95. # Vote command.
  96. # See http://www.minecraftforum.net/forums/minecraft-discussion/redstone-discussion-and/351959-1-9-json-text-component-for-tellraw-title-books
  97. # and https://www.minecraftjson.com for json text format
  98. vote-command:
  99. enabled: true
  100. use-json-text: false
  101. text: |-
  102. &a&lSite 1:&f https://minecraft-mp.com/server/288463/vote/
  103. &a&lSite 2:&f https://minecraftservers.org/vote/617831
  104.  
  105. # Vote reminder.
  106. vote-reminder:
  107. message: "&cDon't forget to vote for us! You currently have &a%votes%&c votes."
  108. on-join: true
  109. repeat: 360
  110.  
  111. # Controls the /sv <top/leaderboard> command.
  112. leaderboard:
  113. # Supported: text, scoreboard
  114. display: text
  115.  
  116. # The text format supports pagination.
  117. text:
  118. per-page: 10
  119. header: "&c&m &r&b Top Voters &r&c&m &r"
  120. entry: "&e%num%. &7%player% (&e%votes%&7 votes)"
  121. page: "&7(page %page%/%total%)"
  122.  
  123. # Control the scoreboard.
  124. scoreboard:
  125. title: Top voters
  126. max: 10
  127.  
  128. # Control top player signs.
  129. top-player-signs:
  130. format:
  131. - "#%num%"
  132. - ""
  133. - "%player%"
  134. - "&l%votes% &rvotes"
  135.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement