Advertisement
Guest User

Untitled

a guest
Aug 19th, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.62 KB | None | 0 0
  1. config:{
  2. config-version: "4.0"
  3. #//Variables - {player} : the person who voted
  4. #// {rewards} : The list of random rewards the player received
  5.  
  6. #//Leaving this empty will disable messages from being shown publicly: Supports color and formatting codes
  7. broadcast-message: "&4{player} &eJust voted and got rewards! If you want to vote &6run &5/vote"
  8.  
  9. #//-1 will have the system select a number of rewards between rewards-min and rewards-max;
  10. random-rewards-number:0
  11. rewards-min:4
  12. rewards-max:4
  13. #// Under random You can set The tables you would like to use with weights in front for there to be a random chance of choosing from a table.
  14. #//In the case that there is only one table it will be chosen.
  15. vote-reward:{
  16. random:[
  17. "1", "TableCommon",
  18. ]
  19. set:["crate key vote {player} 1","give {player} pixelmon:rare_candy 1","adminpay {player} 100","acb {player} 50"]
  20. }
  21. //# Tables are groups of rewards which work as a weighted system. Below are two small examples, but they are very simple and not too elaborate.
  22. //# Much like the rewards above, the Tables are re-usable. As a matter of fact the Tables are needed by all "Random" rewards areas.
  23. //# They are pretty basic to use, Give it an id (no two id's should be the same) and then make a list with alternating weights and reward ids
  24. //# The weights are pretty simple to use, the higher number a reward has the likelier it is to be chosen. in the TableCommon below 'money1' has
  25. //# 25/125 chances to be chosen. You can use this to make common, rare , and super rare (etc...) tables which can be used together when you
  26. //# want more control over what is being given out.
  27.  
  28. Tables {
  29.  
  30. TableCommon: [
  31. "50", "VoteKey",
  32. "100", "money1",
  33. "100", "claimblocks"
  34. "100", "RareCandy"
  35. ]
  36.  
  37. }
  38.  
  39.  
  40. //#Each Reward Requires an id "which is the descriptor / identifier such as tomahawk: in the tomahawk reward
  41. //# After each Reward requires a name key, and a reward key
  42. //# The value for name is just a text String (This can be used to Call it out in the broadcast built in)
  43. //#The value for the rewards string is a list of strings. Each String should be a full command and can include the standard variables
  44. //# Each new command string needs a comma before it. If your command requires quotations make sure to add escape characters
  45. //#-----i.e ----"hello how "are" you"---- is not valid the string should be escaped as follows
  46. //# ----"hello how \"are\" you---- The backslash allows the " to be escaped to be ignored by the parser
  47. //#
  48. //# Every single Reward should have it's id be unique, i.e there should not be more than one tomahawk ect... The name of the items can
  49. //# be duplicated though, so a tomahawk1, and a tomahawk2, can have "Steel Tomahawk" as the name"
  50.  
  51. Rewards {
  52.  
  53. VoteKey: {
  54. name: "VoteKey"
  55. rewards: [
  56. "crate key vote {player} 1",
  57. "message {player} use your key at /warp vote!"
  58. ] don
  59. }
  60.  
  61. RareCandy: {
  62. name: "Rare Candy"
  63. rewards: [
  64. "give {player} pixelmon:rare_candy 1"
  65. ]
  66.  
  67. }
  68.  
  69. money1: {
  70. name: "100$"
  71. rewards:[
  72. "adminpay {player} 100"
  73. ]
  74. }
  75.  
  76. claimblocks: {
  77. name: "50 Claim Blocks"
  78. rewards: [
  79. "acb {player} 50"
  80. ]
  81. }
  82.  
  83.  
  84. }
  85.  
  86. #//This Message will Show above the Links.
  87. vote-sites-message: "&6Thank You! Below are the places you can vote"
  88.  
  89. #// Your website voting links, displayed by /vote, these support color formatting. Creates clickable links.
  90. #//seriousvotes.commands.vote
  91. vote-sites:[
  92. "&4http://minecraft-mp.com/server/170969/vote/",
  93. "http://voteSiteTwo.com/vote",
  94. "&4http://&5voteSiteThree.com/vote",
  95. "&4http://&5voteSiteThree.com/vote",
  96. "&4http://&5voteSiteThree.com/vote"
  97. ]
  98.  
  99.  
  100. #// The Milestones Module Requires a Mysql System Setup
  101. database:{
  102. hostname: "127.0.0.0"
  103. port: "3306"
  104. name: "COT_SeriousVote"
  105. prefix: "SV_"
  106. username: "root"
  107. password: "You need a password"
  108. }
  109.  
  110. #// Currently we have monthly weekly and yearly, put what you need in the set rewards. these commands will be run
  111. #// When a player votes X amount of days in a row, 365,30, 7
  112. dailies: {
  113. enabled: false
  114.  
  115. weekly: {
  116. message: "This person has earned a 7 day in a row Reward!"
  117. random:[
  118. "27", "TableWeekly"
  119. ]
  120. set:[
  121. "say This is a set weekly {player} Reward",
  122. ]
  123. }
  124. monthly: {
  125. message: "This person has earned a monthly vote Reward!"
  126. random:[
  127. "27", "TableMonthly"
  128. ]
  129. set:[
  130. "say This is a set Monthly {player} Reward",
  131. "acb {player} bananaphone"
  132. ]
  133. }
  134. yearly: {
  135. message: "This person has earned a one year of straight voting reward"
  136. random:[
  137. "27", "TableYearly"
  138. ]
  139. set:[
  140. "say This is a set Yearly {player} Reward",
  141. "say Crap, you must play alot"
  142. ]
  143. }
  144. }
  145.  
  146.  
  147. milestones: {
  148. enabled: false
  149. #//place the number of votes you'd like to enable milestones for inside the brackets separated by commas.
  150. records-enabled:["100","1","37"]
  151. #// The setup for these is just the same as the normal voting. The tables must be defined in the table section in order for them to be used.
  152. records:{
  153. 100:{
  154. message: "&4{player} has voted for a 100th time in a row!"
  155. random:[
  156. "27", "claimblocks"
  157. ]
  158. set: []
  159. }
  160. 1:{
  161. random:[]
  162. set: ["one command","two command", "three command", "floor"]
  163. }
  164.  
  165. }
  166.  
  167. }
  168. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement