Simple sign question

Discussion in 'Plugin Development' started by Hello Minecraft World, Feb 11, 2012.

Thread Status:
Not open for further replies.
  1. if i use the SignChangeEvent does it activate if i make a sign or right click a sign,
    if only first how can i make so if user right clicks do something.
     
  2. clicks a sign:
    PlayerInteractEvent and check if the clicked block is a sign.
     
  3. Thanks, worked but someone know how to check how many of on thing you have in your inventory?
    my small code to check if the player has stone:
    if(event.getPlayer().getInventory().contains(1)) {

    Don't need to know that anymore completed my plugin. Thanks!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 23, 2016
Thread Status:
Not open for further replies.

Share This Page