Solved GAL GiveAnythingListener Question-

Discussion in 'Bukkit Help' started by Winterfellhard, Oct 19, 2014.

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

    Winterfellhard

    So it works. no doubt it is registering votes, and rewards. and the console even attempts to give the rewards but for reason me and my 2 admins but failed to received the rewards. We then typed the command in game it gave it to us.

    It is possible because we have nicknames? One of the 3 was not op during this test.
    What can I change {username} to? would {name} or {playername} be correct?


    services:
    default:
    broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}5 Diamonds!'
    playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
    commands:
    - '/give {username} 264 5'
    MC-Index:
    broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}MC-Index.com {GOLD}and received {GREEN}10 Diamonds!'
    playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
    commands:
    - '/give {username} 264 5'
     
  2. Offline

    DrPyroCupcake

    Do you have the votifier port forwarded?
     
  3. Offline

    Winterfellhard

    Yeah its registering the votes for votifier and everything the error is when the console goes to run the command at the very end

    -'/give {username} 264 5'

    The console tries to run /give winterfellhard 264 5. The problem is on the server my name is winter. so it doesn't find me. and no rewards are given.
     
  4. Offline

    tcvs

    Winterfellhard I would message the developer. It might be possible that the plugin does it based off the display name and not the actual user name. Have you tried using your nick name when voting?
     
    DrPyroCupcake likes this.
  5. Offline

    Winterfellhard

    my vote should be reseting soon and ill be testing out the name and player name. my other admin will be trying the normal way without a nickname to see if the nickname is the problem or not. I have filled a ticket as well as I can't seem to find the solution anywhere.

    Looks like until I get this figured out /eco give works.



    Edit:

    The Server Log:

    Code:
    06:50:37] [Server thread/INFO]: [ClearLag] Removed 0 Entities!
    [06:52:31] [Server thread/INFO]: [world][Initiate] ~WereWolf7~: test
    [06:52:35] [Server thread/INFO]: [world][Initiate] ~WereWolf7~: begin
    [06:53:43] [Server thread/INFO]: [GAListener] Vote received on MCSL for Player: Winterfellhard
    [06:53:43] [Server thread/INFO]: [GAListener] Player: Winterfellhard has permission: gal.double
    [06:53:43] [Server thread/INFO]: CONSOLE issued server command: /essentials:give
    [06:53:43] [Server thread/INFO]: Give a player an item.
    [06:53:43] [Server thread/INFO]: /essentials:give  [amount [itemmeta...]]
    [06:53:54] [Server thread/INFO]: Winterfellhard issued server command: /nick off
    [06:54:06] [Server thread/INFO]: [world][Initiate] Winterfellhard~: did not receive ^
    [06:54:15] [Server thread/INFO]: [world][Initiate] Winterfellhard~: test vote 2 without nick
    [06:55:11] [Server thread/INFO]: [GAListener] Vote received on MinecraftServers.org for Player: Winterfellhard
    [06:55:11] [Server thread/INFO]: [GAListener] Player: Winterfellhard has permission: gal.double
    [06:55:11] [Server thread/INFO]: CONSOLE issued server command: /essentials:give
    [06:55:11] [Server thread/INFO]: Give a player an item.
    [06:55:11] [Server thread/INFO]: /essentials:give  [amount [itemmeta...]]
    [06:55:31] [Server thread/INFO]: Winterfellhard issued server command: /reward
    [06:55:38] [Server thread/INFO]: Winterfellhard issued server command: /votetop
    [06:56:00] [Server thread/INFO]: [world][Initiate] Winterfellhard~: fail
    [06:56:05] [Server thread/INFO]: [world][Initiate] Winterfellhard~: end test
    [06:56:31] [RCON Listener #2/INFO]: Rcon connection from: /**** Ip Censored.
    [06:56:32] [Server thread/INFO]: Rcon: Stopping the server..
    [06:56:32] [Server thread/INFO]: Stopping server



    Gal Config-
    Code:
    #  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: false
      permvote: true
      cumulative: false
      broadcastqueue: true
      broadcastrecent: true
      broadcastoffline: false
      votecommand: true
      rewardcommand: false
      joinmessage: false
      voteremind: true
      remindseconds: 3600
      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: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}5 Diamonds!'
        playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
        commands:
        - '/give {username} 264 5'
      MC-Index:
        broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}MC-Index.com {GOLD}and received {GREEN}10 Diamonds!'
        playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
        commands:
        - '/give {username} 264 5'
     
    #  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}{name} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}10 Diamonds!'
        playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
        commands:
        - '/give {name} 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}{player} {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 {player} 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:
    - plotsmall
     
    #  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}-----------------------------------------------------'
    - 'Vote for us every day for in game rewards and extras'
    - 'Site 1: http://minecraftservers.org/server/177624'
    - 'Site 2: http://minecraft-server-list.com/server/263034/'
    - '{GOLD}-----------------------------------------------------'
    - '{AQUA}You currently have {GREEN}{votes} Votes'
     
    remindmessage:
    - '{GOLD}-----------------------------------------------------'
    - 'You have not voted recently, please vote to support Transcendence.'
    - '{GOLD}-----------------------------------------------------'
    - '{AQUA}You currently have {GREEN}{votes} Votes'
     
    joinmessage:
    - '{GOLD}-----------------------------------------------------'
    - 'Vote for us every day for in game rewards and extras'
    - '{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'
                      
     
  6. Offline

    tcvs

    Winterfellhard Well best of luck to you and hopefully this gets solved.
     
  7. Offline

    Winterfellhard

    tcvs thanks. If you have any suggestions I don't mind trying them out but for now /eco give part of it works just can't give via essentials. Wonder if another plugin is blocking the item spawning?

    ud think it would show a message or something. Idk oh well ill just give them the value of the diamonds in cash. Who doesn't like cash?


    Edit: Solved! Problem was another plugin blocking the spawning via essentials. Changed the give command to another plug in and works perfectly. Thanks for all the tips guys.

    ~~~~~Nickname wasn't the problem was just that command.
     
Thread Status:
Not open for further replies.

Share This Page