Hi all, Just wondering if anyone knows to make It when a player clicks a part of the chat it will execute a command. I am making a tpa plugin and when someone gets a request they can click on Accept and it will run /tpaccept and to deny /tpdeny. I thought this might work but I do not know. Code: TextComponent c = new TextComponent("accept!"); c.setUnderlined(true); c.setColor(ChatColor.AQUA); c.setClickEvent(new ClickEvent(Action.RUN_COMMAND, "tpaccept")); c.setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new ComponentBuilder("Accept!").create())); TextComponent msg = new TextComponent(""); msg.addExtra(c); target.spigot().sendMessage(msg); Any help is much appreciated.