Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # SuperbVote configuration
- # A superb vote plugin made by Tux.
- #
- # https://minecraft.minimum.io/wiki/SuperbVote
- # Database configuration.
- # Currently supported: "json".
- storage:
- database: json
- json:
- file: votes.json
- mysql:
- host: 127.0.0.1
- username: root
- password: topsecret
- database: superbvote
- table: votes
- read-only: false
- # General vote configuration.
- votes:
- # At least this many seconds need to pass before allowing another vote (per-service). This will apply per service.
- # Default: 3600 seconds (1 hour)
- cooldown-per-service: 3600
- # Rewards. This is the main section you will need to edit. Ordering is important.
- rewards:
- # Example of matchers.
- - if:
- permission: superbvote.vip
- chance: 6
- commands:
- - crate give v earth 1 %player%
- player-message: "&6You have received x1 Lucky reward (Earth key)"
- broadcast-message: "&e&l[!] &6%player% &eHas gotten lucky and received x1 Earth key! &7&o (( /Vote ))."
- # Default rewards are defined by having no preconditions. Place it at the bottom of the config.
- - if: {}
- commands:
- - crate give v fire 1 %player%
- player-message: "&6Vote successfully registered, &eThank you for voting"
- broadcast-message: "&e&l[!] &6%player% &eHas voted and received x1 Fire key! &7&o(( /Vote ))."
- # Whether or not players need to be online to vote. If set, offline player votes are queued for when the player next logs in.
- require-online: false
- # Broadcast settings:
- broadcast:
- # Should we broadcast votes at all?
- enabled: true
- # Should we broadcast queued votes?
- queued: true
- # Vote command.
- vote-command:
- enabled: true
- text: |-
- &4&m--------------------------------
- &6#1 &ehttps://bit.ly/2qcwNFE
- &6#1 &ehttps://bit.ly/2qetC0g
- &6#1 &ehttps://bit.ly/2yA9wCg
- &6#1 &ehttps://bit.ly/2OeEsN2
- &4&m--------------------------------
- # Vote reminder.
- vote-reminder:
- message: "&eDon't forget to vote for us! You currently have &6%votes%&e votes."
- on-join: true
- repeat: 600
- # Controls the /sv <top/leaderboard> command.
- leaderboard:
- # Supported: text, scoreboard
- display: text
- # The text format supports pagination.
- text:
- per-page: 10
- header: "&c&m &r&b Top Voters &r&c&m &r"
- entry: "&e%num%. &7%player% (&e%votes%&7 votes)"
- # Control the scoreboard.
- scoreboard:
- title: Top voters
- max: 10
- # Control top player signs.
- top-player-signs:
- format:
- - "#%num%"
- - ""
- - "%player%"
- - "&l%votes% &rvotes"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement