Advertisement
popcorn1111

SeriousVote Config

Jun 11th, 2017
383
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.11 KB | None | 0 0
  1. config:
  2. {
  3. config-version: "3.0"
  4. #//Variables - {player} : the person who voted
  5. #// {rewards} : The list of random rewards the player received
  6.  
  7. #//Leaving this empty will disable messages from being shown publicly: Supports color and formatting codes
  8. broadcast-message: "&4{player} &eJust Voted! They received {rewards}! Want to get some rewards too? &6run &5/vote"
  9.  
  10. #//-1 will have the system select a number of rewards between rewards-min and rewards-max;
  11. random-rewards-number: 1
  12. rewards-min:1
  13. rewards-max:1
  14.  
  15.  
  16. #//There are two kinds of rewards set and random. Set rewards will run a command and nothing else
  17. #//these commands are run every time a vote is had. Random Rewards are chosen well..Randomly.
  18. #//
  19. #// "12", "reward2", "say Reward2", --All Random reward Lines should look like this
  20. #//
  21. #// First Entry is a "percentage" the numbers should be an integer between 1 and 100, but if it's
  22. #// Going to be a 100 might as well just set it as a set command. Note that the percentage
  23. #// Dictates what "Loot Table" the reward goes to internally, multiple of the same percentage is fine,
  24. #// They will simply share a loot table. It is recommended to keep the total value of all the
  25. #// percentage values added up to 100 (Duplicate values are ignored in the sum since, items share
  26. #// loot Tables). In reality it's just weight based tables, there is a graphic on the thread.
  27. #// Second Entry is the name of the reward, this name gets added to the {rewards} variable. Items in the same
  28. #// loot table cannot have the same name!!.
  29. #// Third Entry is the command you want to be run. You are free to use the {player} variable in there.
  30. #//
  31. #//This should be pretty straight forward. Number,Name,Reward. If you have any questions ask me on the forum.
  32. #//I am happy to help!
  33.  
  34.  
  35. Rewards{
  36. random:[
  37. "10", "RANDOM PIXELMON", "pokerandom {player}",
  38. "1", "RANDOM SHINY PIXELMON", "pokerandom {player} s",
  39. "5", "Masterball", "give {player} pixelmon:master_ball 1",
  40. "30", "2 Rare Candies", "give {player} pixelmon:rare_candy 2",
  41. "44", "$5000 PokeBucks", "econ add {player} 5000",
  42. "60", "10 Ultra Balls", "give {player} pixelmon:ultra_ball 10",
  43. "100", "$1000 PokeBucks", "econ add {player} 1000",
  44. "300", "5 Ultra Balls", "give {player} pixelmon:ultra_ball 5",
  45. "400", "Extra $200 PokeBucks", "econ add {player} 200",
  46. ]
  47. set:[
  48. "$200 PokeBucks", "econ add {player} 200",
  49. ]
  50.  
  51. }
  52.  
  53.  
  54. #// Your website voting links, displayed by /vote, these support color formatting. Creates clickable links.
  55. #//seriousvote.commands.vote
  56. vote-sites:[
  57. "&a&lPlease click the link below.",
  58. "&4http://www.playpixelmonmc.com/voting",
  59. ]
  60.  
  61. #//Enable milestones to enable the database
  62. database:{
  63. hostname: "localhost"
  64. port: "3306"
  65. name: "SeriousVote"
  66. prefix: "SV_"
  67. username: "root"
  68. password: "Hello I need a pasword Noob "
  69. }
  70.  
  71. #// Currently we have monthly weekly and yearly, put what you need in the set rewards. these commands will be run
  72. #// When a player votes X amount of days in a row, 365,30, 7
  73. #// This module is disabled by default. It requires a mysql database. Update the database Information and then change enabled to true;
  74. #// The restart your server or do /svreload
  75. milestones: {
  76. enabled: false
  77. weekly: {
  78. set:[
  79. "say This is a set weekly {player} Reward",
  80. ]
  81. }
  82. monthly: {
  83. set:[
  84. "say This is a set Monthly {player} Reward",
  85. "acb {player} bananaphone"
  86. ]
  87. }
  88. yearly: {
  89. set:[
  90. "say This is a set Yearly {player} Reward",
  91. "say Crap, you must play alot"
  92. ]
  93. }
  94. }
  95. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement