Advertisement
Guest User

Untitled

a guest
Mar 28th, 2020
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.67 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: 'Planet Minecraft'
  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: 'https://www.planetminecraft.com/'
  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://www.planetminecraft.com/server/dangerwars/vote/'
  31.  
  32. # Time between votes in hours (used for /vote next)
  33. # Most sites are 24 hours
  34. VoteDelay: 24
  35.  
  36. # Require waiting until votedelay time has pasted in order to accept vote
  37. # Recommend: false
  38. WaitUntilVoteDelay: false
  39.  
  40. # Reset vote delay each day (for certain sites that do this)
  41. # Recommend: false
  42. VoteDelayDaily: false
  43.  
  44. # If true, rewards can be executed offline (requires ForceOffline to be true in the reward)
  45. # Setting this to true will execute the reward offline while the player is offline
  46. # This basiclly disables offline voting if set to true, don't misinterpret this option
  47. ForceOffline: false
  48.  
  49. # VoteSite Material for some GUI's
  50. # Removing this may result in an error, required on each site
  51. Item:
  52. Material: 'DIAMOND'
  53. Amount: 1
  54.  
  55. # Rewards to give
  56. # https://github.com/Ben12345rocks/AdvancedCore/wiki/Rewards
  57. Rewards:
  58. # Execute console commands
  59. Commands:
  60. Console:
  61. - 'cc give physical basic 1 %Player%'
  62. # Send player a message
  63. Messages:
  64. Player: '&cThank you so much for voting on Planetminecraft.com! Enjoy your reward. '
  65. # Site 2 example
  66. Site2:
  67. Enabled: false
  68. Name: 'Site2'
  69. ServiceSite: 'PlanetMinecraft.com'
  70. VoteURL: 'link to vote URL here, used in /vote'
  71. VoteDelay: 24
  72. Item:
  73. Material: 'DIAMOND'
  74. Amount: 1
  75. Rewards:
  76. Commands:
  77. - 'say hello'
  78. # Advanced example
  79. # 50% chance for reward1, if reward1 not given then 20% chance to get reward2, if reward2 not given then fallback
  80. AdvancedPriority:
  81. # Similar to priority, but no need to have to use reward files
  82. # Add requirements under each reward
  83. # Will go in order from list here and try to run each of the following rewards...
  84. # This name can be anything, but they need to be different
  85. Reward1:
  86. Chance: 50
  87. # Any other requirement here
  88. # If any requirement fails, the next will be attempted
  89. Messages:
  90. Player: 'You got first reward'
  91. Reward2:
  92. Chance: 20
  93. Messages:
  94. Player: 'You got second reward'
  95. # Fallback, 100% chance, after other rewards fail chances
  96. Fallback:
  97. Messages:
  98. Player: 'You got unlucky'
  99.  
  100. Messages:
  101. Player: 'You voted'
  102.  
  103. # Reward for any site
  104. # Similar to AnySiteReward
  105. # This requires the site to be configured in order to get the reward.
  106. EverySiteReward: []
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement