How can I make clickable Signs?

Discussion in 'Development' started by Lime Fox Games, Apr 6, 2021.

  1. Lime Fox Games

    Lime Fox Games Creeper

    Messages:
    1
    GitHub:
    limefoxgames
    Hello, I know that has been asked quite often here, but I just can't get it. I'm doing a plugin for a friend's server and he hired me to make a minigame plugin. I would like to solve that with a sign.

    I want to be able to change the text on the sign and I want to be able to tell when a player right-clicks on the sign.

    I've tried every solution I could find online and I never get an error message, it just doesn't work.
     
  2. Primus

    Primus Zombie Pigman

    Messages:
    596
    Look at how other plugins have done it.
     
    minijaham likes this.
  3. WEATHERCRAFTYT1

    WEATHERCRAFTYT1 Baby Zombie

    Messages:
    100
    onInteract event perhaps?

     
    Primus and minijaham like this.
  4. minijaham

    minijaham Zombie Pigman

    Messages:
    415
    GitHub:
    minijaham
  5. SeferA

    SeferA Spider

    Messages:
    6
    PHP:
    $tile->getLine();
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.