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: 120
- # Rewards. This is the main section you will need to edit. Ordering is important.
- rewards:
- # Example of matchers.
- - if:
- permission: superbvote.vip
- commands:
- - give %player% diamond 2
- player-message: "&aThanks for meeting nearly impossible conditions, you have been rewarded with some diamonds."
- broadcast-message: "&3A donator (%player%) got really lucky and was rewarded with some diamonds!"
- - if:
- permission: superbvote.vip
- chance: 5
- commands:
- - give %player% name_tag 1
- player-message: "&aThanks for meeting nearly impossible conditions, you have been rewarded with a nametagg."
- broadcast-message: "&3A donator (%player%) got really lucky and was rewarded with a nametag!"
- - if:
- permission: superbvote.donator
- commands:
- - give %player% experience_bottle 15
- player-message: "&aThanks for voting, you have been rewarded with some xp bottles."
- broadcast-message: "&3A donator (%player%) voted and was rewarded with 15 xp bottles!"
- - if:
- permission: superbvote.vip
- chance: 10
- commands:
- - give %player% experience_bottle 15
- player-message: "&aThanks for meeting nearly impossible conditions, you have been rewarded with 10 xp bottles."
- broadcast-message: "&3A donator (%player%) got really lucky and got some bonus xp bottles!"
- # Default rewards are defined by having no preconditions. Place it at the bottom of the config.
- - if:
- default: true
- commands:
- - give %player% experience_bottle 10
- player-message: "&aThanks for voting for us, you have been rewarded with 5 experience_bottles"
- broadcast-message: "&3%player& has voted for us and was rewarded with some xp, you can vote too with /vote!"
- chance: 30
- commands:
- - give %player% diamond 2
- player-message: "&aThanks for voting for us, you have been rewarded with 2 diamonds"
- broadcast-message: "&3%player% has voted for us and was really lucky, they got rewarded with some diamonds, you can vote too with /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: false
- # Vote command.
- vote-command:
- enabled: true
- text: |-
- &6&m--------------------------------------------------
- &6 Simply click the link to vote.
- &6&m--------------------------------------------------
- &6 https://minecraft-mp.com/server/247728/vote/
- &6&m--------------------------------------------------
- # Vote reminder.
- vote-reminder:
- message: "&cDon't forget to vote for us! You currently have &a%votes%&c votes."
- on-join: false
- repeat: 0
- # 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