Untitled
raw download clone
TEXT
views 16
,
size 8719 b
VoteSites:
  # VoteSite key
  # Used for saving data for votesites
  # Use a short name if you can
  ExampleVoteSite:
    # Enable voteSite
    # If false, votesite will not be loaded by plugin
    # Default: false
    Enabled: true
    
    # Display name of voting site
    Name: 'PMC//PlanetMinecraft'
          
    # Priority of this site
    # Used for sorted list
    # High prority, higher on the list
    Priority: 5
          
    # The serviceName from the vote, has to be correct to work correctly
    # Gotten from voting on the site (will be in console/log)
    # Usually is the main part of the url(e.g. PlanetMinecraft.com), but not always
    # See console when you vote (it will notify you if the plugin didn't find a votingsite matching the service site
    ServiceSite: 'PlanetMinecraft.com'

    # vote url for /vote
    # Format for this can be set in Format.yml
    # Do not include colors here
    # If you need to force a url set the url as this:
    # VoteURL: '[Text="ANY TEXT TO CLICK ON HERE",url="URLHERE"]'
    VoteURL: '[Text="Vote here!",url="https://www.planetminecraft.com/server/lakeside-4559562/"]'

    # Time between votes in hours (used for /vote next)
    # Most sites are 24 hours
    VoteDelay: 24
    
    # Use to have a minute votedelay
    #VoteDelayMin: 30
    
    # Require waiting until votedelay time has pasted in order to accept vote
    # Recommend: false
    WaitUntilVoteDelay: false
    
    # Reset vote delay each day (for certain sites that do this)
    # Recommend: false
    VoteDelayDaily: false
    
    # If true, rewards can be executed offline (requires ForceOffline to be true in the reward)
    # Setting this to true will execute the reward offline while the player is offline
    # This basiclly disables offline voting if set to true, don't misinterpret this option
    ForceOffline: false
    
    # VoteSite Material for some GUI's
    # Removing this may result in an error, required on each site
    Item:
      Material: 'DIAMOND'
      Amount: 1
      Lore: Vote Diamond

    # Rewards to give
    # https://github.com/Ben12345rocks/AdvancedCore/wiki/Rewards
    Rewards:
      # Execute console commands
      Commands:
      - 'say +1 Vote'
      # Send player a message
      Messages:
        Player: 'You voted, Thanks!'
  # Site 2 example
  Site2:
    Enabled: true
    Name: 'TopG'
    ServiceSite: 'TopG.org'
    VoteURL: '[Text="Vote here!",url="https://topg.org/Minecraft/server-602369"]'
    VoteDelay: 24
    Item:
      Material: 'DIAMOND'
      Amount: 1
      Lore: Vote Diamond
    Rewards:
      Commands:
      - 'say +1 Vote'
      # Advanced example
      # 50% chance for reward1, if reward1 not given then 20% chance to get reward2, if reward2 not given then fallback
      AdvancedPriority:
        # Similar to priority, but no need to have to use reward files
        # Add requirements under each reward
        # Will go in order from list here and try to run each of the following rewards...
        # This name can be anything, but they need to be different
        Reward1:
          Chance: 50
          # Any other requirement here
          # If any requirement fails, the next will be attempted
          Messages:
            Player: 
        Reward2:
          Chance: 20
          Messages:
            Player: 
        # Fallback, 100% chance, after other rewards fail chances
        Fallback:
          Messages:
            Player: 
      Messages:
        Player: 'You voted'
    
