Advertisement
Guest User

Untitled

a guest
Dec 13th, 2018
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.67 KB | None | 0 0
  1. config:{
  2.  
  3. config-version: "4.0"
  4.  
  5. #//Variables - {player} : the person who voted
  6.  
  7. #// {rewards} : The list of random rewards the player received
  8.  
  9.  
  10.  
  11. #//Leaving this empty will disable messages from being shown publicly: Supports color and formatting codes
  12.  
  13. broadcast-message: "&4{player} &eJust Voted! He got {rewards}! If you like it here show your support! &6run &5/vote"
  14.  
  15. #//Set to true if you would like a message to be shown When the player votes even if they're offline.
  16.  
  17. broadcast-offline: false
  18.  
  19. #// Message to be shown
  20.  
  21. broadcast-message-offline: "&4{player} &eJust Voted while offline! If you like it here show your support! &6run &5/vote"
  22.  
  23. #//Set to true if you want commands to run even if the player is not online. No offline vote information will be stored
  24.  
  25. bypass-offline: false
  26.  
  27.  
  28.  
  29. #//The number of random rewards that will be given out.
  30.  
  31. #// -1 will have the system select a number of rewards between rewards-min and rewards-max;
  32.  
  33. #// 0 will have the system give out no random rewards
  34.  
  35. #// 1 or more will have the system choose random rewards exactly that number of times
  36.  
  37. random-rewards-number: -1
  38.  
  39. #//Having min and max set between 1 and 4 respectively ,for instance, will have the system choose to give out a random reward
  40.  
  41. #//which is between those two numbers. Possibly a 1, a 2, a 3, or a 4.
  42.  
  43. rewards-min:1
  44.  
  45. rewards-max:4
  46.  
  47. #// 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.
  48.  
  49. #//In the case that there is only one table it will be chosen.
  50.  
  51. vote-reward:{
  52.  
  53. #//Here you will put the name of the tables and their chances that rewards will be chosen from.
  54.  
  55. #// In the example you have 3 tables and their chances add up to 25. Chances must be integers.
  56.  
  57. #// CHANCES TABLE-ID
  58.  
  59. #// =======================
  60.  
  61. #// "8", "TableCommon",
  62.  
  63. #// "7", "TableClaims",
  64.  
  65. #// "10", "TableYearly"
  66.  
  67. #// ========================
  68.  
  69. #// TOTAL = 25
  70.  
  71. #// Using this you can calculate how likely it is that anyone of these tables will be chosen when a random reward is rolled for.
  72.  
  73. #// 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.
  74.  
  75. random:[
  76.  
  77. "8", "TableCommon",
  78.  
  79. "7", "TableClaims",
  80.  
  81. "10", "TableYearly"
  82.  
  83. ]
  84.  
  85. #// The commands in set will be run everytime a person casts a vote.
  86.  
  87. set:["command 1", "command 2", "command 3"]
  88.  
  89. }
  90.  
  91. #//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.
  92.  
  93. #// Much like the rewards, the Tables are re-usable. As a matter of fact the Tables are needed by all "Random" rewards areas.
  94.  
  95. #// 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
  96.  
  97. #// 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
  98.  
  99. #// 25/95 chances to be chosen.
  100.  
  101. #// CHANCES REWARD-ID
  102.  
  103. #// =======================
  104.  
  105. #// "70", "tomahawk",
  106.  
  107. #// "25", "money1",
  108.  
  109. #// ========================
  110.  
  111. #// TOTAL = 95
  112.  
  113. #// You can use this to make common, rare , and super rare (etc...) tables which can be used together when you
  114.  
  115. #// want more control over what is being given out.
  116.  
  117. #//
  118.  
  119. #//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
  120.  
  121. #// the chances provided here.
  122.  
  123. Tables {
  124.  
  125.  
  126.  
  127. TableCommon: [
  128.  
  129. "70", "tomahawk",
  130.  
  131. "25", "money1"
  132.  
  133. ]
  134.  
  135.  
  136.  
  137. TableYearly: [
  138.  
  139.  
  140.  
  141. "1", "gold2"
  142.  
  143. ]
  144.  
  145.  
  146.  
  147. TableClaims: [
  148.  
  149. "1", "claimblocks"
  150.  
  151. ]
  152.  
  153.  
  154.  
  155. TableMonthly: [
  156.  
  157. "1", "claimblocks"
  158.  
  159. ]
  160.  
  161. TableWeekly:[
  162.  
  163. "1", "money1"
  164.  
  165. ]
  166.  
  167.  
  168.  
  169. }
  170.  
  171.  
  172.  
  173. //# These are the Rewards. In essence each reward is a set of commands with a name that can be re-used in different tables.
  174.  
  175. //# Each Reward Requires an id "which is the descriptor / identifier such as tomahawk: in the tomahawk reward. Make sure to avoid spaces.
  176.  
  177. //# In addition each reward requires a name key, and a reward key
  178.  
  179. //# The value for name is just a text String (This can be used to Call it out in the broadcast built in)
  180.  
  181. //# The value for the rewards string is a list of strings. Each String should be a full command and can include the standard variables
  182.  
  183. //# Each new command string needs a comma before it. If your command requires quotations make sure to add escape characters
  184.  
  185. //# i.e ----"hello how "are" you"---- is not valid the string should be escaped as follows
  186.  
  187. //# ----"hello how \"are\" you---- The backslash allows the " to be escaped to be ignored by the parser
  188.  
  189. //#
  190.  
  191. //# 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
  192.  
  193. //# be duplicated though, so a tomahawk1, and a tomahawk2, can have "Steel Tomahawk" as the name"
  194.  
  195.  
  196.  
  197. Rewards {
  198.  
  199.  
  200.  
  201. tomahawk: {
  202.  
  203. name: "Steel Tomahawk"
  204.  
  205. rewards: [
  206.  
  207. "give {player} modernweapons:steel_tomahawk 1",
  208.  
  209. "message {player} MeHrRrr, Stabby Stabb"
  210.  
  211. ]
  212.  
  213. }
  214.  
  215.  
  216.  
  217. yearly: {
  218.  
  219. name: "Yearly Reward"
  220.  
  221. rewards: [
  222.  
  223. "give {player} minecraft:diamond 5",
  224.  
  225. "say {player} is really frk'n dedicated"
  226.  
  227. ]
  228.  
  229. }
  230.  
  231.  
  232.  
  233. gold2: {
  234.  
  235. name: "Gold Ingots"
  236.  
  237. rewards: [
  238.  
  239. "give {player} minecraft:gold_ingot 2"
  240.  
  241. ]
  242.  
  243.  
  244.  
  245. }
  246.  
  247.  
  248.  
  249. money1: {
  250.  
  251. name: "A little cash"
  252.  
  253. rewards:[
  254.  
  255. "adminpay {player} 100"
  256.  
  257. ]
  258.  
  259. }
  260.  
  261.  
  262.  
  263. claimblocks: {
  264.  
  265. name: "50 Claim Blocks"
  266.  
  267. rewards: [
  268.  
  269. "acb {player} 50"
  270.  
  271. ]
  272.  
  273. }
  274.  
  275.  
  276.  
  277. banana: {
  278.  
  279. name: "Banana"
  280.  
  281. rewards: [
  282.  
  283. "say {player} is a banana"
  284.  
  285. ]
  286.  
  287.  
  288.  
  289. }
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297. }
  298.  
  299.  
  300.  
  301. #//This Message will Show above the Links.
  302.  
  303. vote-sites-message: "&6Thank You! Below are the places you can vote"
  304.  
  305.  
  306.  
  307. #// Your website voting links, displayed by /vote, these support color formatting. Creates clickable links.
  308.  
  309. #//seriousvotes.commands.vote
  310.  
  311. vote-sites:[
  312.  
  313. "&4http://&evoteSiteOne.com/v&4ote",
  314.  
  315. "http://voteSiteTwo.com/vote",
  316.  
  317. "&4http://&5voteSiteThree.com/vote"
  318.  
  319. ]
  320.  
  321.  
  322.  
  323.  
  324.  
  325. #// The Milestones Module Requires a Mysql System Setup
  326.  
  327. database:{
  328.  
  329. hostname: "127.0.0.0"
  330.  
  331. port: "3306"
  332.  
  333. name: "COT_SeriousVote"
  334.  
  335. prefix: "SV_"
  336.  
  337. username: "root"
  338.  
  339. password: "You need a password"
  340.  
  341. minimum-idle-connections: 5
  342.  
  343. maximum-active-connections: 10
  344.  
  345. }
  346.  
  347.  
  348.  
  349. #// Currently we have monthly weekly and yearly, put what you need in the set rewards. these commands will be run
  350.  
  351. #// When a player votes X amount of days in a row, 365,30, 7
  352.  
  353. dailies: {
  354.  
  355. enabled: false
  356.  
  357.  
  358.  
  359. weekly: {
  360.  
  361. message: "This person has earned a 7 day in a row Reward!"
  362.  
  363. random:[
  364.  
  365. "27", "TableWeekly"
  366.  
  367. ]
  368.  
  369. set:[
  370.  
  371. "say This is a set weekly {player} Reward",
  372.  
  373. ]
  374.  
  375. }
  376.  
  377. monthly: {
  378.  
  379. message: "This person has earned a monthly vote Reward!"
  380.  
  381. random:[
  382.  
  383. "27", "TableMonthly"
  384.  
  385. ]
  386.  
  387. set:[
  388.  
  389. "say This is a set Monthly {player} Reward",
  390.  
  391. "acb {player} bananaphone"
  392.  
  393. ]
  394.  
  395. }
  396.  
  397. yearly: {
  398.  
  399. message: "This person has earned a one year of straight voting reward"
  400.  
  401. random:[
  402.  
  403. "27", "TableYearly"
  404.  
  405. ]
  406.  
  407. set:[
  408.  
  409. "say This is a set Yearly {player} Reward",
  410.  
  411. "say Crap, you must play alot"
  412.  
  413. ]
  414.  
  415. }
  416.  
  417. }
  418.  
  419.  
  420.  
  421.  
  422.  
  423. milestones: {
  424.  
  425. enabled: false
  426.  
  427. #//place the number of votes you'd like to enable milestones for inside the brackets separated by commas.
  428.  
  429. records-enabled:["100","1","37"]
  430.  
  431. #// 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.
  432.  
  433. records:{
  434.  
  435. 100:{
  436.  
  437. message: "&4{player} has voted for a 100th time in a row!"
  438.  
  439. random:[
  440.  
  441. "27", "claimblocks"
  442.  
  443. ]
  444.  
  445. set: []
  446.  
  447. }
  448.  
  449. 1:{
  450.  
  451. random:[]
  452.  
  453. set: ["one command","two command", "three command", "floor"]
  454.  
  455. }
  456.  
  457.  
  458.  
  459. }
  460.  
  461.  
  462.  
  463. }
  464.  
  465. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement