Advertisement
Guest User

Untitled

a guest
May 26th, 2018
613
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.66 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:2
  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. "60", "TableCommon",
  18. "25", "TableClaims",
  19. "10", "TableUncommon",
  20. "5", "TableRare"
  21. ]
  22. set:["command 1", "command 2", "command 3"]
  23. }
  24. //# 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.
  25. //# Much like the rewards above, the Tables are re-usable. As a matter of fact the Tables are needed by all "Random" rewards areas.
  26. //# 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
  27. //# 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
  28. //# 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
  29. //# want more control over what is being given out.
  30.  
  31. Tables {
  32.  
  33. TableCommon: [
  34. "25", "money1",
  35. "10", "emerald",
  36. "30", "lootbag",
  37. "35", "lootbag2"
  38. ]
  39.  
  40. TableUncommon: [
  41. "1", "money2",
  42. "10", "emerald2",
  43. "24", "diamond",
  44. "30", "lootbag3",
  45. "35", "lootbag4"
  46. ]
  47.  
  48. TableRare: [
  49. "30", "gold2",
  50. "1", "money3",
  51. "14", "emerald3",
  52. "25", "diamond2",
  53. "30", "lootbag5"
  54. ]
  55.  
  56. TableClaims: [
  57. "1", "claimblocks"
  58. ]
  59.  
  60. TableMonthly: [
  61. "1", "claimblocks"
  62. ]
  63.  
  64. TableWeekly:[
  65. "1", "money1"
  66. ]
  67.  
  68. }
  69.  
  70.  
  71. //#Each Reward Requires an id "which is the descriptor / identifier such as tomahawk: in the tomahawk reward
  72. //# After each Reward requires a name key, and a reward key
  73. //# The value for name is just a text String (This can be used to Call it out in the broadcast built in)
  74. //#The value for the rewards string is a list of strings. Each String should be a full command and can include the standard variables
  75. //# Each new command string needs a comma before it. If your command requires quotations make sure to add escape characters
  76. //#-----i.e ----"hello how "are" you"---- is not valid the string should be escaped as follows
  77. //# ----"hello how \"are\" you---- The backslash allows the " to be escaped to be ignored by the parser
  78. //#
  79. //# 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
  80. //# be duplicated though, so a tomahawk1, and a tomahawk2, can have "Steel Tomahawk" as the name"
  81.  
  82. Rewards {
  83.  
  84. yearly: {
  85. name: "Yearly Reward"
  86. rewards: [
  87. "give {player} minecraft:diamond 5"
  88. ]
  89. }
  90.  
  91. charged: {
  92. name: "some Charged Certus Quarts"
  93. rewards: [
  94. "give {player} 4234:1 4"
  95. ]
  96. }
  97.  
  98. lootbag: {
  99. name: "a Common Lootbag"
  100. rewards: [
  101. "give {player} 7494 1"
  102. ]
  103. }
  104.  
  105. lootbag2: {
  106. name: "an Uncommon Lootbag"
  107. rewards: [
  108. "give {player} 7494:1 1"
  109. ]
  110. }
  111.  
  112. lootbag3: {
  113. name: "a Rare Lootbag"
  114. rewards: [
  115. "give {player} 7494:2 1"
  116. ]
  117. }
  118.  
  119. lootbag4: {
  120. name: "an Epic Lootbag"
  121. rewards: [
  122. "give {player} 7494:3 1"
  123. ]
  124. }
  125.  
  126. lootbag5: {
  127. name: "a Legendary Lootbag"
  128. rewards: [
  129. "give {player} 7494:4 1"
  130. ]
  131. }
  132.  
  133. emerald: {
  134. name: "an Emerald"
  135. rewards: [
  136. "give {player} minecraft:emerald 1"
  137. ]
  138. }
  139.  
  140. emerald2: {
  141. name: "a few Emeralds"
  142. rewards: [
  143. "give {player} minecraft:emerald 16"
  144. ]
  145. }
  146.  
  147. emerald: {
  148. name: "a stack of Emeralds"
  149. rewards: [
  150. "give {player} minecraft:emerald 64"
  151. ]
  152. }
  153.  
  154. diamond: {
  155. name: "a Diamond"
  156. rewards: [
  157. "give {player} minecraft:diamond 1"
  158. ]
  159. }
  160.  
  161. diamond2: {
  162. name: "a bunch of Diamonds"
  163. rewards: [
  164. "give {player} minecraft:diamond 32"
  165. ]
  166. }
  167.  
  168. gold2: {
  169. name: "Gold Ingots"
  170. rewards: [
  171. "give {player} minecraft:gold_ingot 16"
  172. ]
  173. }
  174.  
  175. money1: {
  176. name: "A little cash"
  177. rewards:[
  178. "econ add {player} 100"
  179. ]
  180. }
  181.  
  182. money2: {
  183. name: "A lot of cash"
  184. rewards:[
  185. "econ add {player} 10000"
  186. ]
  187. }
  188.  
  189. money3: {
  190. name: "the Jackpot of Cash"
  191. rewards:[
  192. "econ add {player} 1000000"
  193. ]
  194. }
  195.  
  196. claimblocks: {
  197. name: "50 Claim Blocks"
  198. rewards: [
  199. "acb {player} 50"
  200. ]
  201. }
  202.  
  203. banana: {
  204. name: "Banana"
  205. rewards: [
  206. "say {player} is a banana"
  207. ]
  208. }
  209.  
  210. }
  211.  
  212. #//This Message will Show above the Links.
  213. vote-sites-message: "&6Thank You! Below are the places you can vote"
  214.  
  215. #// Your website voting links, displayed by /vote, these support color formatting. Creates clickable links.
  216. #//seriousvotes.commands.vote
  217. vote-sites:[
  218. "&4https://www.planetminecraft.com/server/rinexus-reloaded/vote/",
  219. "https://minecraft-server-list.com/server/378406/vote/",
  220. "&4https://minecraft-mp.com/server/141817/vote/"
  221. ]
  222.  
  223.  
  224. #// The Milestones Module Requires a Mysql System Setup
  225. database:{
  226. hostname: "127.0.0.0"
  227. port: "3306"
  228. name: "COT_SeriousVote"
  229. prefix: "SV_"
  230. username: "root"
  231. password: "You need a password"
  232. }
  233.  
  234. #// Currently we have monthly weekly and yearly, put what you need in the set rewards. these commands will be run
  235. #// When a player votes X amount of days in a row, 365,30, 7
  236. dailies: {
  237. enabled: false
  238.  
  239. weekly: {
  240. message: "This person has earned a 7 day in a row Reward!"
  241. random:[
  242. "27", "TableWeekly"
  243. ]
  244. set:[
  245. "say This is a set weekly {player} Reward",
  246. ]
  247. }
  248. monthly: {
  249. message: "This person has earned a monthly vote Reward!"
  250. random:[
  251. "27", "TableMonthly"
  252. ]
  253. set:[
  254. "say This is a set Monthly {player} Reward",
  255. "acb {player} bananaphone"
  256. ]
  257. }
  258. yearly: {
  259. message: "This person has earned a one year of straight voting reward"
  260. random:[
  261. "27", "TableYearly"
  262. ]
  263. set:[
  264. "say This is a set Yearly {player} Reward",
  265. "say Crap, you must play alot"
  266. ]
  267. }
  268. }
  269.  
  270.  
  271. milestones: {
  272. enabled: false
  273. #//place the number of votes you'd like to enable milestones for inside the brackets separated by commas.
  274. records-enabled:["100","1","37"]
  275. #// 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.
  276. records:{
  277. 100:{
  278. message: "&4{player} has voted for a 100th time in a row!"
  279. random:[
  280. "27", "claimblocks"
  281. ]
  282. set: []
  283. }
  284. 1:{
  285. random:[]
  286. set: ["one command","two command", "three command", "floor"]
  287. }
  288. }
  289. }
  290. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement