Advertisement
Guest User

SeriousVote Config

a guest
Feb 4th, 2017
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.21 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: ""
  9.  
  10. #//-1 will have the system select a number of rewards between rewards-min and rewards-max;
  11. random-rewards-number: 0
  12. rewards-min:0
  13. rewards-max:0
  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).
  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. "0",
  38. ]
  39. set:[
  40. "crate luckycrate key {player}",
  41. "enjin addpoints {player} 1",
  42. "plainbroadcast test vote",
  43. ]
  44.  
  45. }
  46.  
  47.  
  48. #// Your website voting links, displayed by /vote, these support color formatting. Creates clickable links.
  49. #//seriousvotes.commands.vote
  50. vote-sites:[
  51. "&7https://goo.gl/HgSwmz",
  52. "&7https://goo.gl/qzcovK",
  53. "&7https://goo.gl/W4Kvsc"
  54. ]
  55.  
  56. #// If you want to disable the Milestones module set hostname to ""
  57. database:{
  58. hostname: "localhost"
  59. port: "3306"
  60. name: "SeriousVote"
  61. prefix: "SV_"
  62. username: "root"
  63. password: "Hello I need a pasword Noob "
  64. }
  65.  
  66. #// Currently we have monthly weekly and yearly, put what you need in the set rewards. these commands will be run
  67. #// When a player votes X amount of days in a row, 365,30, 7
  68. milestones: {
  69. weekly: {
  70. set:[
  71. "say This is a set weekly {player} Reward",
  72. ]
  73. }
  74. monthly: {
  75. set:[
  76. "say This is a set Monthly {player} Reward",
  77. "acb {player} bananaphone"
  78. ]
  79. }
  80. yearly: {
  81. set:[
  82. "say This is a set Yearly {player} Reward",
  83. "say Crap, you must play alot"
  84. ]
  85. }
  86. }
  87. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement