· 6 years ago · Oct 31, 2019, 01:36 AM
1# VotingPlugin by Ben12345rocks
2# Main Config
3# See wiki for help:
4# https://github.com/Ben12345rocks/VotingPlugin/wiki
5# Config is sorted in sections
6# Use Control + F to search with Notepad++
7#
8# Valid Options:
9# - SQLITE
10# - FLAT
11# - MYSQL
12DataStorage: MYSQL
13
14# Information for mysql
15# See the end of the config for cache options
16MySQL:
17 Host: 'sql3.freemysqlhosting.net'
18 # Default port is 3306
19 Port: 3306
20 Database: 'sql3310066'
21 Username: 'sql3310066'
22 Password: 'H79aCuUkQ6'
23 # Max number of connections
24 MaxConnections: 1
25 # Maxium size of caching mysql
26 # -1 for no limit
27 # Affecting this value may affect performance
28 MaxSize: -1
29 # Table name prefix, for use with mutliple servers
30 Prefix: 'network8'
31 #UseSSL: true
32
33# Let players who never joined before vote
34# Recommend: False (Will prevent creating random user data)
35AllowUnjoined: false
36
37# Use server lookup for when allowunjoined is set to false
38# Recommend leaving enabled unless you face issues
39AllowUnJoinedCheckServer: true
40
41# ------------------------------------------------
42# VoteReminding
43# ------------------------------------------------
44
45# Configuration for VoteReminding
46# By default this should be all setup to work
47# as long as vote delays are done properly
48VoteReminding:
49 # Enable vote reminding
50 # This will remind player when he can vote on all sites
51 # Requires VoteDelays to be setup properly
52 # Use /vote next to see when you can be reminded
53 # Players require the perm "VotingPlugin.Login.RemindVotes" or "VotingPlugin.Player"
54 Enabled: true
55
56 # Whether or not to remind only once when the player can vote
57 # Does not apply to login reminds.
58 RemindOnlyOnce: false
59
60 # Will remind player on login if he can vote
61 # Ignores value above
62 RemindOnLogin: false
63
64 # Delay to remind votes in minutes
65 # Only works if above is false
66 RemindDelay: 15
67
68 # Run reward files on remind
69 # By default, the reward file will be created for you
70 # and have the default message
71 # Edit the message at AdvancedCore/Rewards/Remind.yml (or any other reward listed)
72 # Can add titles and more in the reward file
73 Rewards:
74 Messages:
75 Player: "\n&7It looks like you have not &cvoted &7for today, remember to &c/vote\n&7and get &cawesome rewards! \n"
76 Title:
77 Enabled: false
78 Title: '&cRemember to vote!'
79 SubTitle: '&aType /vote'
80 FadeIn: 10
81 ShowTime: 50
82 FadeOut: 10
83
84# ------------------------------------------------
85# Format
86# ------------------------------------------------
87
88# Common PlacesHolders:
89# Please Note: Not all are usable in all sections
90# Special PlaceHolders will be commented where available
91# %player% = player name
92# %SiteName% = vote site name
93#
94# Set Message to '' (2 ') to disable message
95
96Commands:
97 # Whether or not the following commands will open GUIs rather than display text
98 UseGUI:
99 Today: true
100 TopVoter: true
101 Last: true
102 Next: true
103 Total: true
104 Vote: true
105 Best: true
106 Streak: true
107 # If true, you can right click a votesite from /vote (gui version) and open the vote reward gui for that site
108 # Can be used to display rewards for that site
109 VoteRewardFromVoteURL: false
110 # disable /vote reward commands
111 # Effective after restart
112 DisableVoteRewardGUIs: false
113
114Format:
115 # CommandHandler help message
116 HelpLine: '&c&l%Command% - &7%HelpMessage%'
117
118 # Broadcast vote message
119 # Set to an empty message to disable
120 BroadcastMsg: '&c&lVOTE &7&m--&7&l> &c%player% &7just &cvoted &7and got the &crewards'
121
122 # Broadcast only when player is online
123 BroadcastWhenOnline: true
124
125 Commands:
126 # Format for /vote
127 # %num% = the number of the site, for a numbered list
128 # %url% = site URL
129 Vote:
130 Text:
131 - ' &c&mI&8&m-----------------------------------&c&mI'
132 - ' &c&lRewards'
133 - ' &c&mI&8&m-----------------------------------&c&mI'
134 - ' &c1000$ per Vote &7- 100% chance '
135 - ' &c1 Vote Crate Key &7- 70% chance '
136 - ' &c&mI&8&m-----------------------------------&c&mI'
137 - ' &c&lVoting Links'
138 - ' &c&mI&8&m-----------------------------------&c&mI'
139 - ' &7Go to our website to &cvote &7on all the links'
140 - ' &chttps://DerelictGaming.net/vote &7(Left Click)'
141 - ' &c&mI&8&m-----------------------------------&c&mI'
142 - ' &7Your montly votes: &c%VotingPlugin_Total_Monthly% '
143 - ' &c&mI&8&m-----------------------------------&c&mI'
144
145 # If you want to want to use the feature below where the plugin will
146 # automaticly list the sites then set the message in the text above
147 AutoInputSites: false
148 # For each VoteSite
149 # make sure to set VoteURL in your VoteSites
150 # Requires above to be true
151 # Text will be sent before this
152 Sites: '&4%num%: &c&l%SiteName% - &c%url%'
153
154 # Format for /vote next
155 Next:
156 # First line
157 Title: '&c&l%player% &7Next Votes:'
158
159 # How each line is setup for each vote site
160 # %info% = Info - See Below
161 # %SiteName% = site name from vote
162 Layout: '&c%SiteName%: &7%info%'
163
164 Info:
165 # Message when player can vote
166 CanVote: 'Can Vote!'
167 # Time until vote msg
168 # %hours% = hours until next vote
169 # %minutes% = minutes until next vote
170 TimeUntilVote: '%hours% Hours and %minutes% Minutes'
171 # If there is an error finding out time until next vote
172 Error: '&cCould not caculate time until next vote!'
173 # For sites that have this, requires votedelaydaily to be set to true in the site
174 VoteDelayDaily: '%hours% Hours and %minutes% Minutes'
175
176 # Format for /vote last
177 Last:
178 # First line
179 Title: '&c&l%player% &7Last Vote Times:'
180 # Lines for each vote site
181 # %time% = time, using timeformat below
182 # %timesince% = time since vote
183 Line: '&c%SiteName%: &7%timeSince%'
184 # Spelling of TimeType can be changed under Format.Commands.TimeFormats
185 TimeFormat: '%amount% %TimeType%'
186 LastVoted: '%times% ago'
187 NeverVoted: 'Never voted'
188
189 # Format for /vote total
190 Total:
191 - '&c&l%player% Total Votes:'
192 - '&c&lDaily Total: &7&l%DailyTotal%'
193 - '&c&lWeekly Total: &7&l%WeeklyTotal%'
194 - '&c&lMonthly Total: &7&l%MonthlyTotal%'
195 - '&c&lAllTime Total: &7&l%AllTimeTotal%'
196
197 # Format for /vote total all
198 TotalAll:
199 - '&c&lServer Total Votes:'
200 - '&c&lDaily Total: &7&l%DailyTotal%'
201 - '&c&lWeekly Total: &7&l%WeeklyTotal%'
202 - '&c&lMonthly Total: &7&l%MonthlyTotal%'
203 - '&c&lAllTime Total: &7&l%AllTimeTotal%'
204
205 # Format for /vote top
206 Top:
207 # First line
208 # %page% = current page
209 # %maxpages% = max number of pages
210 # %Top% = Monthly/Weekly/Daily (depending on command)
211 Title: '&cTop %Top% Voters %page%/%maxpages%'
212 # Line for each player in that page
213 Line: '&c%num%: &6%player%, %votes%'
214
215 # Format for /vote help
216 Help:
217 # Title of /vote help
218 Title: '&c&lVoting Player Help'
219 # Format for help message in /v help
220 Line: '&c&l%Command% - &7%HelpMessage%'
221 # Require permission to see command in /v help or /av help
222 RequirePermission: true
223
224 Best:
225 Title: '&3&l%player% Best Votes'
226 Lines:
227 - '&cHighest Daily Total: &7&l%HighestDailyTotal%'
228 - '&cHighest Week Total: &7&l%HighestWeeklyTotal%'
229 - '&cHighest Month Total: &7&l%HighestMonthlyTotal%'
230
231 Streak:
232 Title: '&c&l%player% Vote Streak'
233 Lines:
234 - '&cCurrent Daily Streak: &7&l%DailyStreak%'
235 - '&cCurrent Week Streak: &7&l%WeeklyStreak%'
236 - '&cCurrent Month Streak: &7&l%MonthlyStreak%'
237 - '&c&lHighest Streaks:'
238 - '&cHighest Daily Streak: &7&l%BestDailyStreak%'
239 - '&cHighest Week Streak: &7&l%BestWeeklyStreak%'
240 - '&cHighest Month Streak: &7&l%BestMonthlyStreak%'
241
242 Today:
243 Line: '&c%player% : %VoteSite% : %Time%'
244
245 # PlaceHolders:
246 # %VotesRequired% = VotesRequired
247 # %NeededVotes% = Number of votes needed to reach VotesRequired
248 # %Votes% = Number of votes
249 Party:
250 - '&cCurrently at &6%Votes%&c, &6%NeededVotes% &cmore votes to go to reach &6%VotesRequired%'
251
252 # %Points% = player points
253 Points: '&a%Player% currently has &a&l%Points%&a Points!'
254
255 ToggleBroadcasts:
256 Enabled: '&cYou will now see vote broadcasts'
257 Disabled: '&cYou will no longer see vote broadcasts'
258
259 # Msg on top voter award, will only send message if that place has a reward set
260 # %place% = place - 1,2,3,etc
261 TopVoterAwardMsg: '&aYou came in %place% in top voters of the month! Here is an award!'
262
263 # Time Format
264 # See https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html
265 TimeFormat: 'EEE, d MMM yyyy HH:mm'
266
267 TimeFormats:
268 Day: 'Day'
269 Days: 'Days'
270 Hour: 'Hour'
271 Hours: 'Hours'
272 Minute: 'Minute'
273 Minutes: 'Minutes'
274 Second: 'Second'
275 Seconds: 'Seconds'
276
277 # Format for signs
278 # SiteName may be all, depending on sign
279 # %position% = position of player, set by sign
280 # %votes% = Number of votes
281 Signs:
282 TopVoterSign:
283 Line1: 'TopVoter: %SiteName%'
284 Line2: '#%position%'
285 Line3: '%player%'
286 Line4: '%votes% Votes'
287 # Message when right clicking sign, uses same placeholders as above
288 RightClickMessage: '&c&l%player% &cis &c&l%position% &cwith &c&l%votes% &cvotes in &c&l%SiteName%'
289
290 # Message when player tries to run command without required permissions
291 NoPerms: '&cYou do not have enough permission!'
292
293 # Message when player types a command but does not input a number where needed
294 NotNumber: '&cError on &6%arg%&c, number expected!'
295
296 # Shop messages when using the /vote shop
297 ShopPurchase: '&aYou bought the %Identifier% for %Points% Points!'
298 ShopFailed: '&cYou do not have %Points% points to purchase this!'
299
300 # User not exist message, from commands such as /vote next (player)
301 UserNotExist: '&cUser does not exist: %player%'
302
303 # Prev/Next page tems in GUIs
304 PrevItem:
305 Material: 'BLACK_STAINED_GLASS_PANE'
306 Amount: 1
307 Name: '&aPrevious Page'
308
309 NextItem:
310 Material: 'BLACK_STAINED_GLASS_PANE'
311 Amount: 1
312 Name: '&aNext Page'
313
314 InvFull: '&cInventory full, dropping items on ground'
315
316 # Display text
317 # Used in /vote top (GUI)
318 TopVoter:
319 Daily: 'Daily'
320 Weekly: 'Weekly'
321 Monthly: 'Monthly'
322 AllTime: 'AllTime'
323
324# ------------------------------------------------
325# GUI Options
326# ------------------------------------------------
327
328# Enable command for last month gui
329# Requires restart to take effect
330LastMonthGUI: false
331
332# Configure GUI's here
333# 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)
334# Item Material's can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
335GUI:
336 # GUI for /vote gui, /vgui, votegui
337 VoteGUI:
338 # Items will be orders as it is below
339 URL:
340 # Standard item format, lore is automaticly applied
341 Item:
342 Material: 'BOW'
343 Data: 0
344 Amount: 1
345 Name: '&cVOTE'
346 # You can set skulls of the player using the following
347 # Remove the # to enable
348 #Skull: '%Player%'
349 Next:
350 Item:
351 Material: 'COMPASS'
352 Data: 0
353 Amount: 1
354 Name: '&cNext'
355 Last:
356 Item:
357 Material: 'CLOCK'
358 Data: 0
359 Amount: 1
360 Name: '&cLast'
361 Total:
362 Item:
363 Material: 'CHEST'
364 Data: 0
365 Amount: 1
366 Name: '&cTotal'
367 Top:
368 Item:
369 Material: 'SIGN'
370 Data: 0
371 Amount: 1
372 Name: '&cTop'
373 Today:
374 Item:
375 Material: 'BOOK'
376 Data: 0
377 Amount: 1
378 Name: '&cToday'
379 Shop:
380 Item:
381 Material: 'DIAMOND'
382 Data: 0
383 Amount: 1
384 Name: '&cVote Shop'
385 Lore:
386 - '&aYou currently have %points% points'
387
388 # GUI for /vote url
389 # And /vote if enabled in Config.yml
390 VoteURL:
391 # GUI Name
392 Name: '&cVoteURL'
393 BackButton: true
394 SiteName: '&c%Name%'
395 SeeURL: '&cClick to see URL'
396 NextVote: '&cCan Vote In: %Info%'
397 ViewAllUrlsButtonEnabled: true
398 AllUrlsButton:
399 RequireAllSitesVoted: true
400 AlreadyVotedItem:
401 Material: 'REDSTONE_BLOCK'
402 Data: 0
403 Amount: 1
404 Name: '&cAll Voting Sites'
405 Lore:
406 - '&7Click Me'
407 CanVoteItem:
408 Material: 'EMERALD_BLOCK'
409 Data: 0
410 Amount: 1
411 Name: '&cAll Voting Sites'
412 Lore:
413 - '&7Click Me'
414 AlreadyVotedItem:
415 Material: 'REDSTONE_BLOCK'
416 Data: 0
417 Amount: 1
418 CanVoteItem:
419 Material: 'EMERALD_BLOCK'
420 Data: 0
421 Amount: 1
422 URLText: '%VoteUrl%'
423
424 VoteRewardBackButton: false
425 # Customize /vote reward
426 # Show players what you get when you vote on each site
427 VoteReward:
428 # Name of votesite
429 ExampleVoteSite:
430 # items in /vote reward sitename
431 Items:
432 # Item
433 # This is not the item display name
434 # Do not have 2 of the same items
435 Diamond:
436 # Item ID
437 Material: 'DIAMOND'
438 # Item Data (Eg 1:4, data is 4)
439 Data: 0
440 # Amount of items
441 # Should be greater than 0
442 Amount: 1
443 # Item name
444 # Remove this line for no name
445 Name: '&4Example'
446 # Lore
447 # Remove this line for no lore
448 Lore:
449 - '&4Line 1'
450 VoteLast:
451 Name: 'VoteLast: %player%'
452 BackButton: true
453 VoteNext:
454 Name: 'VoteNext: %player%'
455 BackButton: true
456 VoteToday:
457 Name: 'VoteToday'
458 BackButton: true
459 VoteTop:
460 Name: 'VoteTop %topvoter%'
461 BackButton: false
462 Item:
463 Name: '&c&l%position%: &7%player%'
464 Lore: '&c&lVotes: &7%votes%'
465 SwitchItem:
466 Name: 'Switch TopVoter'
467 Lore: 'Currently: %Top%'
468 Material: 'SIGN'
469 Amount: 1
470 # 8 Slots over from the bottom left
471 Slot: 7
472 # Number of topvoters to display on page +9
473 # 9 Slots on the botton are used for page buttons
474 Size: 27
475 # If true, /vote top will show player heads
476 UseSkull: true
477 # Item for player in GUI if use skull is false
478 PlayerItem:
479 Material: 'PAPER'
480 VoteTotal:
481 Name: 'VoteTotal: %player%'
482 BackButton: true
483 DayTotal:
484 Item:
485 Material: 'CLOCK'
486 Name: '&cDaily Total'
487 Lore: '&c&lTotal: &c%Total%'
488 Amount: 1
489 WeekTotal:
490 Item:
491 Material: 'CLOCK'
492 Name: '&cWeekly Total'
493 Lore: '&c&lTotal: &c%Total%'
494 Amount: 1
495 MonthTotal:
496 Item:
497 Material: 'CLOCK'
498 Name: '&cMonthly Total'
499 Lore: '&c&lTotal: &c%Total%'
500 Amount: 1
501 AllTimeTotal:
502 Item:
503 Material: 'CLOCK'
504 Name: '&cAllTime Total'
505 Lore: '&c&lTotal: &c%Total%'
506 Amount: 1
507 VoteBest:
508 Name: 'VoteBest: %player%'
509 DayBest:
510 Item:
511 Material: 'CLOCK'
512 Name: '&cDaily Best'
513 Lore: '&c&lBest: &c%Best%'
514 Amount: 1
515 WeekBest:
516 Item:
517 Material: 'CLOCK'
518 Name: '&cWeekly Best'
519 Lore: '&c&lBest: &c%Best%'
520 Amount: 1
521 MonthBest:
522 Item:
523 Material: 'CLOCK'
524 Name: '&cMonthly Best'
525 Lore: '&c&lBest: &c%Best%'
526 Amount: 1
527 VoteStreak:
528 Name: 'VoteStreak: %player%'
529 BackButton: false
530 CurrentDayStreak:
531 Item:
532 Material: 'CLOCK'
533 Name: '&cCurrent Daily Streak'
534 Lore: '&c&lStreak: &c%Streak%'
535 Amount: 1
536 CurrentWeekStreak:
537 Item:
538 Material: 'CLOCK'
539 Name: '&cCurrent Weekly Streak'
540 Lore: '&c&lStreak: &c%Streak%'
541 Amount: 1
542 CurrentMonthStreak:
543 Item:
544 Material: 'CLOCK'
545 Name: '&cCurrent Monthly Streak'
546 Lore: '&c&lStreak: &c%Streak%'
547 Amount: 1
548 HighestDayStreak:
549 Item:
550 Material: 'CLOCK'
551 Name: '&cHighest Daily Streak'
552 Lore: '&c&lStreak: &c%Streak%'
553 Amount: 1
554 HighestWeekStreak:
555 Item:
556 Material: 'CLOCK'
557 Name: '&cHighest Weekly Streak'
558 Lore: '&c&lStreak: &c%Streak%'
559 Amount: 1
560 HighestMonthStreak:
561 Item:
562 Material: 'CLOCK'
563 Name: '&cHighest Monthly Streak'
564 Lore: '&c&lStreak: &c%Streak%'
565 Amount: 1
566 VoteURLSite:
567 Name: 'VoteSite: %site%'
568 VoteGUIName: '&cVoteGUI: &c&l%player%'
569 VoteRewardName: 'VoteReward'
570 VoteShopName: 'VoteShop'
571
572BackButton:
573 Material: 'PAPER'
574 Data: 0
575 Amount: 1
576 Name: '&8Back to VoteGUI'
577
578VoteShopBackButton: true
579VoteShopEnabled: true
580# Hide items in vote shop which user can not buy
581VoteShopHideLimitedReached: true
582# Requires above to be false
583VoteShopLimitReached: '&aYou reached your limit'
584Shop:
585 # Identifier
586 # Used in placeholders for formats
587 Diamond:
588 # Item
589 Material: 'DIAMOND'
590 Data: 0
591 Amount: 1
592 Name: '&4Buy A Diamond'
593 # You can set skulls of the player using the following
594 # Remove the # to enable
595 #Skull: '%Player%'
596 Lore:
597 - '&c&lCost: &c3 Voting Points'
598 # Number of voting points this cost
599 Cost: 3
600 # Permission required, leave blank for no permission
601 Permission: ''
602 # Limit how many times you can buy this
603 #Limit: 3
604 # If true, item is not buyable
605 #NotBuyable: false
606 # Rewards to run if player buys successfully
607 Rewards:
608 Items:
609 Diamond:
610 Material: 'DIAMOND'
611 Amount: 1
612
613# ------------------------------------------------
614# Extra Rewards
615# ------------------------------------------------
616
617# To disable reward set value to []
618# Eg:
619# FirstVote: [] (All in one line)
620# By default all rewards are disabled
621
622# First vote rewards
623FirstVote:
624 Messages:
625 Player: '&7You &cvoted &7for your first time here is an extra &c$100&7!'
626 Money: 100
627Rewards:
628 Commands:
629 - '/eco give %player% 1000'
630# All vote rewards
631# Reward for voting on all sites in one day
632AllSites:
633 Messages:
634 Player: '&7You &cvoted &7on all the sites today!'
635
636Cumulative:
637 # Number of votes required
638 # Allows multiple cumulative rewards
639 # Number be be around ' (E.g. '1')
640 # Can have multiple listed here
641 '20':
642 Enabled: false
643 # Wether or not votes must be made in same day/week
644 # Useful if you want to require a certain number of voting sites to be voted on
645 # for a daily/weekly reward instead of all of them
646 VotesInSameDay: false
647 VotesInSameWeek: false
648 Rewards:
649 Messages:
650 Player: '&aYou got %cumulative% cumulative votes!'
651
652VoteParty:
653 # Wether or not vote party is enabled
654 Enabled: false
655 # Number of votes required to give rewards
656 VotesRequired: 20
657 # Increase the amount of votes required on each vote party reached
658 #IncreaseVotesRquired: 10
659 # If true, players who did not vote to reach the votes required will
660 # recieve the reward
661 GiveAllPlayers: false
662 # If true, the vote count will reset each day
663 ResetEachDay: false
664 # Reset at the end of the month
665 ResetMonthly: false
666 # Count votes from /av vote?
667 CountFakeVotes: true
668 # Number of user votes that apply to vote party total the user needs to get rewards
669 UserVotesRequired: 0
670 # Broadcast when vote party reached
671 Broadcast: '&cReached the vote party amount!'
672 # List of commands to execute, these only execute once.
673 # %player% does not work here
674 Commands: []
675 # Rewards to give per player
676 Rewards:
677 Commands:
678 - say %player%
679 Items:
680 DIAMOND:
681 Material: 'DIAMOND'
682 Amount: 1
683
684# Reset milestones at end of the month
685ResetMilestonesMonthly: false
686
687MileStones:
688 # Number of votes required
689 # Allows multiple milestones
690 # Number be around ' (E.g. '1')
691 # Can have multiple listed here
692 '20':
693 Enabled: false
694 Rewards:
695 Messages:
696 Player: '&aYou got %milestone% milestone votes!'
697
698VoteStreak:
699 # Valid options: Day, Week, Month
700 Day:
701 # Number of days in a row
702 # Each day requires one vote
703 # Add a - to give a reward for every multiple (e.g. 2- = 2,4,6,8, and so on)
704 '2':
705 # Enabled or not
706 Enabled: false
707 # Rewards to give
708 Rewards:
709 Messages:
710 Player: "&aYou voted for %Streak% %Type%'s in a row!"
711 Week:
712 # Number of weeks in a row
713 # Requires atleast one vote per week
714 '2':
715 # Enabled or not
716 Enabled: false
717 # Rewards to give
718 Rewards:
719 Messages:
720 Player: "&aYou voted for %Streak% %Type%'s in a row!"
721 Month:
722 # Number of months in a row
723 # Requires atleast 1 vote per month
724 '2':
725 # Enabled or not
726 Enabled: false
727 # Rewards to give
728 Rewards:
729 Messages:
730 Player: "&aYou voted for %Streak% %Type%'s in a row!"
731 Requirement:
732 # Require certain percentage of votes
733 UsePercentage: false
734 # Percentage requirements of votes
735 # 50 = %50
736 Day: 50
737 Week: 50
738 Month: 50
739
740# Reward given when vote cooldown ended
741VoteCoolDownEndedReward: []
742
743
744# ONLY USE THIS FOR TITLES/SOUNDS AND OTHER EFFECTS
745# IT WILL ONLY RUN ONE TIME FOR ANY NUMBER OF OFFLINE VOTES (3 offline votes = 1 AnySiteReward)
746# Any reward files listed here are ran on vote of any site
747# It is recommended to add rewards to each site instead of here
748# Using forceoffline won't work here
749# Use EverySiteReward in VoteSites.yml for a global reward for each site
750AnySiteRewards: []
751
752
753# ------------------------------------------------
754# Top Voter
755# ------------------------------------------------
756
757# Top voter blacklist
758# Hide these names from top voter lists
759BlackList:
760- 'Notch'
761
762# If true players with the permission 'VotingPlugin.TopVoter.Ignore' will act
763# as if there name was added on the the blacklist above
764# This also applies for players with op
765TopVoterIgnorePermission: false
766
767# /vote top default data displayed
768# Valid Options: AllTime, Monthly, Weekly, Daily
769VoteTopDefault: Monthly
770
771# Whether or not to have ties on top voter rewards
772TopVoterAwardsTies: true
773
774# These are required to be enabled in order for top voter awards to work
775LoadTopVoter:
776 AllTime: true
777 Monthly: true
778 Weekly: false
779 Daily: false
780
781# When top voter awards are given (even if there are none listed) it will store top voters
782# Files will created in TopVoters folder.
783StoreTopVoters:
784 Monthly: true
785 Weekly: false
786 Daily: false
787
788EnableMonthlyAwards: true
789# Rewards to give
790MonthlyAwards:
791 # Position. 1 is first in top voter, 2 is second, etc...
792 # Using 1-10 will reward players in first to tenth place with the same reward
793 1:
794 Rewards:
795 Messages:
796 Player: '&aYou came in first place in %TopVoter%!'
797 2:
798 Rewards:
799 Messages:
800 Player: '&aYou came in second place in %TopVoter%!'
801
802EnableWeeklyAwards: false
803# Rewards to give on weekly top voter
804WeeklyAwards:
805 # Position. 1 is first in top voter, 2 is second, etc...
806 1:
807 Rewards:
808 Messages:
809 Player: '&aYou came in first place in %TopVoter%!'
810 2:
811 Rewards:
812 Messages:
813 Player: '&aYou came in second place in %TopVoter%!'
814
815EnableDailyRewards: false
816# Rewards to give on daily top voter
817DailyAwards:
818 # Position. 1 is first in top voter, 2 is second, etc...
819 1:
820 # Reward files to give
821 Rewards:
822 Messages:
823 Player: '&aYou came in first place in %TopVoter%!'
824 2:
825 Rewards:
826 Messages:
827 Player: '&aYou came in second place in %TopVoter%!'
828
829# ------------------------------------------------
830# Advanced
831# Most of these values can be left untouched for most setups
832# ------------------------------------------------
833
834# Number of points to give on vote
835# Set to 0 to give no points
836PointsOnVote: 1
837
838# Set this to false to disable the plugin adding totals
839# Not really recommended
840AddTotals: true
841
842# Click sound when using gui
843# Set to none for no sound
844ClickSound:
845 Sound: 'UI_BUTTON_CLICK'
846 Volume: 1.0
847 Pitch: 1.0
848
849# Limit monthly votes to number of days of a month multipled by the number of sites
850LimitMonthlyVotes: false
851
852######################
853# Debug
854######################
855
856# Debug levels:
857# NONE
858# INFO
859# EXTRA
860DebugLevel: EXTRA
861
862# Debug info ingame
863# Players with permission "VotingPlugin.Debug"
864# will see debug info if debug is true
865DebugInGame: false
866
867# Will log debug messages to VotingPlugin/Log/log.txt
868# Only needed for extreme cases
869#LogDebugToFile: false
870
871# Whether or not to log every vote to a file
872# Use this if you wanna track player votes
873# Not recommended though
874LogVotesToFile: false
875
876# Only update in the background when needed when set to false
877AlwaysUpdate: true
878
879# Update in the background only if players are online
880UpdateWithPlayersOnlineOnly: false
881
882# Delay between background updates like signs and more
883# Default: 3 Minutes
884# Longer times result in longer wait in stuff updating after a vote, like topvoter
885DelayBetweenUpdates: 3
886
887# Set to true to disable no service site message on voting
888# You should never have to touch this if everything is setup properly
889# Will also disable a few other warnings about vote sites
890DisableNoServiceSiteMessage: false
891
892# Count fake votes
893# If true fake votes will give points and totals
894CountFakeVotes: true
895
896# Give VotingPlugin.Player by default
897# Requires restart to take affect
898GiveDefaultPermission: true
899
900# Remove old player files
901# Happens on startup or /av purge
902PurgeOldData: false
903
904# Minimum number of days offline in order to purge
905PurgeMin: 90
906
907# Whether or not to create daily backups. (Only the most recent ones get kept)
908CreateBackups: true
909
910# If true, plugin will send scoreboards on some commands
911SendScoreboards: true
912
913# If true, plugin will automaticly generate votesites
914# Disable this if you experience issues with sites being created randomly
915# Most cases this will work all the time
916AutoCreateVoteSites: true
917
918# Automaticly download the latest version
919# Will require a restart to actually update
920# Note: It takes 30-40 minutes before being able to download the latest build
921# You can also use /av download
922AutoDownload: false
923
924# Whether or not to disable update checks
925DisableUpdateChecking: false
926
927# Allow transfer of vote points between players
928AllowVotePointTransfers: false
929
930# Disable this on a hub server for example
931# Still processes rewards for offline rewards (just won't give any)
932ProcessRewards: true
933
934# Disable checking permissions on tab complete
935DisableAdvancedTab: false
936
937# Load command aliases, such as /avgui
938# Requires restart to take effect
939LoadCommandAliases: true
940
941# Wait until user is logged in with AuthMe
942# Requires AuthMe
943WaitUntilLoggedIn: true
944
945# Preload skulls to improve performance
946# If false, skulls will be cached as they are used
947PreloadSkulls: false
948
949# Setting to false disables saving skulls in a cache to improve speeds
950# Will reduce ram usage if disabled
951LoadSkulls: true
952
953# Use vault for permission checks
954# May not work on some plugins
955UseVaultPermissions: false
956
957# Plugin using bungee, requires plugin on bungee server
958UseBungeecoord: false
959
960# What server this is in bungee (must match)
961# Also can be applied to rewards
962Server: Survival
963
964# Get the plugin to broadcast to all servers
965BungeeBroadcast: false
966
967# List of disabled commands from /vote
968# List the specific permission
969# E.g:
970# - PERMISSION
971DisabledCommands: []
972
973# ---------------------------------------------------------
974# Mysql cache options
975# Clearing cache forces the plugin to pull from database
976# ---------------------------------------------------------
977
978# Clear cache on update, setting to true reduces update speed
979ClearCacheOnUpdate: true
980
981# Clear mysql on player join always
982ClearCacheOnJoin: true
983
984# Clears cache for the player who voted only
985# Only effects if using mysql
986# Would recommend for some bungee setups
987ClearCacheOnVote: true
988
989# Will force GUI's to close on every click
990AlwaysCloseInventory: false
991
992# ###############################################################
993# Deprecated options, don't recommend using any of these
994
995# Options for request api
996# Current methods:
997# ANVIL
998# BOOK
999# CHAT
1000# This is mainly used for admin gui's to type in values
1001RequestAPI:
1002 DefaultMethod: 'Anvil'
1003 DisabledMethods: []
1004
1005# Shouldn't need to change this
1006#AutoKillInvs: true
1007
1008# Disable checking on world change
1009# May improve performance
1010#DisableCheckOnWorldChange: false