Advertisement
Guest User

Untitled

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