Problem/Bug galistener not rewarding

Discussion in 'General Help' started by hongerlijder, Jul 10, 2018 at 12:57 AM.

  1. Offline

    hongerlijder

    my galistener is not rewarding
    I have been struggling for weeks
    what did I do wrong?
    mySQL is right

    Code:
    services:
      default:
        broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}Vote Key!'
        playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
        commands:
        - 'crate key {username} vote 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 and received an {GREEN}extra $1000!'
        playermessage: '{GREEN}You were lucky and received an extra $1000!'
        commands:
        - 'eco give {username} 1000'
      '50':
        broadcast: '{GREEN}{username} {GOLD}was super lucky and received an {GREEN}extra 100 XP and $1000!'
        playermessage: '{GREEN}You were super lucky and received an {GREEN}extra 100 XP and $1000!'
        commands:
        - 'xp give {username} 100'
        - 'eco give {username} 1000'
    
    #  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:
      '10':
        broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}10 times {GOLD}and received {GREEN}20 Diamonds!'
        playermessage: '{GREEN}Thanks for voting {AQUA}10 times!'
        rewardmessage: '20x Diamond'
        commands:
        - '/give {username} 264 20'
    
    #  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:
    - '{GOLD}-------------------------------------------'
    - '{GREEN}Vote:'
    - '{GREEN}1)http://minecraftservers.org/server/503524'
    - '{GREEN}2)https://www.planetminecraft.com/server/retronix-4144947/vote/'
    - '{GREEN}3)https://www.planetminecraft.com/server/retronix-factions-custom-mobs/vote/'
    - '{GOLD}-------------------------------------------'
    - '{AQUA}You currently have {GREEN}{votes} Votes'
    
    remindmessage:
    - '{GOLD}-------------------------------------------'
    - '{GREEN}Vote:'
    - '{GREEN}1)http://minecraftservers.org/server/503524'
    - '{GREEN}2)https://www.planetminecraft.com/server/retronix-4144947/vote/'
    - '{GREEN}3)https://www.planetminecraft.com/server/retronix-factions-custom-mobs/vote/'
    - '{GOLD}-------------------------------------------'
    - '{AQUA}You currently have {GREEN}{votes} Votes'
    
    joinmessage:
    - '{GOLD}-------------------------------------------'
    - '{GREEN}Vote:'
    - '{GREEN}1)http://minecraftservers.org/server/503524'
    - '{GREEN}2)https://www.planetminecraft.com/server/retronix-4144947/vote/'
    - '{GREEN}3)https://www.planetminecraft.com/server/retronix-factions-custom-mobs/vote/'
    - '{GOLD}-------------------------------------------'
    - '{AQUA}You currently have {GREEN}{votes} Votes'
    
    #  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}- {AQUA}{REWARD}'
    votetopformat: '{POSITION}. {GREEN}{username} - {WHITE}{TOTAL}'
    rewardheader:
    - '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Rewards{WHITE} ] {GOLD}----------------'
    votetopheader:
    - '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Top Voters{WHITE} ] {GOLD}----------------'
    rewardfooter:
    - '{AQUA}You currently have {GREEN}{votes} Votes'
     

Share This Page