Advertisement
ModestPasta

Untitled

Apr 14th, 2019
350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.21 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. #//Set to true if you would like a message to be shown When the player votes even if they're offline.
  9. broadcast-offline: false
  10. #// Message to be shown
  11. broadcast-message-offline: "&4{player} &eJust Voted while offline! If you like it here show your support! &6run &5/vote"
  12. #//Set to true if you want commands to run even if the player is not online. No offline vote information will be stored
  13. bypass-offline: false
  14.  
  15. #//The number of random rewards that will be given out.
  16. #// -1 will have the system select a number of rewards between rewards-min and rewards-max;
  17. #// 0 will have the system give out no random rewards
  18. #// 1 or more will have the system choose random rewards exactly that number of times
  19. random-rewards-number: -1
  20. #//Having min and max set between 1 and 4 respectively ,for instance, will have the system choose to give out a random reward
  21. #//which is between those two numbers. Possibly a 1, a 2, a 3, or a 4.
  22. rewards-min:1
  23. rewards-max:4
  24. #// 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.
  25. #//In the case that there is only one table it will be chosen.
  26. vote-reward:{
  27. #//Here you will put the name of the tables and their chances that rewards will be chosen from.
  28. #// In the example you have 3 tables and their chances add up to 25. Chances must be integers.
  29. #// CHANCES TABLE-ID
  30. #// =======================
  31. #// "8", "TableCommon",
  32. #// "7", "TableClaims",
  33. #// "10", "TableYearly"
  34. #// ========================
  35. #// TOTAL = 25
  36. #// Using this you can calculate how likely it is that anyone of these tables will be chosen when a random reward is rolled for.
  37. #// I.E. if I were to vote and get 1 random reward, I have 10 chances out of 25 to get a "TableYearly" Reward or 40% chance.
  38. random:[
  39. "8", "TableCommon",
  40. "7", "TableClaims",
  41. "10", "TableYearly"
  42. ]
  43. #// The commands in set will be run everytime a person casts a vote.
  44. set:["command 1", "command 2", "command 3"]
  45. }
  46. #//Tables are groups of rewards which work as a weighted system. Below are a few examples, but they are very simple and not too elaborate.
  47. #// Much like the rewards, the Tables are re-usable. As a matter of fact the Tables are needed by all "Random" rewards areas.
  48. #// 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
  49. #// 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
  50. #// 25/95 chances to be chosen.
  51. #// CHANCES REWARD-ID
  52. #// =======================
  53. #// "70", "tomahawk",
  54. #// "25", "money1",
  55. #// ========================
  56. #// TOTAL = 95
  57. #// You can use this to make common, rare , and super rare (etc...) tables which can be used together when you
  58. #// want more control over what is being given out.
  59. #//
  60. #//TLDR: Once a reward has been rolled for and one of these tables chosen, The system will roll again for an item in that table with
  61. #// the chances provided here.
  62. Tables {
  63.  
  64. vote: [
  65. "80", "vote",
  66. "70", "uncommon",
  67. "65", "uncommon",
  68. "25", "rare",
  69. "15", "shiny",
  70. "10", "legend",
  71. ]
  72.  
  73. TableYearly: [
  74.  
  75. "1", "gold2"
  76. ]
  77.  
  78. TableClaims: [
  79. "1", "claimblocks"
  80. ]
  81.  
  82. TableMonthly: [
  83. "1", "shiny"
  84. ]
  85. TableWeekly:[
  86. "1", "money1"
  87. ]
  88.  
  89. }
  90.  
  91. //# These are the Rewards. In essence each reward is a set of commands with a name that can be re-used in different tables.
  92. //# Each Reward Requires an id "which is the descriptor / identifier such as tomahawk: in the tomahawk reward. Make sure to avoid spaces.
  93. //# In addition each reward requires a name key, and a reward key
  94. //# The value for name is just a text String (This can be used to Call it out in the broadcast built in)
  95. //# The value for the rewards string is a list of strings. Each String should be a full command and can include the standard variables
  96. //# Each new command string needs a comma before it. If your command requires quotations make sure to add escape characters
  97. //# i.e ----"hello how "are" you"---- is not valid the string should be escaped as follows
  98. //# ----"hello how \"are\" you---- The backslash allows the " to be escaped to be ignored by the parser
  99. //#
  100. //# 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
  101. //# be duplicated though, so a tomahawk1, and a tomahawk2, can have "Steel Tomahawk" as the name"
  102.  
  103. Rewards {
  104.  
  105. vote:
  106. name:"Vote Key"
  107. rewards: [
  108. "teslacrate key give {player} vote 1"
  109. ]
  110. }
  111.  
  112. common: {
  113. name:"common key"
  114. rewards: [
  115. "tc key give {player} common 1"
  116. ]
  117. }
  118.  
  119. uncommon: {
  120. name: "uncommon key"
  121. rewards: [
  122. "tc key give {player} uncommon 1"
  123. ]
  124.  
  125. }
  126.  
  127. rare: {
  128. name: "rare key"
  129. rewards:[
  130. "tc key give {player} rare 1"
  131. ]
  132. }
  133.  
  134. shiny: {
  135. name: "shiny key"
  136. rewards: [
  137. "tc key give {player} shiny 1"
  138. ]
  139. }
  140.  
  141. legend: {
  142. name: "Legend Key"
  143. rewards: [
  144. "tc key give {player} legend 1"
  145. ]
  146.  
  147. }
  148.  
  149.  
  150.  
  151. }
  152.  
  153. #//This Message will Show above the Links.
  154. vote-sites-message: "&6Thank You! Below are the places you can vote"
  155.  
  156. #// Your website voting links, displayed by /vote, these support color formatting. Creates clickable links.
  157. #//seriousvotes.commands.vote
  158. vote-sites:[
  159. "&4https://minecraft-mp.com/server/218580/vote/",
  160. "https://minecraft-server-list.com/server/438279/vote/",
  161. "&4https://pixelmonservers.com/server/PvSFjlLV/vote"
  162. ]
  163.  
  164.  
  165. #// The Milestones Module Requires a Mysql System Setup
  166. database:{
  167. hostname: "127.0.0.0"
  168. port: "3306"
  169. name: "COT_SeriousVote"
  170. prefix: "SV_"
  171. username: "root"
  172. password: "You need a password"
  173. minimum-idle-connections: 5
  174. maximum-active-connections: 10
  175. }
  176.  
  177. #// Currently we have monthly weekly and yearly, put what you need in the set rewards. these commands will be run
  178. #// When a player votes X amount of days in a row, 365,30, 7
  179. dailies: {
  180. enabled: false
  181.  
  182. weekly: {
  183. message: "This person has earned a 7 day in a row Reward!"
  184. random:[
  185. "27", "TableWeekly"
  186. ]
  187. set:[
  188. "say This is a set weekly {player} Reward",
  189. ]
  190. }
  191. monthly: {
  192. message: "This person has earned a monthly vote Reward!"
  193. random:[
  194. "27", "TableMonthly"
  195. ]
  196. set:[
  197. "say This is a set Monthly {player} Reward",
  198. "acb {player} bananaphone"
  199. ]
  200. }
  201. yearly: {
  202. message: "This person has earned a one year of straight voting reward"
  203. random:[
  204. "27", "TableYearly"
  205. ]
  206. set:[
  207. "say This is a set Yearly {player} Reward",
  208. "say Crap, you must play alot"
  209. ]
  210. }
  211. }
  212.  
  213.  
  214. milestones: {
  215. enabled: false
  216. #//place the number of votes you'd like to enable milestones for inside the brackets separated by commas.
  217. records-enabled:["100","1","37"]
  218. #// 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.
  219. records:{
  220. 100:{
  221. message: "&4{player} has voted for a 100th time in a row!"
  222. random:[
  223. "27", "claimblocks"
  224. ]
  225. set: []
  226. }
  227. 1:{
  228. random:[]
  229. set: ["one command","two command", "three command", "floor"]
  230. }
  231.  
  232. }
  233.  
  234. }
  235. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement