Skip to content

Adding VoteSites

Ben edited this page Apr 1, 2016 · 33 revisions

See the default here

Note: This is for version 3.0+, so just copying and pasting won't work for older versions, as it is different!

Adding a VoteSite:

  • Configure votifier if not done so (very important)
  • Cast a vote and in console (or log) you will see it will say unregistered site - if not registered in config (and received a vote from "SiteHere") - This is the Site that must be added, see below.

Now run /av VoteSites (SiteName) create - This will create a file in VoteSites folder in the plugin folder

*** All Together, using rewards example from above

ServiceSite: 'PlanetMinecraft.com'
VoteURL: 'link to vote URL here, used in /vote'
VoteDelay: 24
Money: 500
Items:
  Diamond:
    ID: 264
    Data: 0
    Amount: 1
    Name: '&4Example'
    Lore:
    - '&4Line 1'
    Enchants:
      PROTECTION_ENVIRONMENTAL: 1
      DURABILITY: 1[/SIZE]
Commands:
  Console:
  - 'say Example command: %player%'
  Player:
  - 'vote total'

*** Basic Example: No Commands, No lore/name on items, No chance rewards

ServiceSite: 'PlanetMinecraft.com'
VoteURL: 'link to vote URL here, used in /vote'
VoteDelay: 24
Money: 500
Items:
  Diamond:
    ID: 264
    Data: 0
    Amount: 1
Clone this wiki locally