Advertisement
ModestPasta

Untitled

Apr 14th, 2019
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.15 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. TableCommon: [
  65. "70", "tomahawk",
  66. "25", "money1"
  67. ]
  68.  
  69. TableYearly: [
  70.  
  71. "1", "gold2"
  72. ]
  73.  
  74. TableClaims: [
  75. "1", "claimblocks"
  76. ]
  77.  
  78. TableMonthly: [
  79. "1", "claimblocks"
  80. ]
  81. TableWeekly:[
  82. "1", "money1"
  83. ]
  84.  
  85. }
  86.  
  87. //# These are the Rewards. In essence each reward is a set of commands with a name that can be re-used in different tables.
  88. //# Each Reward Requires an id "which is the descriptor / identifier such as tomahawk: in the tomahawk reward. Make sure to avoid spaces.
  89. //# In addition each reward requires a name key, and a reward key
  90. //# The value for name is just a text String (This can be used to Call it out in the broadcast built in)
  91. //# The value for the rewards string is a list of strings. Each String should be a full command and can include the standard variables
  92. //# Each new command string needs a comma before it. If your command requires quotations make sure to add escape characters
  93. //# i.e ----"hello how "are" you"---- is not valid the string should be escaped as follows
  94. //# ----"hello how \"are\" you---- The backslash allows the " to be escaped to be ignored by the parser
  95. //#
  96. //# 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
  97. //# be duplicated though, so a tomahawk1, and a tomahawk2, can have "Steel Tomahawk" as the name"
  98.  
  99. Rewards {
  100.  
  101. vote:
  102. name:"Vote Key"
  103. rewards: [
  104. "teslacrate key give {player} vote 1"
  105. ]
  106. }
  107.  
  108. common: {
  109. name:"common key"
  110. rewards: [
  111. "tc key give {player} common 1"
  112. ]
  113. }
  114.  
  115. uncommon: {
  116. name: "uncommon key"
  117. rewards: [
  118. "tc key give {player} uncommon 1"
  119. ]
  120.  
  121. }
  122.  
  123. rare: {
  124. name: "rare key"
  125. rewards:[
  126. "tc key give {player} rare 1"
  127. ]
  128. }
  129.  
  130. shiny: {
  131. name: "shiny key"
  132. rewards: [
  133. "tc key give {player} shiny 1"
  134. ]
  135. }
  136.  
  137. legend: {
  138. name: "Legend Key"
  139. rewards: [
  140. "tc key give {player} legend 1"
  141. ]
  142.  
  143. }
  144.  
  145.  
  146.  
  147. }
  148.  
  149. #//This Message will Show above the Links.
  150. vote-sites-message: "&6Thank You! Below are the places you can vote"
  151.  
  152. #// Your website voting links, displayed by /vote, these support color formatting. Creates clickable links.
  153. #//seriousvotes.commands.vote
  154. vote-sites:[
  155. "&4https://minecraft-mp.com/server/218580/vote/",
  156. "https://minecraft-server-list.com/server/438279/vote/",
  157. "&4https://pixelmonservers.com/server/PvSFjlLV/vote"
  158. ]
  159.  
  160.  
  161. #// The Milestones Module Requires a Mysql System Setup
  162. database:{
  163. hostname: "127.0.0.0"
  164. port: "3306"
  165. name: "COT_SeriousVote"
  166. prefix: "SV_"
  167. username: "root"
  168. password: "You need a password"
  169. minimum-idle-connections: 5
  170. maximum-active-connections: 10
  171. }
  172.  
  173. #// Currently we have monthly weekly and yearly, put what you need in the set rewards. these commands will be run
  174. #// When a player votes X amount of days in a row, 365,30, 7
  175. dailies: {
  176. enabled: false
  177.  
  178. weekly: {
  179. message: "This person has earned a 7 day in a row Reward!"
  180. random:[
  181. "27", "TableWeekly"
  182. ]
  183. set:[
  184. "say This is a set weekly {player} Reward",
  185. ]
  186. }
  187. monthly: {
  188. message: "This person has earned a monthly vote Reward!"
  189. random:[
  190. "27", "TableMonthly"
  191. ]
  192. set:[
  193. "say This is a set Monthly {player} Reward",
  194. "acb {player} bananaphone"
  195. ]
  196. }
  197. yearly: {
  198. message: "This person has earned a one year of straight voting reward"
  199. random:[
  200. "27", "TableYearly"
  201. ]
  202. set:[
  203. "say This is a set Yearly {player} Reward",
  204. "say Crap, you must play alot"
  205. ]
  206. }
  207. }
  208.  
  209.  
  210. milestones: {
  211. enabled: false
  212. #//place the number of votes you'd like to enable milestones for inside the brackets separated by commas.
  213. records-enabled:["100","1","37"]
  214. #// 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.
  215. records:{
  216. 100:{
  217. message: "&4{player} has voted for a 100th time in a row!"
  218. random:[
  219. "27", "claimblocks"
  220. ]
  221. set: []
  222. }
  223. 1:{
  224. random:[]
  225. set: ["one command","two command", "three command", "floor"]
  226. }
  227.  
  228. }
  229.  
  230. }
  231. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement