Skip to content

votesites.yml

pustinek edited this page Nov 10, 2019 · 10 revisions

Options

Options that can be used under the vote_sites section

Option Description
enabled Enable vote site
vote_url URL that gets pasted once you click the icon in GUI
vote_cooldown Cooldown between voting in minutes (1440minutes == 24hours)
rewards Array of rewards that get checked on vote - specified in rewards.yml
service_site Site of the vote, this is important for the votes to be accepted correctly
gui GUI options for Menu

GUI lore Placeholders

Supported placeholders under item lore

Placeholder Description
{cooldown} Cooldown till player can vote again. Format -> 23h 20min

Example

  vote_1:
    enabled: true
    # vote_url will be displayed when you click on the icon in GUI
    vote_url: "https://server.net/vote1"
    vote_cooldown: 1440 #cooldown in minutes (1440min == 24h)
    rewards:
      - basic_vote
    service_site: "dogecraft-wiki-1"
    gui:
      name: Vote_1
      enabled_icon: GREEN_STAINED_GLASS_PANE
      disabled_icon: RED_STAINED_GLASS_PANE
      lore:
        - "vote here one"
        - "cooldown: {cooldown}"

Clone this wiki locally