Guest User

Untitled

a guest
Feb 2nd, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 22.04 KB | None | 0 0
  1. # VotingPlugin by Ben12345rocks
  2.  
  3. # Main Config
  4.  
  5. # See wiki for help:
  6.  
  7. # https://github.com/Ben12345rocks/VotingPlugin/wiki
  8.  
  9.  
  10.  
  11. # Valid Options:
  12.  
  13. # - SQLITE
  14.  
  15. # - FLAT
  16.  
  17. # - MYSQL
  18.  
  19. DataStorage: FLAT
  20.  
  21.  
  22.  
  23. # Information for mysql
  24.  
  25. MySQL:
  26.   Host: 'la.mysql.anvilnode.com'
  27.  
  28.   # Default port is 3306
  29.  
  30.   Port: 3306
  31.  
  32.   Database: 'mc_7591'
  33.  
  34.   Username: 'mc_7591'
  35.  
  36.   Password: '4cc5c4e8b5'
  37.  
  38.   # Max number of connections
  39.  
  40.   MaxConnections: 1
  41.  
  42.  
  43.  
  44. # Whether or not to check on world change
  45.  
  46. # Should only be used if you do per world rewards
  47.  
  48. CheckOnWorldChange: false
  49.  
  50.  
  51.  
  52. # Debug
  53.  
  54. Debug: false
  55.  
  56.  
  57.  
  58. # Debug info in-game
  59.  
  60. # Players with permission "VotingPlugin.Debug"
  61.  
  62. # will see debug info if debug is true
  63.  
  64. DebugInGame: false
  65.  
  66.  
  67.  
  68. # Will log debug messages to Advanced/Log/log.txt
  69.  
  70. # Requires Debug to be on
  71.  
  72. LogDebugToFile: false
  73.  
  74.  
  75.  
  76. # Options for request api
  77.  
  78. # Current methods
  79.  
  80. # ANVIL
  81.  
  82. # BOOK
  83.  
  84. # CHAT
  85.  
  86. # This is mainly used for admin gui's to type in values
  87.  
  88. RequestAPI:
  89.   DefaultMethod: 'CHAT'
  90.  
  91.   DisabledMethods: []
  92.  
  93.  
  94.  
  95. # Broadcast votes
  96.  
  97. BroadcastVote: true
  98.  
  99.  
  100.  
  101. # Let players who never joined before vote
  102.  
  103. # Recommend: False (Will prevent creating random user data files)
  104.  
  105. AllowUnjoined: false
  106.  
  107.  
  108.  
  109. # If true, plugin will send scoreboards on some commands
  110.  
  111. SendScoreboards: true
  112.  
  113.  
  114.  
  115. # If true, plugin will automaticly generate votesites
  116.  
  117. # Disable this if you experience issues with sites being created randomly
  118.  
  119. AutoCreateVoteSites: true
  120.  
  121.  
  122.  
  123. # Whether or not to log every vote to a file
  124.  
  125. # Use this if you wanna track player votes
  126.  
  127. # Not recommended though
  128.  
  129. LogVotesToFile: false
  130.  
  131.  
  132.  
  133. # Setting this to true will improve performance at a cost of RAM
  134.  
  135. # Only use if you don't have many players on your server
  136.  
  137. PreLoadUsers: false
  138.  
  139.  
  140.  
  141. # Delay between background updates like signs and more
  142.  
  143. # Default: 3 Minutes
  144.  
  145. # Longer times result in longer wait in stuff updating after a vote
  146.  
  147. # REQUIRES A RESTART TO TAKE EFFECT
  148.  
  149. DelayBetweenUpdates: 3
  150.  
  151.  
  152.  
  153. # Set to true to disable no service site message on voting
  154.  
  155. # You should never have to touch this if everything is setup properly
  156.  
  157. DisableNoServiceSiteMessage: false
  158.  
  159.  
  160.  
  161. # ------------------------------------------------
  162.  
  163. # VoteReminding
  164.  
  165. # ------------------------------------------------
  166.  
  167.  
  168.  
  169. # Configuration for VoteReminding
  170.  
  171. # By default this should be all setup to work
  172.  
  173. # as long as vote delays are done properly
  174.  
  175. VoteReminding:
  176.   # Enable vote reminding
  177.  
  178.   # This will remind player when he can vote on all sites
  179.  
  180.   # Requires VoteDelay's to be setup properly
  181.  
  182.   # Use /vote next to see when you can be reminded
  183.  
  184.   # Players require the perm "VotingPlugin.Login.RemindVotes" or "VotingPlugin.Player"
  185.  
  186.   Enabled: true
  187.  
  188.  
  189.  
  190.   # Whether or not to remind only once when the player can vote
  191.  
  192.   # Does not apply to login reminds.
  193.  
  194.   RemindOnlyOnce: true
  195.  
  196.  
  197.  
  198.   # Will remind player on login if he can vote
  199.  
  200.   # Ignores value above
  201.  
  202.   RemindOnLogin: true
  203.  
  204.  
  205.  
  206.   # Delay to remind votes in minutes
  207.  
  208.   # Only works if above is false
  209.  
  210.   # Every 24 hours is 1440 min
  211.  
  212.   RemindDelay: 1440
  213.  
  214.  
  215.  
  216.   # Run reward files on remind
  217.  
  218.   # By default, the reward file will be created for you
  219.  
  220.   # and have the default message
  221.  
  222.   # Edit the message at AdvancedCore/Rewards/Remind.yml (or any other reward listed)
  223.  
  224.   # Can add titles and more in the reward file
  225.  
  226.   Rewards:
  227.     Messages:
  228.       Player: '&aRemember to vote for in-game rewards!'
  229.  
  230.     Title:
  231.       Enabled: false
  232.  
  233.       Title: '&cRemember to vote!'
  234.  
  235.       SubTitle: '&aType /vote'
  236.  
  237.       FadeIn: 10
  238.  
  239.       ShowTime: 50
  240.  
  241.       FadeOut: 10
  242.  
  243.  
  244.  
  245. Commands:
  246.   # Whether or not the following commands will open GUIs rather than display text
  247.  
  248.   UseGUI:
  249.     Today: true
  250.  
  251.     TopVoter: true
  252.  
  253.     Last: true
  254.  
  255.     Next: true
  256.  
  257.     Total: true
  258.  
  259.     Vote: false
  260.  
  261.    
  262.  
  263. # ------------------------------------------------
  264.  
  265. # Format
  266.  
  267. # ------------------------------------------------
  268.  
  269.    
  270.  
  271. # Common PlacesHolders:
  272.  
  273. # Please Note: Not all are usable in all sections
  274.  
  275. # Special PlaceHolders will be commented where available
  276.  
  277. # %player% = player name  
  278.  
  279. # %SiteName% = vote site name
  280.  
  281. #
  282.  
  283. # Set Message to '' (2 ') to disable message
  284.  
  285.  
  286.  
  287. Format:
  288.   # Message when player tries to run command without required permissions
  289.  
  290.   NoPerms: 'You do not have permission!'
  291.  
  292.  
  293.  
  294.   # Message when player types a command but does not input a number where needed
  295.  
  296.   NotNumber: '&cError on &6%arg%&c, number expected!'
  297.  
  298.  
  299.  
  300.   # CommandHandler help message
  301.  
  302.   HelpLine: '&3&l%Command% - &3%HelpMessage%'
  303.  
  304.  
  305.  
  306.   # Broadcast vote message
  307.  
  308.   BroadcastMsg: ''
  309.  
  310.  
  311.  
  312.   # Broadcast only when player is online
  313.  
  314.   BroadcastWhenOnline: true
  315.  
  316.  
  317.  
  318.   Commands:
  319.     # Format for /vote
  320.  
  321.     # %num% = the number of the site, for a numbered list
  322.  
  323.     # %url% = site URL
  324.  
  325.     Vote:
  326.  
  327.       Text:
  328.       - '&6Voting Links:'
  329.  
  330.       - '&6-----------------------------------------------------'
  331.  
  332.       - '&21. &ahttp://topg.org/server-porkopolis-survival-id454344'
  333.  
  334.       - '&22. &ahttp://minecraftservers.org/server/359133'
  335.  
  336.       - '&23. &ahttps://tinyurl.com/ybv3cpan'
  337.  
  338.       - '&24. &ahttp://minecraft-mp.com/server/125751/vote/'
  339.  
  340.       - '&25. &ahttps://www.planetminecraft.com/server/porkopolis---no-grief-survival-server/vote/'
  341.  
  342.       - '&26. &ahttp://topminecraftservers.org/vote/3466'
  343.  
  344.       - '&9Vote for us every day for &bin-game rewards&9 and &bExp Boosts&9!'
  345.  
  346.       - '&6-----------------------------------------------------'
  347.  
  348.       - '&3Type /VoteGUI to see your total number of votes.'
  349.  
  350.       - '&6-----------------------------------------------------'
  351.  
  352.  
  353.  
  354.       # If you want to want to use the feature below where the plugin will
  355.  
  356.       # automaticly list the sites then set the message in the text above
  357.  
  358.       AutoInputSites: false
  359.  
  360.       # For each VoteSite
  361.  
  362.       # make sure to set VoteURL in your VoteSites
  363.  
  364.       # Requires above to be true
  365.  
  366.       # Text will be sent before this
  367.  
  368.       Sites: '&4%num%: &c&l%SiteName% - &c%url%'
  369.  
  370.      
  371.  
  372.       # Format for /vote next
  373.  
  374.       Next:
  375.  
  376.         # First line
  377.  
  378.         Title: '&3&l%player% Next Votes:'
  379.  
  380.        
  381.  
  382.         # How each line is setup for each vote site
  383.  
  384.         # %info% = Info - See Below
  385.  
  386.         # %SiteName% = site name from vote
  387.  
  388.         Layout: '&3%SiteName%: &6%info%'
  389.  
  390.        
  391.  
  392.         Info:
  393.           # Message when player can vote
  394.  
  395.           CanVote: 'Go Vote!'
  396.  
  397.           # Time until vote msg
  398.  
  399.           # %hours% = hours until next vote
  400.  
  401.           # %minutes% = minutes until next vote
  402.  
  403.           TimeUntilVote: '%hours% Hours and %minutes% Minutes'
  404.  
  405.           # If there is an error finding out time until next vote
  406.  
  407.           Error: '&cCould not caculate time until next vote!'
  408.  
  409.          
  410.  
  411.        # Format for /vote last
  412.  
  413.       Last:
  414.         # First line
  415.  
  416.         Title: '&3&l%player% Last Vote Times:'
  417.  
  418.         # Lines for each vote site
  419.  
  420.         # %time% = time, using timeformat below
  421.  
  422.         Line: '&3%SiteName%: &6%time%'
  423.  
  424.        
  425.  
  426.       # Format for /vote total
  427.  
  428.       Total:
  429.       - '&3&l%player% Total Votes:'
  430.  
  431.       - '&3&lDaily Total: &6&l%DailyTotal%'
  432.  
  433.       - '&3&lWeekly Total: &6&l%WeeklyTotal%'
  434.  
  435.       - '&3&lMonthly Total: &6&l%MonthlyTotal%'
  436.  
  437.       - '&3&lAllTime Total: &6&l%AllTimeTotal%'
  438.  
  439.        
  440.  
  441.       # Format for /vote total all  
  442.  
  443.       TotalAll:
  444.       - '&3&lServer Total Votes:'
  445.  
  446.       - '&3&lDaily Total: &6&l%DailyTotal%'
  447.  
  448.       - '&3&lWeekly Total: &6&l%WeeklyTotal%'
  449.  
  450.       - '&3&lMonthly Total: &6&l%MonthlyTotal%'
  451.  
  452.       - '&3&lAllTime Total: &6&l%AllTimeTotal%'
  453.  
  454.        
  455.  
  456.       # Format for /vote top
  457.  
  458.       Top:
  459.         # First line
  460.  
  461.         # %page% = current page
  462.  
  463.         # %maxpages% = max number of pages
  464.  
  465.         # %Top% = Monthly/Weekly/Daily (depending on command)
  466.  
  467.         Title: '&3Top %Top% Voters %page%/%maxpages%'
  468.  
  469.         # Line for each player in that page
  470.  
  471.         Line: '&c%num%: &6%player%, %votes%'
  472.  
  473.        
  474.  
  475.       # Format for /vote help
  476.  
  477.       Help:
  478.         # Title of /vote help
  479.  
  480.         Title: '&3&lVoting Player Help'
  481.  
  482.         # Format for help message in /v help
  483.  
  484.         Line: '&3&l%Command% - &3%HelpMessage%'
  485.  
  486.         # Require permission to see command in /v help or /av help
  487.  
  488.         RequirePermission: true
  489.  
  490.  
  491.  
  492.       # PlaceHolders:
  493.  
  494.       # %VotesRequired% = VotesRequired
  495.  
  496.       # %NeededVotes% = Number of votes needed to reach VotesRequired
  497.  
  498.       # %Votes% = Number of votes
  499.  
  500.       Party:
  501.       - '&cCurrently at &6%Votes%&c, &6%NeededVotes% &cmore votes to go to reach &6%VotesRequired%'
  502.  
  503.      
  504.  
  505.       # %Points% = player points
  506.  
  507.       Points: '&a%Player% currently has &a&l%Points%&a Points!'
  508.  
  509.      
  510.  
  511.   # Login message if player can vote on all sites
  512.  
  513.   # Must be enabled in config.yml  
  514.  
  515.   LoginMsg: '&cRemember to vote!'
  516.  
  517.  
  518.  
  519.   # Msg on top voter award, will only send message if that place has a reward set
  520.  
  521.   # %place% = place - 1,2,3,etc
  522.  
  523.   TopVoterAwardMsg: '&aYou came in %place% in top voters of the month! Here is an award!'
  524.  
  525.  
  526.  
  527.   # Time Format
  528.  
  529.   # See https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html
  530.  
  531.   TimeFormat: 'EEE, MMM d yyyy HH:mm'
  532.  
  533.  
  534.  
  535.   # Format for signs
  536.  
  537.   # SiteName may be all, depending on sign
  538.  
  539.   # %position% = position of player, set by sign
  540.  
  541.   # %votes% = Number of votes
  542.  
  543.   Signs:
  544.     TopVoterSign:
  545.       Line1: 'TopVoter: %SiteName%'
  546.  
  547.       Line2: '#%position%'
  548.  
  549.       Line3: '%player%'
  550.  
  551.       Line4: '%votes% Votes'
  552.  
  553.     # Message when right clicking sign, uses same placeholders as above
  554.  
  555.     RightClickMessage: '&c&l%player% &cis &c&l%position% &cwith &c&l%votes% &cvotes in &c&l%SiteName%'
  556.  
  557.      
  558.  
  559.   # Message when player tries to run command without required permissions
  560.  
  561.   NoPerms: '&cYou do not have permission!'
  562.  
  563.  
  564.  
  565.   # Message when player types a command but does not input a number where needed
  566.  
  567.   NotNumber: '&cError on &6%arg%&c, number expected!'
  568.  
  569.  
  570.  
  571.   # Shop messages when using the /vote shop
  572.  
  573.   ShopPurchase: '&aYou bought the %Identifier% for %Points% Points!'
  574.  
  575.   ShopFailed: '&cYou do not have %Points% points to purchase this!'
  576.  
  577.  
  578.  
  579. # ------------------------------------------------
  580.  
  581. # GUI Options
  582.  
  583. # ------------------------------------------------
  584.  
  585.  
  586.  
  587. # Configure GUI's here
  588.  
  589. # 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)
  590.  
  591. # Item Material's can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
  592.  
  593. GUI:
  594.   # GUI for /vote gui, /vgui, votegui
  595.  
  596.   VoteGUI:
  597.     # Items will be orders as it is below
  598.  
  599.     URL:
  600.       # Standard item format, lore is automatically applied
  601.  
  602.       Item:
  603.         Material: 'BOW'
  604.  
  605.         Data: 0
  606.  
  607.         Amount: 1
  608.  
  609.         Name: '&4Websites'
  610.  
  611.         # You can set skulls of the player using the following
  612.  
  613.         # Remove the # to enable
  614.  
  615.         #Skull: '%Player%'
  616.  
  617.       Slot: 0
  618.  
  619.     Next:
  620.       Item:
  621.         Material: 'COMPASS'
  622.  
  623.         Data: 0
  624.  
  625.         Amount: 1
  626.  
  627.         Name: '&4Next'
  628.  
  629.       Slot: 1
  630.  
  631.     Last:
  632.       Item:
  633.         Material: 'WATCH'
  634.  
  635.         Data: 0
  636.  
  637.         Amount: 1
  638.  
  639.         Name: '&4Last'
  640.  
  641.       Slot: 2
  642.  
  643.     Total:
  644.       Item:
  645.         Material: 'CHEST'
  646.  
  647.         Data: 0
  648.  
  649.         Amount: 1
  650.  
  651.         Name: '&4Total'
  652.  
  653.       Slot: 3
  654.  
  655.     Top:
  656.       Item:
  657.         Material: 'SIGN'
  658.  
  659.         Data: 0
  660.  
  661.         Amount: 1
  662.  
  663.         Name: '&4Top'
  664.  
  665.       Slot: 4
  666.  
  667.     Today:
  668.       Item:
  669.         Material: 'BOOK'
  670.  
  671.         Data: 0
  672.  
  673.         Amount: 1
  674.  
  675.         Name: '&4Today'
  676.  
  677.       Slot: 5
  678.  
  679.     Help:
  680.       Item:
  681.         Material: 'WRITTEN_BOOK'
  682.  
  683.         Data: 0
  684.  
  685.         Amount: 1
  686.  
  687.         Name: '&4Help'
  688.  
  689.       Slot: 6
  690.  
  691.     Rewards:
  692.       Item:
  693.         Material: 'DIAMOND'
  694.  
  695.         Data: 0
  696.  
  697.         Amount: 1
  698.  
  699.         Name: '&4Voting Rewards'
  700.  
  701.       Slot: 7
  702.  
  703.      
  704.  
  705.   # GUI for /vote url
  706.  
  707.   # And /vote if enabled in Config.yml
  708.  
  709.   VoteURL:
  710.     # GUI Name
  711.  
  712.     Name: '&cVoting Websites'
  713.  
  714.     SiteName: '&c%Name%'
  715.  
  716.     SeeURL: '&cClick to see URL'
  717.  
  718.     NextVote: '&cCan Vote In: %Info%'
  719.  
  720.     ViewAllUrlsButtonEnabled: true
  721.  
  722.     AllUrlsButton:
  723.       AlreadyVotedItem:
  724.         Material: 'REDSTONE_BLOCK'
  725.  
  726.         Data: 0
  727.  
  728.         Amount: 1
  729.  
  730.       CanVoteItem:
  731.         Material: 'EMERALD_BLOCK'
  732.  
  733.         Data: 0
  734.  
  735.         Amount: 1
  736.  
  737.     AlreadyVotedItem:
  738.       Material: 'REDSTONE_BLOCK'
  739.  
  740.       Data: 0
  741.  
  742.       Amount: 1
  743.  
  744.     CanVoteItem:
  745.       Material: 'EMERALD_BLOCK'
  746.  
  747.       Data: 0
  748.  
  749.       Amount: 1
  750.  
  751.   # Customize /vote reward
  752.  
  753.   # Show players what you get when you vote on each site
  754.  
  755.   VoteReward:
  756.     # Name of votesite
  757.  
  758.     # If your site name contains a dot, replace it with a - and surround the name with ' '
  759.  
  760.     SiteName:
  761.       # Item to display as vote site in /vote reward
  762.  
  763.       Item:
  764.         # Item ID
  765.  
  766.         Material: 'IRON_INGOT'
  767.  
  768.         # Item Data (Eg 1:4, data is 4)
  769.  
  770.         Data: 0
  771.  
  772.         # Amount of items
  773.  
  774.         # Should be greater than 0
  775.  
  776.         Amount: 1
  777.  
  778.         # Item name
  779.  
  780.         # Remove this line for no name
  781.  
  782.         Name: '&4Example'
  783.  
  784.         # Lore
  785.  
  786.         # Remove this line for no lore
  787.  
  788.         Lore:
  789.         - '&4Line 1'
  790.  
  791.       # items in /vote reward sitename
  792.  
  793.       Items:
  794.         # Item
  795.  
  796.         # This is not the item display name
  797.  
  798.         # Do not have 2 of the same items
  799.  
  800.         Diamond:
  801.           # Item ID
  802.  
  803.           Material: 'DIAMOND'
  804.  
  805.           # Item Data (Eg 1:4, data is 4)
  806.  
  807.           Data: 0
  808.  
  809.           # Amount of items
  810.  
  811.           # Should be greater than 0
  812.  
  813.           Amount: 1
  814.  
  815.           # Item name
  816.  
  817.           # Remove this line for no name
  818.  
  819.           Name: '&4Example'
  820.  
  821.           # Lore
  822.  
  823.           # Remove this line for no lore
  824.  
  825.           Lore:
  826.           - '&4Line 1'
  827.  
  828.           Slot: 0
  829.  
  830.   VoteLast:
  831.     Name: 'VoteLast: %player%'
  832.  
  833.   VoteNext:
  834.     Name: 'VoteNext: %player%'
  835.  
  836.   VoteToday:
  837.     Name: 'VoteToday'
  838.  
  839.   VoteTop:
  840.     Name: 'VoteTop %topvoter%'
  841.  
  842.     Item:
  843.       Name: '&3&l%position%: &3%player%'
  844.  
  845.       Lore: '&3&lVotes: &3%votes%'
  846.  
  847.   VoteTotal:
  848.     Name: 'VoteTotal: %player%'
  849.  
  850.     DayTotal:
  851.       Item:
  852.         Material: 'WATCH'
  853.  
  854.         Name: '&cDaily Total'
  855.  
  856.         Lore: '&c&lTotal: &c%Total%'
  857.  
  858.         Amount: 1
  859.  
  860.     WeekTotal:
  861.       Item:
  862.         Material: 'WATCH'
  863.  
  864.         Name: '&cWeekly Total'
  865.  
  866.         Lore: '&c&lTotal: &c%Total%'
  867.  
  868.         Amount: 1
  869.  
  870.     MonthTotal:
  871.       Item:
  872.         Material: 'WATCH'
  873.  
  874.         Name: '&cMonthly Total'
  875.  
  876.         Lore: '&c&lTotal: &c%Total%'
  877.  
  878.         Amount: 1
  879.  
  880.     AllTimeTotal:
  881.       Item:
  882.         Material: 'WATCH'
  883.  
  884.         Name: '&cAllTime Total'
  885.  
  886.         Lore: '&c&lTotal: &c%Total%'
  887.  
  888.         Amount: 1
  889.  
  890.   VoteURLSite:
  891.     Name: 'VoteSite: %site%'
  892.  
  893.   VoteGUIName: '&cVoteGUI: &c&l%player%'
  894.  
  895.   VoteRewardName: 'VoteReward'
  896.  
  897.  # VoteShopName: 'VoteShop'
  898.  
  899.  
  900.  
  901. Shop:
  902.   # Identifier
  903.  
  904.   # Used in placeholders for formats
  905.  
  906.   Diamond:
  907.     # Item
  908.  
  909.     Material: 'IRON_INGOT'
  910.  
  911.     Data: 0
  912.  
  913.     Amount: 1
  914.  
  915.     Name: '&4Buy An Iron Ingot'
  916.  
  917.     # You can set skulls of the player using the following
  918.  
  919.     # Remove the # to enable
  920.  
  921.     #Skull: '%Player%'
  922.  
  923.     Lore:
  924.     - '&c&lCost: &c3 Voting Points'
  925.  
  926.     # Number of voting points this cost
  927.  
  928.     Cost: 2000000
  929.  
  930.     # Rewards to run if player buys succesfully
  931.  
  932.     Rewards:
  933.       Items:
  934.         Material: 'IRON_INGOT'
  935.  
  936.         Amount: 1
  937.  
  938.     # Slot
  939.  
  940.     Slot: 0          
  941.  
  942.        
  943.  
  944. # ------------------------------------------------
  945.  
  946. # Extra Rewards
  947.  
  948. # ------------------------------------------------
  949.  
  950.    
  951.  
  952. # To disable reward set value to []
  953.  
  954. # Eg:
  955.  
  956. # FirstVote: [] (All in one line)
  957.  
  958. # By default all rewards are disabled
  959.  
  960.  
  961.  
  962. # First vote rewards
  963.  
  964. FirstVote:
  965.  
  966.   Messages:
  967.     Player: '&aYou voted for your first time!'
  968.  
  969.   Money: 100
  970.  
  971.  
  972.  
  973. # All vote rewards
  974.  
  975. # Reward for voting on all sites in one day
  976.  
  977. AllSites:
  978.  
  979.   Messages:
  980.     Player: ''
  981.  
  982. EachVote:
  983. # --------------------------------------------------------------------------------------------------------- #
  984.  
  985. # Messages for daily rewards on any voting site.
  986.  
  987.   Messages:
  988.     Broadcast: '&a%player% has voted and received 12 Exp Bottles, 1 Iron Ingot, and 1 Cooked Porkchop!'
  989.  
  990. # --------------------------------------------------------------------------------------------------------- #
  991.  
  992. # Commands to execute on each vote from any of the voting sites.
  993.  
  994.   Commands:
  995.     Console:
  996.     - '/give {username} EXPERIENCE_BOTTLE 12'
  997.  
  998.     - '/give {username} IRON_INGOT 1'
  999.  
  1000.     - '/give {username} COOKED_PORKCHOP 1'
  1001.  
  1002.  
  1003.  
  1004. Cumulative:
  1005.   '3':
  1006.     Enabled: true # add when I am ready. Must have the pet crate done, all 3 crates in physical location at a /warp crates.
  1007.  
  1008.     VotesInSameDay: false
  1009.  
  1010.     VotesInSameWeek: false
  1011.  
  1012.     Rewards:
  1013.       Commands:
  1014.         Console:
  1015.         - 'ebroadcast &e%player% has voted 3 times and received a &aVoting Crate Key&e!'
  1016.  
  1017.         - 'crazycrates give physical voting 1 %player%'
  1018.  
  1019.   '5':
  1020.     Enabled: true
  1021.  
  1022.     VotesInSameDay: false
  1023.  
  1024.     VotesInSameWeek: false
  1025.  
  1026.     Rewards:
  1027.       Commands:
  1028.         Console:
  1029.         - 'xpb enable vanilla 1.5x m10 player %player%'
  1030.  
  1031.         - 'ebroadcast &a%player% has voted 5 times and received a 1.5x experience boost for 10 minutes!'
  1032.  
  1033.  
  1034.  
  1035. VoteParty:
  1036.   # Whether or not vote party is enabled
  1037.  
  1038.   Enabled: true
  1039.  
  1040.   # Number of votes required to give rewards
  1041.  
  1042.   #VotesRequired: 36
  1043.   VotesRequired: 2
  1044.  
  1045.   # If true, players who did not vote to reach the votes required will
  1046.  
  1047.   # receive the reward
  1048.  
  1049.   GiveAllPlayers: false
  1050.  
  1051.   # If true, the vote count will reset each day
  1052.  
  1053.   ResetEachDay: true
  1054.  
  1055.   # Number of user votes that apply to vote party total the user needs to get rewards
  1056.  
  1057.   UserVotesRequired: 1
  1058.  
  1059.   # Reward files to give
  1060.  
  1061.   Rewards:
  1062.   - 'VoteParty'
  1063.  
  1064.  
  1065.  
  1066. MileStones:
  1067.   # Number of votes required
  1068.  
  1069.   # Allows multiple milestones
  1070.  
  1071.   # Number be be around ' (E.g. '1')
  1072.  
  1073.   # Can have multiple listed here
  1074.  
  1075.   '10':
  1076.     Enabled: false
  1077.  
  1078.     Rewards:
  1079.       Commands:
  1080.         Console:
  1081.         - 'pex group votingrank1 user add %player%'
  1082.  
  1083.         - '%player% has voted 10 times and received a voting rank if the player did not already have one!'
  1084.  
  1085.  
  1086.  
  1087. # ONLY USE THIS FOR TITLES/SOUNDS AND OTHER EFFECTS
  1088.  
  1089. # IT WILL ONLY RUN ONE TIME FOR ANY NUMBER OF OFFLINE VOTES
  1090.  
  1091. # Any reward files listed here are ran on vote of any site
  1092.  
  1093. # It is recommended to add rewards to each site instead of here
  1094.  
  1095. AnySiteRewards: []
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101. # ------------------------------------------------
  1102.  
  1103. # Top Voter
  1104.  
  1105. # ------------------------------------------------
  1106.  
  1107.  
  1108.  
  1109. # Top voter blacklist
  1110.  
  1111. BlackList:
  1112. - 'Notch'
  1113.  
  1114.  
  1115.  
  1116. # If true players with the permission 'VotingPlugin.TopVoter.Ignore' will act
  1117.  
  1118. # as if there name was added on the the blacklist above
  1119.  
  1120. # This also applies for ops
  1121.  
  1122. TopVoterIgnorePermission: false
  1123.  
  1124.  
  1125.  
  1126. # /vote top default data displayed
  1127.  
  1128. # Valid Options: AllTime, Monthly, Weekly, Daily
  1129.  
  1130. VoteTopDefault: Monthly
  1131.  
  1132.  
  1133.  
  1134. # These are required to be enabled in order for top voter awards to work
  1135.  
  1136. LoadTopVoter:
  1137.   AllTime: true
  1138.  
  1139.   Monthly: true
  1140.  
  1141.   Weekly: false
  1142.  
  1143.   Daily: false
  1144.  
  1145.  
  1146.  
  1147. # When top voter awards are given (even if there are none listed) it will store top voters
  1148.  
  1149. # Files will created in TopVoters folder.
  1150.  
  1151. StoreTopVoters:
  1152.   Monthly: true
  1153.  
  1154.   Weekly: false
  1155.  
  1156.   Daily: false
  1157.  
  1158.  
  1159.  
  1160. EnableMonthlyAwards: true
  1161.  
  1162. # Rewards to give
  1163.  
  1164. ##################
  1165.  
  1166. MonthlyAwards:
  1167.   # Position. 1 is first in top voter, 2 is second, etc...
  1168.  
  1169.   1:
  1170.     # Reward files to give
  1171.  
  1172.     Rewards:
  1173.     - 'TopVoter1'
  1174.  
  1175.   2:
  1176.     Rewards:
  1177.     - 'TopVoter2'
  1178.  
  1179.   3:
  1180.     Rewards:
  1181.     - 'TopVoter3'
  1182.  
  1183. ####################
  1184.  
  1185. EnableWeeklyAwards: false
  1186.  
  1187. # Rewards to give on weekly top voter
  1188.  
  1189. WeeklyAwards:
  1190.   # Position. 1 is first in top voter, 2 is second, etc...
  1191.  
  1192.   1:
  1193.     # Reward files to give
  1194.  
  1195.     Rewards:
  1196.     - 'WeeklyTopVoter1'
  1197.  
  1198.   2:
  1199.     Rewards:
  1200.     - 'WeeklyTopVoter2'
  1201.  
  1202.    
  1203.  
  1204. EnableDailyRewards: false
  1205.  
  1206. # Rewards to give on daily top voter
  1207.  
  1208. DailyAwards:
  1209.   # Position. 1 is first in top voter, 2 is second, etc...
  1210.  
  1211.   1:
  1212.     # Reward files to give
  1213.  
  1214.     Rewards:
  1215.     - 'DailyTopVoter1'
  1216.  
  1217.   2:
  1218.     Rewards:
  1219.     - 'DailyTopVoter2'
  1220.  
  1221. # ------------------------------------------------
  1222.  
  1223. # Advanced
  1224.  
  1225. # Most of these values can be left untouched
  1226.  
  1227. # ------------------------------------------------
  1228.  
  1229.  
  1230.  
  1231. # Number of points to give on vote
  1232.  
  1233. # Set to 0 to give no points
  1234.  
  1235. PointsOnVote: 1
  1236.  
  1237.  
  1238.  
  1239. # Wether or not to check on world change
  1240.  
  1241. # Should only be used if you do per world rewards
  1242.  
  1243. CheckOnWorldChange: false
  1244.  
  1245.  
  1246.  
  1247. # Debug
  1248.  
  1249. Debug: false
  1250.  
  1251.  
  1252.  
  1253. # Extra Debug
  1254.  
  1255. # Only needed in extreme cases
  1256.  
  1257. ExtraDebug: false
  1258.  
  1259.  
  1260.  
  1261. # Debug info ingame
  1262.  
  1263. # Players with permission "VotingPlugin.Debug"
  1264.  
  1265. # will see debug info if debug is true
  1266.  
  1267. DebugInGame: false
  1268.  
  1269.  
  1270.  
  1271. # Will log debug messages to VotingPlugin/Log/log.txt
  1272.  
  1273. # Requires Debug to be on
  1274.  
  1275. LogDebugToFile: false
  1276.  
  1277.  
  1278.  
  1279. # Options for request api
  1280.  
  1281. # Current methods
  1282.  
  1283. # ANVIL
  1284.  
  1285. # BOOK
  1286.  
  1287. # CHAT
  1288.  
  1289. # This is mainly used for admin gui's to type in values
  1290.  
  1291. RequestAPI:
  1292.   DefaultMethod: 'Anvil'
  1293.  
  1294.   DisabledMethods: []
  1295.  
  1296.  
  1297.  
  1298. # Wether or not to log every vote to a file
  1299.  
  1300. # Use this if you wanna track player votes
  1301.  
  1302. # Not recommended though
  1303.  
  1304. LogVotesToFile: false
  1305.  
  1306.  
  1307.  
  1308. # Delay between background updates like signs and more
  1309.  
  1310. # Default: 3 Minutes
  1311.  
  1312. # Longer times result in longer wait in stuff updating after a vote, like topvoter
  1313.  
  1314. DelayBetweenUpdates: 3
  1315.  
  1316.  
  1317.  
  1318. # Set to true to disable no service site message on voting
  1319.  
  1320. # You should never have to touch this if everything is setup properly
  1321.  
  1322. DisableNoServiceSiteMessage: false
Add Comment
Please, Sign In to add comment