Add clickable messages for /hd list (Teleport one)
danirod12 opened this issue ยท 3 comments
Description
Add clickable messages for /hd list. So users will click on message and teleport to hologram
TextComponent text_component = new TextComponent("- NAME at x: X y: Y z: Z (lines: LINES, world \"WORLD\")");
text_component.setClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/hd teleport NAME"));
Player.spigot().sendMessage(text_component);
I'm sorry, as part of the switch to maintenance-only mode (read here for more info), I'm no longer adding new features or enhancements to the plugin.