# Reward for any site
# Similar to AnySiteReward
# This requires the site to be configured in order to get the reward.
EverySiteReward: []

  Site3:
    Enabled: true
    Name: 'MinecraftZone'
    ServiceSite: 'minecraftzone.org'
    VoteURL: '[Text="Vote here!",url="https://www.minecraftzone.org/server/342"]'
    VoteDelay: 24
    Item:
      Material: 'DIAMOND'
      Amount: 1
      Lore: Vote Diamond
    Rewards:
      Commands:
      - 'say +1 Vote'
      # Advanced example
      # 50% chance for reward1, if reward1 not given then 20% chance to get reward2, if reward2 not given then fallback
      AdvancedPriority:
        # Similar to priority, but no need to have to use reward files
        # Add requirements under each reward
        # Will go in order from list here and try to run each of the following rewards...
        # This name can be anything, but they need to be different
        Reward1:
          Chance: 50
          # Any other requirement here
          # If any requirement fails, the next will be attempted
          Messages:
            Player: 
        Reward2:
          Chance: 20
          Messages:
            Player: 
        # Fallback, 100% chance, after other rewards fail chances
        Fallback:
          Messages:
            Player: 
      Messages:
        Player: 'You voted'

  Site4:
    Enabled: true
    Name: 'minecraftservers'
    ServiceSite: 'minecraftservers.org'
    VoteURL: '[Text="Vote here!",url="https://minecraftservers.org/vote/581484"]'
    VoteDelay: 24
    Item:
      Material: 'DIAMOND'
      Amount: 1
      Lore: Vote Diamond
    Rewards:
      Commands:
      - 'say +1 Vote'
      # Advanced example
      # 50% chance for reward1, if reward1 not given then 20% chance to get reward2, if reward2 not given then fallback
      AdvancedPriority:
        # Similar to priority, but no need to have to use reward files
        # Add requirements under each reward
        # Will go in order from list here and try to run each of the following rewards...
        # This name can be anything, but they need to be different
        Reward1:
          Chance: 50
          # Any other requirement here
          # If any requirement fails, the next will be attempted
          Messages:
            Player: 
        Reward2:
          Chance: 20
          Messages:
            Player: 
        # Fallback, 100% chance, after other rewards fail chances
        Fallback:
          Messages:
            Player: 
      Messages:
        Player: 'You voted'
  Site5:
    Enabled: true
    Name: 'minecraft-servers'
    ServiceSite: 'minecraft-servers.net'
    VoteURL: '[Text="Vote here!",url="https://minecraft-server.net/vote/PlayLakeSide/"]'
    VoteDelay: 24
    Item:
      Material: 'DIAMOND'
      Amount: 1
      Lore: Vote Diamond
    Rewards:
      Commands:
      - 'say +1 Vote'
      # Advanced example
      # 50% chance for reward1, if reward1 not given then 20% chance to get reward2, if reward2 not given then fallback
      AdvancedPriority:
        # Similar to priority, but no need to have to use reward files
        # Add requirements under each reward
        # Will go in order from list here and try to run each of the following rewards...
        # This name can be anything, but they need to be different
        Reward1:
          Chance: 50
          # Any other requirement here
          # If any requirement fails, the next will be attempted
          Messages:
            Player: 
        Reward2:
          Chance: 20
          Messages:
            Player: 
        # Fallback, 100% chance, after other rewards fail chances
        Fallback:
          Messages:
            Player: 
      Messages:
        Player: 'You voted'
  Site6:
    Enabled: true
    Name: 'minecraft-servers-list'
    ServiceSite: 'minecraft-server-list.com'
    VoteURL: '[Text="Vote here!",url="https://minecraft-server-list.com/server/459119/vote/"]'
    VoteDelay: 24
    Item:
      Material: 'DIAMOND'
      Amount: 1
      Lore: Vote Diamond
    Rewards:
      Commands:
      - 'say +1 Vote'
      # Advanced example
      # 50% chance for reward1, if reward1 not given then 20% chance to get reward2, if reward2 not given then fallback
      AdvancedPriority:
        # Similar to priority, but no need to have to use reward files
        # Add requirements under each reward
        # Will go in order from list here and try to run each of the following rewards...
        # This name can be anything, but they need to be different
        Reward1:
          Chance: 50
          # Any other requirement here
          # If any requirement fails, the next will be attempted
          Messages:
            Player: 
        Reward2:
          Chance: 20
          Messages:
            Player: 
        # Fallback, 100% chance, after other rewards fail chances
        Fallback:
          Messages:
            Player: 
      Messages:
        Player: 'You voted, thanks'
close fullscreen
Login or Register to edit or fork this paste. It's free.