GAListener /vote comamnd not working ...

Discussion in 'Bukkit Help' started by nitro portal, Apr 1, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    nitro portal

    So yeah its not working

    Config file (open)

    # GAListener v1.3.1
    # http://www.minecraft-index.com
    # settings section
    # onlineonly - Only delivers rewards when the player is online. If they are offline it will wait and deliver when they next join the server!
    # luckyvote - Enables the lucky voting section, this allows voters to have a random chance to receive additional rewards when they vote.
    # permvote - Enables the permission voting section, this allows voters to receive different rewards based upon their permissions.
    # cumulative - Enables the cumulative voting section, this allows voters to receive rewards once they have reached a certain number of votes.
    # broadcastqueue - Show broadcast message for queued votes.
    # broadcastoffline - Show broadcast message for offline queued votes.
    # broadcastrecent - Show broadcast message to recent voters (last 24 hours)
    # votecommand - Enables the /vote command which will show the message contained in the votemessage section at the bottom of the config.
    # rewardcommand - Enables the /rewards command which will show a list of all the cumulative voting rewards.
    # joinmessage - Show the message contained in the joinmessage section at the bottom of this config when a player joins the server.
    # voteremind - Message players who haven't voted in the last 24 hours. Shows the message contained in the remindmessage section at the bottom of this config.
    # remindseconds - How often (in seconds) between each reminder message.
    # ratelimit - Ignore votes received within this many seconds since the last vote for the same player on the same site. This should prevent duplicate votes.
    # logfile - Log received votes to vote.log file.
    # dbMode - Database mode. Use either mysql or sqlite.
    # dbFile - Database filename for SQLite.
    # dbHost - Database IP / Hostname for MySQL.
    # dbPort - Database port for MySQL.
    # dbUser - Database username for MySQL.
    # dbPass - Database password for MySQL.
    # dbName - Database name for MySQL.
    # dbPrefix - Database table prefix.
    settings:
    onlineonly: true
    luckyvote: true
    permvote: false
    cumulative: true
    broadcastqueue: true
    broadcastrecent: true
    broadcastoffline: false
    votecommand: true
    rewardcommand: false
    joinmessage: true
    voteremind: false
    remindseconds: 300
    ratelimit: 10
    logfile: false
    dbMode: 'sqlite'
    dbFile: 'GAL.db'
    dbHost: 'localhost'
    dbPort: 3306
    dbUser: 'root'
    dbPass: ''
    dbName: 'GAL'
    dbPrefix: ''
    # services section (default is used if service doesn't exist)
    # The example below would give 5 diamonds per vote.
    services:
    default:
    broadcast: '{RED}{username} {GOLD}has voted @ {PURPLE}http://www.planetminecraft.com/server/guardian-pvp-3277373/ {GOLD}and received{GREEN} $250,{YELLOW} a GOD Apple. {GOLD}You can to, do {GREEN}{BOLD}/vote!'
    playermessage: '{GOLD}Thanks for voting at you can vote daily!'
    commands:
    - '/eco give {username} 250'
    - '/give {username} 322:1 1'
    - '/give {username} 264 1'
    # luckyvotes section
    # The example below would give a 1 in 10 chance of a voter receiving an extra $1000, and a 1 in 50 chance of an extra $1000 and 100XP.
    luckyvotes:
    '10':
    broadcast: '{GREEN}{username} {GOLD}was lucky an extra {GREEN}$500 + Iron protection 1 set!'
    playermessage: '{GOLD}You were lucky and received an extra {GREEN}$500 + Iron protection 1 set!'
    commands:
    - /give {username} iron_helmet 1 protection:1 name:&4Lucky&6-&5Voter
    - /give {username} iron_chestplate 1 protection:1 name:&4Lucky&6-&5Voter
    - /give {username} iron_leggings 1 protection:1 name:&4Lucky&6-&5Voter
    - /give {username} iron_boots 1 protection:1 name:&4Lucky&6-&5Voter
    '20':
    broadcast: '{GREEN}{username} {GOLD}was lucky and received {GREEN}$10,000 + 1500 EXP!'
    playermessage: '{GOLD}You were lucky and received {GREEN}$10,000 + 1500 EXP!'
    commands:
    - /eco give {username} 10000
    - /xp give {username} 1500
    '50':
    broadcast: '{GREEN}{username} {GOLD}was lucky and received {DARK_AQUA}3 God Apples!'
    playermessage: '{GOLD}You were lucky and received {DARK_AQUA}3 God Apples!'
    commands:
    - /give {username} 322:1 3
    '75':
    broadcast: '{GREEN}{username} {GOLD}was lucky and received {RED}5 God Apples!'
    playermessage: '{GOLD}You were lucky and received {RED} 5 God Apples!'
    commands:
    - /give {username} 322:1 5
    '100':
    broadcast: '{GREEN}{username} {GOLD}was lucky and received {DARK_GREEN} Voter Sword!'
    playermessage: '{GOLD}You were lucky and received {DARK_GREEN} Voter Sword!'
    commands:
    - /give {username} dsword 1 sharpness:3 fireaspect:1 name:&4Voter&5Sword
    '125':
    broadcast: '{GREEN}{username} {GOLD}was lucky and received {AQUA}Protection 4 Armor'
    playermessage: '{GOLD}You were lucky and received {DARK_RED}Protection 4 Armor & Sharpness 3 Sword!'
    commands:
    - /give {username} 310 1 protection:4 name:&5&lSuperLucky&6&l-&9&lVoter
    - /give {username} 311 1 protection:4 name:&5&lSuperLucky&6&l-&9&lVoter
    - /give {username} 312 1 protection:4 name:&5&lSuperLucky&6&l-&9&lVoter
    - /give {username} 313 1 protection:4 name:&5&lSuperLucky&6&l-&9&lVoter
    - /give {username} dsword 1 sharpness:3 fireaspect:1 name:&5&lSuperLucky&6&l-&9&lVoter
    '1000':
    broadcast: '{GREEN}{username} {GOLD}was lucky and received a {LIGHT_PURPLE}$10 Buycraft Voucher!'
    playermessage: '{GOLD}You were lucky and received a {DARK_PURPLE} GOD SET WITH THORNS AND 30 GOD APPLES!'
    commands:
    - /give {username} 322:1 30
    - /give {username} 310 1 protection:4 throns:3 name:&5&lSuperLucky&6&l-&9&lVoter
    - /give {username} 311 1 protection:4 thorns:3 name:&5&lSuperLucky&6&l-&9&lVoter
    - /give {username} 312 1 protection:4 thorns:3 name:&5&lSuperLucky&6&l-&9&lVoter
    - /give {username} 313 1 protection:4 thorns:3 name:&5&lSuperLucky&6&l-&9&lVoter
    - /give {username} dsword 1 sharpness:3 fireaspect:1 name:&5&lSuperLucky&6&l-&9&lVoter
    # permission reward section
    # This example would give players with the permission node "gal.double" 10 Diamonds instead of their regular reward.
    perms:
    double:
    broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}10 Diamonds!'
    playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
    commands:
    - '/give {username} 264 10'
    # cumulative reward section
    # This example would give players 20 Diamonds once they have reached a total of 10 votes.
    cumulative:
    '75':
    broadcast: '{GREEN}{username} {GOLD}has voted a total of {RED}75 times {GOLD}and received {DARK_GREEN}24 Diamonds!'
    playermessage: '{GOLD}Thanks for voting {RED}75times!'
    rewardmessage: '24 Diamonds'
    commands:
    - '/give {username} 264 24'
    '100':
    broadcast: '{GREEN}{username} {GOLD}has voted a total of {RED}100 times {GOLD}and received {RED}5 God Apples!'
    playermessage: '{RED}Thanks for voting {RED}100 times!'
    rewardmessage: '5x God Apples'
    commands:
    - '/give {username} 322:1 10'
    '200':
    broadcast: '{GREEN}{username} {GOLD}has voted a total of {RED}200 times {GOLD}and received a {DARK_RED}Diamond Set, Protection 4 + Sword!'
    playermessage: '{GREEN}Thanks for voting {AQUA}10 times!'
    rewardmessage: 'Diamond Set, Protection 4 + Sword!'
    commands:
    - /give {username} 310 1 protection:4 name:&5&lSuper&6&l-&9&lVoter
    - /give {username} 311 1 protection:4 name:&5&lSuper&6&l-&9&lVoter
    - /give {username} 312 1 protection:4 name:&5&lSuper&6&l-&9&lVoter
    - /give {username} 313 1 protection:4 name:&5&lSuper&6&l-&9&lVoter
    - /give {username} dsword 1 sharpness:3 fireaspect:1 name:&5&lSuper&6&l-&9&lVoter'
    # blocked - a list of worlds where rewards should be disabled, they will remain queued until the player is in an allowed world.
    blocked:
    - world_blocked
    # Available formatting codes for messages:
    # {service} {servicename} {SERVICE} = service name
    # {username} {player} {name} = player username
    # {votes} = current vote total
    # & = Colour Symbol to enter manual colours / control codes
    # {AQUA} {BLACK} {BLUE} {DARK_AQUA} {DARK_BLUE}
    # {DARK_GRAY} {DARK_GREEN} {DARK_PURPLE} {DARK_RED} {GOLD}
    # {GRAY} {GREEN} {LIGHT_PURPLE} {RED} {WHITE} {YELLOW} {BOLD}
    # {ITALIC} {UNDERLINE} {STRIKETHROUGH} {STRIKE}
    # {STRIKETHROUGH} {MAGIC} {RESET}
    votemessage:
    - '{DARK_GRAY}--------------{GOLD}{BOLD}Lucky Vote{DARK_GRAY}-------------------'
    - '{DARK_GRAY}[{GOLD}1{DARK_GRAY}/{GOLD}10{DARK_GRAY}] {GOLD}Chance to win a extra {GREEN}$500 + {RED}Full iron armour protection 1!'
    - '{DARK_GRAY}[{GOLD}1{DARK_GRAY}/{GOLD}20{DARK_GRAY}] {GOLD}Chance to win a extra {GREEN}$10,000 + 1,500 EXP'
    - '{DARK_GRAY}[{GOLD}1{DARK_GRAY}/{GOLD}75{DARK_GRAY}] {GOLD}Chance to win {RED}2 God Apples'
    - '{DARK_GRAY}[{GOLD}1{DARK_GRAY}/{GOLD}125{DARK_GRAY}] {GOLD}Chance to win {DARK_RED}Protection 4 Armor & Sharpness 3 Sword!'
    - '{DARK_GRAY}--------------------------------------------'
    - '{DARK_GRAY}[{GOLD}100{DARK_GRAY}] {GOLD}Votes to get {RED}5 God Apples'
    - '{DARK_GRAY}--------------------------------------------'
    - '{GOLD}Vote @ {GREEN}Vote at:'
    - '{DARK_BLUE}[1]'
    '{GREEN}http://www.planetminecraft.com/server/guardian-pvp-3277373/vote/'
    - '{DARK_BLUE}[2]'
    - '{GREEN}http://minecraftservers.org/server/216948'

    - '{DARK_GRAY}--------------------------------------------'
    remindmessage:
    - '{GOLD}-----------------------------------------------------'
    - 'You have not voted recently, please vote to support the server'
    - '{GOLD}-----------------------------------------------------'
    - '{AQUA}You currently have {GREEN}{votes} Votes'
    joinmessage:
    - '{DARK_BLUE}----------------------------------'
    - '{GOLD}Vote daily for awesome rewards! {GREEN}{BOLD}/vote'
    - '{GOLD}You currently have {GREEN}{votes} {GOLD}Votes'
    - '{DARK_BLUE}----------------------------------'
    # Additional formatting codes for below:
    # {TOTAL} = vote total - used for /rewards
    # {REWARD} = current rewardmessage as specified in the cumulative reward section - used for /rewards
    # {POSITION} = current rank - used for /votetop
    # {username} = player name - used for /votetop
    rewardformat: '{GREEN}{TOTAL} Votes {GRAY}- {GOLD}{REWARD}'
    votetopformat: '{POSITION}. {GREEN}{username} - {GOLD}{TOTAL}'
    rewardheader:
    - '{DARK_GRAY}---------------- {DARK_RED}[ {GOLD}Rewards{DARK_RED} ] {DARK_GRAY}----------------'
    votetopheader:
    - '{DARK_GRAY}---------------- {DARK_RED}[ {GOLD}Top Voters{DARK_RED} ] {DARK_GRAY}----------------'
    rewardfooter:


    Any help? :)
     
  2. Offline

    nverdier

  3. Offline

    Prxmium

Thread Status:
Not open for further replies.

Share This Page