How to open up the sign-edit mode for a player?

Discussion in 'Plugin Development' started by GODofCRAFTERS, Apr 11, 2015.

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

    GODofCRAFTERS

    I've been trying to develop a auto - sign place/edit plugin. How would I be able to tell the server to make the player place a sign at a specific location and bring up the sign - text - entering panel (the one in which you'd type all the lines in the sign) ?? Is there a special method, or does it have to be created?
     
  2. Offline

    DaanSander

    just het the players location set the sign where you want it then get the state and set/replace the text
     
  3. Offline

    GODofCRAFTERS

    @DaanSander
    I'm stuck after getting the state, how do I set it's state to set/replace ? Here's where I am with the code:
    Code:
    e.getClickedBlock().getState().setData();
    Is it setData() ? and if so what MaterialData arguement should I give? If not, which method should I use?
     
    Last edited: Apr 11, 2015
Thread Status:
Not open for further replies.

Share This Page