Hello, I want to send a message that the player can click on and it executes some command. I've found on Google that I need something like this: Code (Java): TextComponent message = new TextComponent("Click me"); message.setClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/command")); player.spigot().sendMessage(message); But when I put it into my IDE (Eclipse), it says that TextComponent cannot be resolved to a type and there is no available import. While I was Googling again, I've found this wiki page describing the API but it seems like it's for Bungeecord not Spigot. https://www.spigotmc.org/wiki/the-chat-component-api/ So, although I find it weird that it was several times recomended for Spigot here on forums, what is the way to do it in Spigot? Thanks!