NaeBotherPal

Nae's Reward's

Oct 12th, 2020
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.58 KB | None | 0 0
  1. VoteSites:
  2. # VoteSite key
  3. # Used for saving data for votesites
  4. # Use a short name if you can
  5. ExampleVoteSite:
  6. # Enable voteSite
  7. # If false, votesite will not be loaded by plugin
  8. # Default: false
  9. Enabled: true
  10.  
  11. # Display name of voting site
  12. Name: 'MinecraftServers'
  13.  
  14. # Priority of this site
  15. # Used for sorted list
  16. # High prority, higher on the list
  17. Priority: 5
  18.  
  19. # The serviceName from the vote, has to be correct to work correctly
  20. # Gotten from voting on the site (will be in console/log)
  21. # Usually is the main part of the url(e.g. PlanetMinecraft.com), but not always
  22. # See console when you vote (it will notify you if the plugin didn't find a votingsite matching the service site
  23. ServiceSite: 'MinecraftServers.org'
  24.  
  25. # vote url for /vote
  26. # Format for this can be set in Format.yml
  27. # Do not include colors here
  28. # If you need to force a url set the url as this:
  29. # VoteURL: '[Text="ANY TEXT TO CLICK ON HERE",url="URLHERE"]'
  30. VoteURL: 'https://minecraftservers.org/vote/595990'
  31.  
  32. # Time between votes in hours (used for /vote next)
  33. # Most sites are 24 hours
  34. VoteDelay: 24
  35.  
  36. # Use to have a minute votedelay
  37. #VoteDelayMin: 30
  38.  
  39. # Require waiting until votedelay time has pasted in order to accept vote
  40. # Recommend: false
  41. WaitUntilVoteDelay: false
  42.  
  43. # Reset vote delay each day (for certain sites that do this)
  44. # Recommend: false
  45. VoteDelayDaily: false
  46.  
  47. # If true, rewards can be executed offline (requires ForceOffline to be true in the reward)
  48. # Setting this to true will execute the reward offline while the player is offline
  49. # This basiclly disables offline voting if set to true, don't misinterpret this option
  50. ForceOffline: false
  51.  
  52. # VoteSite Material for some GUI's
  53. # Removing this may result in an error, required on each site
  54. DisplayItem:
  55. Material: 'DIAMOND'
  56. Amount: 1
  57.  
  58. # Rewards to give
  59. # https://github.com/Ben12345rocks/AdvancedCore/wiki/Rewards
  60. Rewards:
  61. Commands:
  62. - '/crates givekey VoteCrate %player% 1'
  63. - 'crates givekey VoteCrate %player% 1'
  64. - 'scrates givekey VoteCrate %player% 1'
  65. # Send player a message
  66. Messages:
  67. Player: '&aThanks for Voting!'
  68. Broadcast: '&a %player% has Voted.'
  69. # Site 2 example
  70. Site2:
  71. Enabled: true
  72. Name: 'MinecraftServers.Biz'
  73. ServiceSite: 'MinecraftServers.Biz'
  74. VoteURL: 'https://minecraftservers.biz/servers/148359/'
  75. VoteDelay: 24
  76. DisplayItem:
  77. Material: 'DIAMOND'
  78. Amount: 1
  79. Rewards:
  80. # Execute console commands
  81. Commands:
  82.  
  83. - 'crates givekey VoteCrate %player% 1'
  84. # Send player a message
  85. Messages:
  86. Player: '&aThanks for Voting!'
  87. Broadcast: '&a %player% has Voted.'
  88. Messages:
  89. Player: 'You voted'
  90. Broadcast: '%player% has Voted Today!'
  91. # Advanced example
  92. # 50% chance for reward1, if reward1 not given then 20% chance to get reward2, if reward2 not given then fallback
  93. AdvancedPriority:
  94. # Similar to priority, but no need to have to use reward files
  95. # Add requirements under each reward
  96. # Will go in order from list here and try to run each of the following rewards...
  97. # This name can be anything, but they need to be different
  98. Reward1:
  99. Chance: 50
  100. # Any other requirement here
  101. # If any requirement fails, the next reward will be attempted
  102. # Use permission requirement for rank based rewards
  103. #RequirePermission: true
  104. #Permission: 'permhere'
  105. Messages:
  106. Player: 'You got first reward'
  107. Reward2:
  108. Chance: 20
  109. Messages:
  110. Player: 'You got second reward'
  111. # Fallback, 100% chance, after other rewards fail chances
  112. Fallback:
  113. Messages:
  114. Player: 'You got unlucky'
  115.  
  116. Messages:
  117. Player: 'You voted'
  118.  
  119. # Reward for any site
  120. # Similar to AnySiteReward
  121. # This requires the site to be configured in order to get the reward.
  122. EverySiteReward: []
Add Comment
Please, Sign In to add comment