Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # VotingPlugin by Ben12345rocks
- # Main Config
- # See wiki for help:
- # https://github.com/Ben12345rocks/VotingPlugin/wiki
- # Valid Options:
- # - SQLITE
- # - FLAT
- # - MYSQL
- DataStorage: SQLITE
- # Information for mysql
- MySQL:
- Host: ''
- # Default port is 3306
- Port: 3306
- Database: ''
- Username: ''
- Password: ''
- # Max number of connections
- MaxConnections: 1
- # Let players who never joined before vote
- # Recommend: False (Will prevent creating random user data files)
- AllowUnjoined: true
- # If true, plugin will send scoreboards on some commands
- SendScoreboards: false
- # If true, plugin will automaticly generate votesites
- # Disable this if you experience issues with sites being created randomly
- AutoCreateVoteSites: false
- # Automaticly download the latest version
- # Will require a restart to actually update
- # Note that updates take 30-40 minutes to load before they can be downloaded
- AutoDownload: false
- # ------------------------------------------------
- # VoteReminding
- # ------------------------------------------------
- # Configuration for VoteReminding
- # By default this should be all setup to work
- # as long as vote delays are done properly
- VoteReminding:
- # Enable vote reminding
- # This will remind player when he can vote on all sites
- # Requires VoteDelay's to be setup properly
- # Use /vote next to see when you can be reminded
- # Players require the perm "VotingPlugin.Login.RemindVotes" or "VotingPlugin.Player"
- Enabled: true
- # Wether or t to remind only once when the player can vote
- # Does not apply to login reminds.
- RemindOnlyOnce: true
- # Will remind player on login if he can vote
- # Ignores value above
- RemindOnLogin: true
- # Delay to remind votes in minutes
- # Only works if above is false
- RemindDelay: 30
- # Run reward files on remind
- # By default, the reward file will be created for you
- # and have the default message
- # Edit the message at AdvancedCore/Rewards/Remind.yml (or any other reward listed)
- # Can add titles and more in the reward file
- Rewards:
- Messages:
- Player: '&8ยซ &5Vote &8ยป &6Remember to vote!'
- Title:
- Enabled: false
- Title: '&cRemember to vote!'
- SubTitle: '&7Type /vote'
- FadeIn: 10
- ShowTime: 50
- FadeOut: 10
- Commands:
- # Wether or not the following commands will open GUIs rather than display text
- UseGUI:
- Today: false
- TopVoter: false
- Last: false
- Next: false
- Total: false
- Vote: true
- Best: false
- Streak: false
- # ------------------------------------------------
- # Format
- # ------------------------------------------------
- # Common PlacesHolders:
- # Please Note: Not all are usable in all sections
- # Special PlaceHolders will be commented where available
- # %player% = player name
- # %SiteName% = vote site name
- #
- # Set Message to '' (2 ') to disable message
- Format:
- # Message when player tries to run command without required permissions
- NoPerms: '&cYou do not have enough permission!'
- # Message when player types a command but does not input a number where needed
- NotNumber: '&cError on &7%arg%&c, number expected!'
- # CommandHandler help message
- HelpLine: '&3&l%Command% - &3%HelpMessage%'
- # Broadcast vote message
- BroadcastMsg: ''
- # Broadcast only when player is online
- BroadcastWhenOnline: false
- Commands:
- # Format for /vote
- # %num% = the number of the site, for a numbered list
- # %url% = site URL
- Vote:
- Text:
- - '&5&lVote for our server!'
- # If you want to want to use the feature below where the plugin will
- # automaticly list the sites then set the message in the text above
- AutoInputSites: true
- # For each VoteSite
- # make sure to set VoteURL in your VoteSites
- # Requires above to be true
- # Text will be sent before this
- Sites: '&7%num%: &5%SiteName% &7- %url%'
- # Format for /vote next
- Next:
- # First line
- Title: '&b&l%player%''s &7Next Votes:'
- # How each line is setup for each vote site
- # %info% = Info - See Below
- # %SiteName% = site name from vote
- Layout: '&b%SiteName%&8: &7%info%'
- Info:
- # Message when player can vote
- CanVote: 'Go Vote!'
- # Time until vote msg
- # %hours% = hours until next vote
- # %minutes% = minutes until next vote
- TimeUntilVote: '%hours% Hours and %minutes% Minutes'
- # If there is an error finding out time until next vote
- Error: '&cCould not caculate time until next vote!'
- # Format for /vote last
- Last:
- # First line
- Title: '&b&l%player% &7Last Vote Times:'
- # Lines for each vote site
- # %time% = time, using timeformat below
- Line: '&b%SiteName%&8:&7 &7%time%'
- # Format for /vote total
- Total:
- - '&b%player%&7 Total Votes:'
- - '&bDaily Total: &7%DailyTotal%'
- - '&bWeekly Total: &7%WeeklyTotal%'
- - '&bMonthly Total: &7%MonthlyTotal%'
- - '&bAllTime Total: &7%AllTimeTotal%'
- # Format for /vote total all
- TotalAll:
- - '&b&lServer Total Votes:'
- - '&bDaily Total: &7%DailyTotal%'
- - '&bWeekly Total: &7%WeeklyTotal%'
- - '&bMonthly Total: &7%MonthlyTotal%'
- - '&bAllTime Total: &7%AllTimeTotal%'
- # Format for /vote top
- Top:
- # First line
- # %page% = current page
- # %maxpages% = max number of pages
- # %Top% = Monthly/Weekly/Daily (depending on command)
- Title: '&bTop %Top% Voters %page%/%maxpages%'
- # Line for each player in that page
- Line: '&5%num%&8: &b%player%&7, &b%votes%'
- # Format for /vote help
- Help:
- # Title of /vote help
- Title: '&b&lVoting Player Help'
- # Format for help message in /v help
- Line: '&b&l%Command% &f- &7%HelpMessage%'
- # Require permission to see command in /v help or /av help
- RequirePermission: true
- Best:
- Title: '&b&l%player%''s Best Votes'
- Lines:
- - '&bHighest Daily Total&8: &7%HighestDailyTotal%'
- - '&bHighest Week Total&8: &7%HighestWeeklyTotal%'
- - '&bHighest Month Total&8: &7%HighestMonthlyTotal%'
- Streak:
- Title: '&b&l%player%''s Vote Streak'
- Lines:
- - '&bCurrent Daily Streak&8: &7%DailyStreak%'
- - '&bCurrent Week Streak&8: &7%WeeklyStreak%'
- - '&bCurrent Month Streak&8: &7%MonthlyStreak%'
- - '&b&lHighest Streaks:'
- - '&bHighest Daily Streak&8: &7%BestDailyStreak%'
- - '&bHighest Week Streak&8: &7%BestWeeklyStreak%'
- - '&bHighest Month Streak&8: &7%BestMonthlyStreak%'
- # PlaceHolders:
- # %VotesRequired% = VotesRequired
- # %NeededVotes% = Number of votes needed to reach VotesRequired
- # %Votes% = Number of votes
- Party:
- - '&cCurrently at &7%Votes%&c, &7%NeededVotes% &cmore votes to go to reach &7%VotesRequired%'
- # %Points% = player points
- Points: '&b%Player%&7 currently has &b&l%Points%&7 Points!'
- # Login message if player can vote on all sites
- # Must be enabled in config.yml
- LoginMsg: '&cRemember to vote!'
- # Msg on top voter award, will only send message if that place has a reward set
- # %place% = place - 1,2,b,etc
- TopVoterAwardMsg: '&8ยซ&5 Vote &8ยป &7You came in &b&l%place% &7in top voters of the month! Here is an award!'
- # Time Format
- # See https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html
- TimeFormat: 'EEE, d MMM yyyy HH:mm'
- # Format for signs
- # SiteName may be all, depending on sign
- # %position% = position of player, set by sign
- # %votes% = Number of votes
- Signs:
- TopVoterSign:
- Line1: '&7TopVoter: &b%SiteName%'
- Line2: '&a#%position%'
- Lineb: '&b&l%player%'
- Line4: '&b%votes%&7 Votes'
- # Message when right clicking sign, uses same placeholders as above
- RightClickMessage: '&b%player% &7is &b%position% &7with &b%votes% &7votes in &b%SiteName%'
- # Message when player tries to run command without required permissions
- NoPerms: '&cYou do not have enough permission!'
- # Message when player types a command but does not input a number where needed
- NotNumber: '&cError on &7%arg%&c, number expected!'
- # Shop messages when using the /vote shop
- ShopPurchase: '&aYou bought the %Identifier% for %Points% Points!'
- ShopFailed: '&cYou do not have %Points% points to purhcase this!'
- # ------------------------------------------------
- # GUI Options
- # ------------------------------------------------
- # Configure GUI's here
- # Note: Slots start at 0 instead of 1, max slot is 53 (don't go over) (E.g: last slot in first row of inventory is 8)
- # Item Material's can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
- GUI:
- # GUI for /vote gui, /vgui, votegui
- VoteGUI:
- # Items will be orders as it is below
- URL:
- # Standard item format, lore is automaticly applied
- Item:
- Material: 'PAPER'
- Data: 0
- Amount: 1
- Name: '&bClick for URLs'
- # You can set skulls of the player using the following
- # Remove the # to enable
- #Skull: '%Player%'
- Slot: 2
- Next:
- Item:
- Material: 'COMPASS'
- Data: 0
- Amount: 1
- Name: '&9Future Votes'
- Slot: 3
- Last:
- Item:
- Material: 'WATCH'
- Data: 0
- Amount: 1
- Name: '&5Last Votes'
- Slot: 4
- Total:
- Item:
- Material: 'CHEST'
- Data: 0
- Amount: 1
- Name: '&dTotal Votes'
- Slot: 5
- Top:
- Item:
- Material: 'SIGN'
- Data: 0
- Amount: 1
- Name: '&cTop'
- Slot: 6
- # GUI for /vote url
- # And /vote if enabled in Config.yml
- VoteURL:
- # GUI Name
- Name: '&cVoting URLs'
- SiteName: '&c%Name%'
- SeeURL: '&cClick to see URL'
- NextVote: '&cCan Vote In: %Info%'
- ViewAllUrlsButtonEnabled: true
- AllUrlsButton:
- AlreadyVotedItem:
- Material: 'REDSTONE_BLOCK'
- Data: 0
- Amount: 1
- CanVoteItem:
- Material: 'EMERALD_BLOCK'
- Data: 0
- Amount: 1
- AlreadyVotedItem:
- Material: 'REDSTONE_BLOCK'
- Data: 0
- Amount: 1
- CanVoteItem:
- Material: 'EMERALD_BLOCK'
- Data: 0
- Amount: 1
- # Customize /vote reward
- # Show players what you get when you vote on each site
- VoteReward:
- # Name of votesite
- All:
- # items in /vote reward sitename
- Items:
- Keys:
- # Item ID
- Material: 'TRIPWIRE_HOOK'
- # Item Data (Eg 1:4, data is 4)
- Data: 0
- # Amount of items
- # Should be greater than 0
- Amount: 3
- # Item name
- # Remove this line for no name
- Name: '&d3x Vote key'
- Enchants:
- - DURABILITY: 1
- Slot: 4
- VoteLast:
- Name: 'VoteLast: %player%'
- VoteNext:
- Name: 'VoteNext: %player%'
- VoteToday:
- Name: 'VoteToday'
- VoteTop:
- Name: 'VoteTop %topvoter%'
- Item:
- Name: '&b&l%position%: &b%player%'
- Lore: '&b&lVotes: &b%votes%'
- SwitchItem:
- Name: 'Switch TopVoter'
- Lore: 'Currently: %Top%'
- Material: 'SIGN'
- Amount: 1
- # 8 Slots over from the bottom left
- Slot: 7
- # Number of topvoters to display on page +9
- # 9 Slots on the botton are used for page buttons
- Size: 27
- VoteTotal:
- Name: 'VoteTotal: %player%'
- DayTotal:
- Item:
- Material: 'WATCH'
- Name: '&cDaily Total'
- Lore: '&c&lTotal: &c%Total%'
- Amount: 1
- WeekTotal:
- Item:
- Material: 'WATCH'
- Name: '&cWeekly Total'
- Lore: '&c&lTotal: &c%Total%'
- Amount: 1
- MonthTotal:
- Item:
- Material: 'WATCH'
- Name: '&cMonthly Total'
- Lore: '&c&lTotal: &c%Total%'
- Amount: 1
- AllTimeTotal:
- Item:
- Material: 'WATCH'
- Name: '&cAllTime Total'
- Lore: '&c&lTotal: &c%Total%'
- Amount: 1
- VoteBest:
- Name: 'VoteBest: %player%'
- DayBest:
- Item:
- Material: 'WATCH'
- Name: '&cDaily Best'
- Lore: '&c&lBest: &c%Best%'
- Amount: 1
- WeekBest:
- Item:
- Material: 'WATCH'
- Name: '&cWeekly Best'
- Lore: '&c&lBest: &c%Best%'
- Amount: 1
- MonthBest:
- Item:
- Material: 'WATCH'
- Name: '&cMonthly Best'
- Lore: '&c&lBest: &c%Best%'
- Amount: 1
- VoteStreak:
- Name: 'VoteBest: %player%'
- CurrentDayStreak:
- Item:
- Material: 'WATCH'
- Name: '&cCurrent Daily Streak'
- Lore: '&c&lStreak: &c%Streak%'
- Amount: 1
- CurrentWeekStreak:
- Item:
- Material: 'WATCH'
- Name: '&cCurrent Weekly Streak'
- Lore: '&c&lStreak: &c%Streak%'
- Amount: 1
- CurrentMonthStreak:
- Item:
- Material: 'WATCH'
- Name: '&cCurrent Monthly Streak'
- Lore: '&c&lStreak: &c%Streak%'
- Amount: 1
- HighestDayStreak:
- Item:
- Material: 'WATCH'
- Name: '&cHighest Daily Streak'
- Lore: '&c&lStreak: &c%Streak%'
- Amount: 1
- HighestWeekStreak:
- Item:
- Material: 'WATCH'
- Name: '&cHighest Weekly Streak'
- Lore: '&c&lStreak: &c%Streak%'
- Amount: 1
- HighestMonthStreak:
- Item:
- Material: 'WATCH'
- Name: '&cHighest Monthly Streak'
- Lore: '&c&lStreak: &c%Streak%'
- Amount: 1
- VoteURLSite:
- Name: 'VoteSite: %site%'
- VoteGUIName: '&cVoteGUI: &c&l%player%'
- VoteRewardName: 'Vote Reward'
- VoteShopName: 'Vote Shop'
- Shop:
- # Identifier
- # Used in placeholders for formats
- Diamond:
- # Item
- Material: 'DIAMOND'
- Data: 0
- Amount: 1
- Name: '&4Buy A Diamond'
- # You can set skulls of the player using the following
- # Remove the # to enable
- #Skull: '%Player%'
- Lore:
- - '&c&lCost: &c30 Voting Points'
- # Number of voting points this cost
- Cost: 30
- # Rewards to run if player buys succesfully
- Rewards:
- Items:
- Material: 'DIAMOND'
- Amount: 1
- # Slot
- Slot: 0
- # ------------------------------------------------
- # Extra Rewards
- # ------------------------------------------------
- # To disable reward set value to []
- # Eg:
- # FirstVote: [] (All in one line)
- # By default all rewards are disabled
- # First vote rewards
- FirstVote: []
- AllSites: []
- Cumulative:
- # Number of votes required
- # Allows multiple cumulative rewards
- # Number be be around ' (E.g. '1')
- # Can have multiple listed here
- '1':
- Enabled: true
- # Wether or not votes must be made in same day/week
- # Useful if you want to require a certain number of voting sites to be voted on
- # for a daily/weekly reward instead of all of them
- VotesInSameDay: false
- VotesInSameWeek: false
- Rewards:
- - SingleVoteAdventure
- '2':
- Enabled: true
- # Wether or not votes must be made in same day/week
- # Useful if you want to require a certain number of voting sites to be voted on
- # for a daily/weekly reward instead of all of them
- VotesInSameDay: false
- VotesInSameWeek: false
- Rewards:
- - TwoVotesAdventure
- '6':
- Enabled: true
- # Wether or not votes must be made in same day/week
- # Useful if you want to require a certain number of voting sites to be voted on
- # for a daily/weekly reward instead of all of them
- VotesInSameDay: false
- VotesInSameWeek: false
- Rewards:
- - AllVotesAdventure
- VoteParty:
- # Wether or not vote party is enabled
- Enabled: true
- # Number of votes required to give rewards
- VotesRequired: 800
- # If true, players who did not vote to reach the votes required will
- # recieve the reward
- GiveAllPlayers: false
- # If true, the vote count will reset each day
- ResetEachDay: true
- # Number of user votes that apply to vote party total the user needs to get rewards
- UserVotesRequired: 5
- # Reward files to give
- Rewards:
- - VoteParty
- MileStones:
- # Number of votes required
- # Allows multiple milestones
- # Number be be around ' (E.g. '1')
- # Can have multiple listed here
- '20':
- Enabled: false
- Rewards:
- Messages:
- Player: '&aYou got %milestone% milestone votes!'
- ResetMonthly: false
- VoteStreak:
- # Valid options: Day, Week, Month
- Day:
- # Number of days in a row
- '2':
- # Enabled or not
- Enabled: true
- # Rewards to give
- Rewards:
- Messages:
- Player: "&aYou voted for %Streak% %Type%s in a row!"
- '3':
- # Enabled or not
- Enabled: true
- # Rewards to give
- Rewards:
- Messages:
- Player: "&aYou voted for %Streak% %Type%s in a row!"
- '4':
- # Enabled or not
- Enabled: true
- # Rewards to give
- Rewards:
- Messages:
- Player: "&aYou voted for %Streak% %Type%s in a row!"
- '5':
- # Enabled or not
- Enabled: true
- # Rewards to give
- Rewards:
- Messages:
- Player: "&aYou voted for %Streak% %Type%s in a row!"
- '6':
- # Enabled or not
- Enabled: true
- # Rewards to give
- Rewards:
- Messages:
- Player: "&aYou voted for %Streak% %Type%s in a row!"
- Week:
- # Number of days in a row
- '1':
- # Enabled or not
- Enabled: true
- # Rewards to give
- Rewards:
- Messages:
- Player: "&aYou voted for %Streak% %Type%s in a row!"
- '2':
- # Enabled or not
- Enabled: true
- # Rewards to give
- Rewards:
- Messages:
- Player: "&aYou voted for %Streak% %Type%s in a row!"
- '3':
- # Enabled or not
- Enabled: true
- # Rewards to give
- Rewards:
- Messages:
- Player: "&aYou voted for %Streak% %Type%s in a row!"
- Month:
- # Number of days in a row
- '1':
- # Enabled or not
- Enabled: true
- # Rewards to give
- Rewards:
- Messages:
- Player: "&aYou voted for %Streak% %Type%s in a row!"
- '2':
- # Enabled or not
- Enabled: true
- # Rewards to give
- Rewards:
- Messages:
- Player: "&aYou voted for %Streak% %Type%s in a row!"
- '3':
- # Enabled or not
- Enabled: true
- # Rewards to give
- Rewards:
- Messages:
- Player: "&aYou voted for %Streak% %Type%s in a row!"
- '4':
- # Enabled or not
- Enabled: true
- # Rewards to give
- Rewards:
- Messages:
- Player: "&aYou voted for %Streak% %Type%s in a row!"
- # ONLY USE THIS FOR TITLES/SOUNDS AND OTHER EFFECTS
- # IT WILL ONLY RUN ONE TIME FOR ANY NUMBER OF OFFLINE VOTES
- # Any reward files listed here are ran on vote of any site
- # It is recommended to add rewards to each site instead of here
- AnySiteRewards: []
- # ------------------------------------------------
- # Top Voter
- # ------------------------------------------------
- # Top voter blacklist
- BlackList:
- - 'Notch'
- # If true players with the permission 'VotingPlugin.TopVoter.Ignore' will act
- # as if their name was added on the the blacklist above
- # This also applies for ops
- TopVoterIgnorePermission: false
- # /vote top default data displayed
- # Valid Options: AllTime, Monthly, Weekly, Daily
- VoteTopDefault: Monthly
- # These are required to be enabled in order for top voter awards to work
- LoadTopVoter:
- AllTime: true
- Monthly: true
- Weekly: false
- Daily: false
- # When top voter awards are given (even if there are none listed) it will store top voters
- # Files will created in TopVoters folder.
- StoreTopVoters:
- Monthly: true
- Weekly: false
- Daily: false
- EnableMonthlyAwards: true
- # Rewards to give
- MonthlyAwards:
- # Position. 1 is first in top voter, 2 is second, etc...
- 1:
- Rewards:
- Messages:
- Player: '&aYou placed 1st for Top Voter of the month!'
- 2:
- Rewards:
- Messages:
- Player: '&aYou placed 2nd for Top Voter of the month!'
- EnableWeeklyAwards: false
- # Rewards to give on weekly top voter
- WeeklyAwards:
- # Position. 1 is first in top voter, 2 is second, etc...
- 1:
- Rewards:
- Messages:
- Player: '&aYou came in first place in %TopVoter%!'
- 2:
- Rewards:
- Messages:
- Player: '&aYou came in second place in %TopVoter%!'
- EnableDailyRewards: false
- # Rewards to give on daily top voter
- DailyAwards:
- # Position. 1 is first in top voter, 2 is second, etc...
- 1:
- # Reward files to give
- Rewards:
- Messages:
- Player: '&aYou came in first place in %TopVoter%!'
- 2:
- Rewards:
- Messages:
- Player: '&aYou came in second place in %TopVoter%!'
- # ------------------------------------------------
- # Advanced
- # Most of these values can be left untouched
- # ------------------------------------------------
- # Wether or not to check on world change
- # Should only be used if you do per world rewards
- CheckOnWorldChange: false
- # Debug
- Debug: false
- # Extra Debug
- # Only needed in extreme cases
- ExtraDebug: false
- # Debug info ingame
- # Players with permission "VotingPlugin.Debug"
- # will see debug info if debug is true
- DebugInGame: false
- # Will log debug messages to VotingPlugin/Log/log.txt
- # Requires Debug to be on
- LogDebugToFile: false
- # Options for request api
- # Current methods
- # ANVIL
- # BOOK
- # CHAT
- # This is mainly used for admin gui's to type in values
- RequestAPI:
- DefaultMethod: 'Anvil'
- DisabledMethods: []
- # Wether or not to log every vote to a file
- # Use this if you wanna track player votes
- # Not recommended though
- LogVotesToFile: false
- # Delay between background updates like signs and more
- # Default: 3 Minutes
- # Longer times result in longer wait in stuff updating after a vote, like topvoter
- DelayBetweenUpdates: 10
- # Set to true to disable no service site message on voting
- # You should never have to touch this if everything is setup properly
- DisableNoServiceSiteMessage: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement