Advertisement
Guest User

Untitled

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