"Link" Type /Link And Custom Website Pops Up!

Discussion in 'Archived: Plugin Requests' started by iPadHD, Mar 9, 2013.

  1. Offline


    I need a very basic plugin! When you type /Link a little link pops up in a little link. I would also like it if there could be colors!

    Ooh, I need this done ASAP! I can give some rewards ingame!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 31, 2016
  2. Offline



    public boolean onCommand(CommandSender sender,Command cmd, String commandLabel, String[] args){
    Player player = (Player) sender;

    if (commandLabel.equalsIgnoreCase ("link")){
    player.sendMessage("Url Goes Here");
  3. Offline


    Use commandhelper; Its a very useful plugin.

    Add that to your config.txt
    /<command>  = msg(concat(color(<ColorName>),'<PLACE YOUR LINK HERE'))
  4. Offline

    ZeusAllMighty11 Retired Staff

    Impossible to pop up a window
  5. Offline

    drtshock Retired Staff

    Casting to a player without checking? D:

    ZeusAllMighty11 He was referring to a link popping up I believe.
  6. Offline


    I mean like a line of text in game that can be colored. Can someone link me a plugin? And also.... Thanks for all of these replies!
  7. Offline


    An entire plugin for such basic functionality? As nhadobas mentioned, try out CommandHelper. Ridiculously easy to make commands that do things just like this, you can have multiple commands with custom functionality. Try it, really.

    Also, casting to Player simply to send a message? D:
    drtshock likes this.
  8. Offline


    I forget xD

Share This Page