Destrcto

Untitled

Oct 13th, 2020
15
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.org'
  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/server/596633'
  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. # Execute console commands
  62. Commands:
  63. - 'lp user %player% group add voter'
  64. # Send player a message
  65. Messages:
  66. Player: 'Thank you for voting!'
  67. # Site 2 example
  68. Site2:
  69. Enabled: false
  70. Name: 'Site2'
  71. ServiceSite: 'PlanetMinecraft.com'
  72. VoteURL: 'link to vote URL here, used in /vote'
  73. VoteDelay: 24
  74. DisplayItem:
  75. Material: 'DIAMOND'
  76. Amount: 1
  77. Rewards:
  78. Commands:
  79. - 'say hello'
  80. # Advanced example
  81. # 50% chance for reward1, if reward1 not given then 20% chance to get reward2, if reward2 not given then fallback
  82. AdvancedPriority:
  83. # Similar to priority, but no need to have to use reward files
  84. # Add requirements under each reward
  85. # Will go in order from list here and try to run each of the following rewards...
  86. # This name can be anything, but they need to be different
  87. Reward1:
  88. Chance: 50
  89. # Any other requirement here
  90. # If any requirement fails, the next reward will be attempted
  91. # Use permission requirement for rank based rewards
  92. #RequirePermission: true
  93. #Permission: 'permhere'
  94. Messages:
  95. Player: 'You got first reward'
  96. Reward2:
  97. Chance: 20
  98. Messages:
  99. Player: 'You got second reward'
  100. # Fallback, 100% chance, after other rewards fail chances
  101. Fallback:
  102. Messages:
  103. Player: 'You got unlucky'
  104.  
  105. Messages:
  106. Player: 'You voted'
  107.  
  108. # Reward for any site
  109. # Similar to AnySiteReward
  110. # This requires the site to be configured in order to get the reward.
  111. EverySiteReward: []
RAW Paste Data