Advertisement
Guest User

serious vote config

a guest
Aug 30th, 2017
368
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.73 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! He got {rewards}! If you like it here show your support! &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: -1
  11. rewards-min:1
  12. rewards-max:3
  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. "1", "TableClaims",
  19. "2", "TableYearly"
  20. ]
  21. set:["command 1", "command 2", "command 3"]
  22. }
  23. //# 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.
  24. //# Much like the rewards above, the Tables are re-usable. As a matter of fact the Tables are needed by all "Random" rewards areas.
  25. //# 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
  26. //# 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
  27. //# 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
  28. //# want more control over what is being given out.
  29.  
  30. Tables {
  31.  
  32. TableCommon: [
  33. "70", "tomahawk",
  34. #"25", "money1"
  35. ]
  36.  
  37. TableYearly: [
  38.  
  39. "1", "gold2"
  40. ]
  41.  
  42. TableClaims: [
  43. "1", "claimblocks"
  44. ]
  45.  
  46. TableMonthly: [
  47. "1", "claimblocks"
  48. ]
  49. TableWeekly:[
  50. "1", "money1"
  51. ]
  52.  
  53. }
  54.  
  55.  
  56. //#Each Reward Requires an id "which is the descriptor / identifier such as tomahawk: in the tomahawk reward
  57. //# After each Reward requires a name key, and a reward key
  58. //# The value for name is just a text String (This can be used to Call it out in the broadcast built in)
  59. //#The value for the rewards string is a list of strings. Each String should be a full command and can include the standard variables
  60. //# Each new command string needs a comma before it. If your command requires quotations make sure to add escape characters
  61. //#-----i.e ----"hello how "are" you"---- is not valid the string should be escaped as follows
  62. //# ----"hello how \"are\" you---- The backslash allows the " to be escaped to be ignored by the parser
  63. //#
  64. //# 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
  65. //# be duplicated though, so a tomahawk1, and a tomahawk2, can have "Steel Tomahawk" as the name"
  66.  
  67. Rewards {
  68.  
  69. tomahawk: {
  70. name: "Vote Crate Key"
  71. rewards: [
  72. "crate key Vote {player} 1",
  73. "say {name} voted for the server and received a Vote Crate key, Help us grow by voting https://goo.gl/WtYwqt!"
  74. ]
  75. }
  76.  
  77. yearly: {
  78. name: "Yearly Reward"
  79. rewards: [
  80. "crate key Vote {player} 1",
  81. "say {name} voted a whole year for the server and received a Vote Crate key, Help us grow by voting https://goo.gl/WtYwqt!
  82. ]
  83. }
  84.  
  85. gold2: {
  86. name: "Gold Ingots"
  87. rewards: [
  88. "give {player} minecraft:gold_ingot 2"
  89. ]
  90.  
  91. }
  92.  
  93. money1: {
  94. name: "A little cash"
  95. rewards:[
  96. "adminpay {player} 100"
  97. ]
  98. }
  99.  
  100. claimblocks: {
  101. name: "50 Claim Blocks"
  102. rewards: [
  103. "acb {player} 50"
  104. ]
  105. }
  106.  
  107. banana: {
  108. name: "Banana"
  109. rewards: [
  110. "say {player} is a banana"
  111. ]
  112.  
  113. }
  114.  
  115.  
  116.  
  117. }
  118.  
  119. #//This Message will Show above the Links.
  120. vote-sites-message: "&6Thank You! Below are the places you can vote"
  121.  
  122. #// Your website voting links, displayed by /vote, these support color formatting. Creates clickable links.
  123. #//seriousvotes.commands.vote
  124. vote-sites:[
  125. "&5https://www.planetminecraft.com/server/poke-islands/vote/"
  126. #"http://voteSiteTwo.com/vote",
  127. #"&4http://&5voteSiteThree.com/vote"
  128. ]
  129.  
  130.  
  131. #// The Milestones Module Requires a Mysql System Setup
  132. database:{
  133. hostname: "127.0.0.0"
  134. port: "3306"
  135. name: "COT_SeriousVote"
  136. prefix: "SV_"
  137. username: "root"
  138. password: "You need a password"
  139. }
  140.  
  141. #// Currently we have monthly weekly and yearly, put what you need in the set rewards. these commands will be run
  142. #// When a player votes X amount of days in a row, 365,30, 7
  143. dailies: {
  144. enabled: true
  145.  
  146. weekly: {
  147. message: "This person has earned a 7 day in a row Reward!"
  148. random:[
  149. "27", "TableWeekly"
  150. ]
  151. set:[
  152. "say This is a set weekly {player} Reward",
  153. ]
  154. }
  155. monthly: {
  156. message: "This person has earned a monthly vote Reward!"
  157. random:[
  158. "27", "TableMonthly"
  159. ]
  160. set:[
  161. "say This is a set Monthly {player} Reward",
  162. "acb {player} bananaphone"
  163. ]
  164. }
  165. yearly: {
  166. message: "This person has earned a one year of straight voting reward"
  167. random:[
  168. "27", "TableYearly"
  169. ]
  170. set:[
  171. "say This is a set Yearly {player} Reward",
  172. "say Crap, you must play alot"
  173. ]
  174. }
  175. }
  176.  
  177.  
  178. milestones: {
  179. enabled: false
  180. #//place the number of votes you'd like to enable milestones for inside the brackets separated by commas.
  181. records-enabled:["100","1","37"]
  182. #// 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.
  183. records:{
  184. 100:{
  185. message: "&4{player} has voted for a 100th time in a row!"
  186. random:[
  187. "27", "claimblocks"
  188. ]
  189. set: []
  190. }
  191. 1:{
  192. random:[]
  193. set: ["one command","two command", "three command", "floor"]
  194. }
  195.  
  196. }
  197.  
  198. }
  199. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement