Right click sign, open link in browser?

Discussion in 'Plugin Development' started by ZeusAllMighty11, Apr 6, 2012.

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

    ZeusAllMighty11

    You know how we can now click links in Vanilla Minecraft and it will say "Close, copy to clipboard, open"?

    I want to make a plugin that lets me right click the sign and it will do that, once a link is set inside the sign (not on the text)

    So like I do /setsignlink http://www.google.com
    and it will let me right click the sign and bring me the menu that says "Close, copytoclipboard, close".

    How would I do this?
     
  2. Offline

    TripleXPenguin

    I'd say you just have it send the link to the chat when you right click the sign, then you can open the menu from there.
     
  3. Offline

    TheTrixsta

    you will need to use a URL and URLConnection then open it in the default browser, let me check ill post an example when im done
     
  4. Offline

    CarPet

    Did you ever get this to work?
     
  5. Offline

    fireblast709

    ZeusAllMighty11 probably sending it to chat is the only thing you can do
     
  6. Offline

    ZeusAllMighty11

    Never gave it a fair go.

    But since the menu is clientside, I might just make it spout
     
Thread Status:
Not open for further replies.

Share This Page