Solved Code Help

Discussion in 'Bukkit Help' started by IIxUnderWorldxII, Apr 27, 2014.

Thread Status:
Not open for further replies.
  1. I started out coding a bukkit plugin for my first time and got a friend to help. No errors come up but the set commands /hub and /sethub do not work whilst in-game here is my code - http://pastebin.com/aXFuU88z and here is my plugin.yml - http://pastebin.com/GaAyjwDY

    Thanks!
     
  2. Offline

    computerman_

    IIxUnderWorldxII

    I think the proglem might be a indentation error for hub in plugin.yml in the commands section.
     
  3. computerman_ It doesn't show errors it just doesn't respond to commands

    Anyone?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  4. Offline

    computerman_

    IIxUnderWorldxII

    line 24 not sure if it ment to be a space after instance

    if(!(sender instanceof Player)){
     
  5. Offline

    computerman_

  6. I changed all the names to me.IIxUnderWorldxII.Hub but in the code it was still me.IIxUnderWorldxII.Main :p
     
  7. Offline

    computerman_

Thread Status:
Not open for further replies.

Share This Page