Advertisement
Guest User

Untitled

a guest
May 4th, 2018
520
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.77 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: "&7{player} &evoted! Received 2*200 PokéCoins{rewards}&e!"
  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:1
  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:["eco add {player} 400"]
  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. "49", "bronzekey",
  32. "5", "silverkey",
  33. "43", "none",
  34. "2", "springkey",
  35. "1", "miragepoint"
  36. ]
  37.  
  38. TableYearly: [
  39. "1", "miragecrystal"
  40. ]
  41. TableMonthly: [
  42. "1", "miragecrystal"
  43. ]
  44. TableWeekly:[
  45. "1", "miragecrystal"
  46. ]
  47.  
  48. }
  49.  
  50.  
  51. //#Each Reward Requires an id "which is the descriptor / identifier such as tomahawk: in the tomahawk reward
  52. //# After each Reward requires a name key, and a reward key
  53. //# The value for name is just a text String (This can be used to Call it out in the broadcast built in)
  54. //#The value for the rewards string is a list of strings. Each String should be a full command and can include the standard variables
  55. //# Each new command string needs a comma before it. If your command requires quotations make sure to add escape characters
  56. //#-----i.e ----"hello how "are" you"---- is not valid the string should be escaped as follows
  57. //# ----"hello how \"are\" you---- The backslash allows the " to be escaped to be ignored by the parser
  58. //#
  59. //# 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
  60. //# be duplicated though, so a tomahawk1, and a tomahawk2, can have "Steel Tomahawk" as the name"
  61.  
  62. Rewards {
  63.  
  64. bronzekey: {
  65. name: " & &61 Bronze Key"
  66. rewards: [
  67. "crate key bronze {player}"
  68. ]
  69. }
  70.  
  71. silverkey: {
  72. name: " & &71 Silver Key"
  73. rewards: [
  74. "crate key silver {player}"
  75. ]
  76. }
  77.  
  78. springkey: {
  79. name: " & &a1 Spring Key"
  80. rewards: [
  81. "crate key spring {player}"
  82. ]
  83. }
  84.  
  85. none: {
  86. name: ""
  87. rewards: [
  88. ""
  89. ]
  90.  
  91. }
  92.  
  93. miragepoint: {
  94. name: " & &61 Mirage Point"
  95. rewards:[
  96. "enjin addpoints {player} 1"
  97. ]
  98. }
  99.  
  100. miragecrystal: {
  101. name: "&61 &l&6Mirage &l&bCrystal"
  102. rewards:[
  103. "pb give {player} 1"
  104. ]
  105. }
  106.  
  107. }
  108.  
  109. #//This Message will Show above the Links.
  110. vote-sites-message: "&aVoting earns you a total of &e1200 PokeCoins &aa day, plus some lucky rewards such as &6crate keys&a! &2Voting 7 days straight will earn you &61 Mirage &bCrystal &2which can be used for the PokeBuilder! &aClick the link below to be directed to our voting page."
  111.  
  112. #// Your website voting links, displayed by /vote, these support color formatting. Creates clickable links.
  113. #//seriousvotes.commands.vote
  114. vote-sites:[
  115. "&bhttp://www.miragecraft.xyz/vote"
  116. ]
  117.  
  118.  
  119. #// The Milestones Module Requires a Mysql System Setup
  120. database:{
  121. hostname: "mtl.sql.cubedhost.com"
  122. port: "3306"
  123. name: "mc1879"
  124. prefix: "SV_"
  125. username: "mc1879"
  126. password: "f4d5eee1e7"
  127. }
  128.  
  129. #// Currently we have monthly weekly and yearly, put what you need in the set rewards. these commands will be run
  130. #// When a player votes X amount of days in a row, 365,30, 7
  131. dailies: {
  132. enabled: true
  133.  
  134. weekly: {
  135. message: "&7{player} &evoted 7 days in a row! Received &61 &l&6Mirage &l&bCrystal&e!"
  136. random:[
  137. "1", "TableWeekly"
  138. ]
  139. set:[]
  140. }
  141. monthly: {
  142. message: "&7{player} &evoted 30 days in a row! Received &a1 Emerald Key & &61 &l&6Mirage &l&bCrystal&e!"
  143. random:[
  144. "1", "TableMonthly"
  145. ]
  146. set:["crate key emerald {player}"]
  147. }
  148. yearly: {
  149. message: "&7{player} &evoted 365 days in a row! Absolutely insane!"
  150. random:[
  151. "1", "TableYearly"
  152. ]
  153. set:[]
  154. }
  155. }
  156.  
  157.  
  158. milestones: {
  159. enabled: false
  160. #//place the number of votes you'd like to enable milestones for inside the brackets separated by commas.
  161. records-enabled:["100","1","37"]
  162. #// 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.
  163. records:{
  164. 100:{
  165. message: "&4{player} has voted for a 100th time in a row!"
  166. random:[
  167. "27", "claimblocks"
  168. ]
  169. set: []
  170. }
  171. 1:{
  172. random:[]
  173. set: ["one command","two command", "three command", "floor"]
  174. }
  175.  
  176. }
  177.  
  178. }
  179. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement