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