Solved Hello how do I give the target player item with command binds ?

Discussion in 'Plugin Development' started by raymart23, Aug 3, 2015.

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

    raymart23

    Code:
    public static Description getTitle() {
      return title;
    }
    hello guys can someone show me an example ? please
     
  2. Offline

    mine-care

    @raymart23
    Please be more specific, use your thread description to explain your problem to us instead of showing a useless piece of code.

    Also in these forums we are keeping spoon feeding as low as it gets (personally I don't do it at all.) so we are mostly here to help you if you reach a dead end in your code progress.
     
  3. Offline

    raymart23

    @mine-care lol ik :p but let I'll give a player an itemstack if they joined and with ItemMeta all I want is add some commands at itemstack and how should I do that is it an ItemMeta ?
     
  4. @raymart23
    I guess you could give it a specific name that isn't obtainable by default, in a PlayerInteractEvent check if the name matches and if it does you perform some flipflops
     
    mine-care likes this.
  5. Offline

    raymart23

    @megamichiel
    Code:
    Bukkit.dispatchCommand  ??
    // when I checked the item's name ?
    // well thanks for the info
     
Thread Status:
Not open for further replies.

Share This Page