Home›Java›Mods›ChatComponentAPI
ChatComponentAPI
ModsJava

ChatComponentAPI

Java mod listed for Minecraft 1.7–1.10. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
title.png
A simple API for send messages with click/hover event!

​
usage.png
Spoiler: RUN COMMANDS
SEND MESSAGE WITH CLICK EVENT (Run command)
Code (Text):
ChatComponentAPI.sendClickChat(player, message, hover, command);
 
Example:
Code (Text):
ChatComponentAPI.sendClickChat(player, "§2Stop Server!!", "§6Click here for stop server!", "/stop");

Spoiler: OPEN URL
SEND MESSAGE WITH CLICK EVENT (Open URL)
Code (Text):
ChatComponentAPI.sendClickOpenURLChat(player, message, hover, url);
Example:
Code (Text):
ChatComponentAPI.sendClickOpenURLChat(player, "§6SpigotMC", "§2Click here for open SpigotMC page!", "https://www.spigotmc.org/");
Remember, put "https://"

Spoiler: SUGGEST COMMAND
SEND MESSAGE WITH CLICK EVENT (Suggest command)
Code (Text):
ChatComponentAPI.sendSuggestCommand(player, message, hover, command);
Example:
Code (Text):
ChatComponentAPI.sendSuggestCommand(player, "§3Get Help", "§3Click here for get help!", "/help");

Spoiler: HOVER MESSAGE
SEND MESSAGE WITH HOVER EVENT
Code (Text):
ChatComponentAPI.sendHoverChat(player, message, hover);
Example:
Code (Text):
ChatComponentAPI.sendHoverChat(player, "§6Info", "§3Info of server!");

terms.png

You are not allowed to redistribute or decompile this plugin
Only use it for your server / network !
NO REFUNDS ! If you have bugs please send message in "Discussion" area.
Ask all questions before downloading in the "Discussion" area.
DO NOT post reviews with suggestions / error reports in them, reviews should be your general opinion on the plugin !
Before reporting errors, make sure the issue is actually caused by the plugin.


Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

ChatComponentAPI is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10. Downloaded 387 times (via Spigot). Download it and open it directly in the game.

Explore more