ModsJava
ChatAPI
Minecraft Java mod. Downloads from the MC Java Mods app on Android.
⬇ Download on SpigotPlaceholders.
Usage:
inside onEnable():
Code (Text):
if(this.getServer().getPluginManager().getPlugin("ChatAPI") != null){
this.getLogger().info("Enabled!");
}else{
this.getLogger().info("ChatAPI is not installed!");
getServer().getPluginManager().disablePlugin(this);
}
}
this.getLogger().info("Enabled!");
}else{
this.getLogger().info("ChatAPI is not installed!");
getServer().getPluginManager().disablePlugin(this);
}
}
Code (Text):
Messages chatapi = new Messages();
chatapi.BroadcastToWorld(<World>, "message");
chatapi.BroadcastToServer("message");
chatapi.sendMessage(<Player>, "message");
chatapi.BroadcastToWorld(<World>, "message");
chatapi.BroadcastToServer("message");
chatapi.sendMessage(<Player>, "message");
Code (Text):
@EventHandler
public void onBroadcast(BroadcastEvent e){
Bukkit.broadcastMessage("Broadcast Event");
}
@EventHandler
public void onMessage(SendMessageEvent e){
Bukkit.broadcastMessage("Message Event");
}
public void onBroadcast(BroadcastEvent e){
Bukkit.broadcastMessage("Broadcast Event");
}
@EventHandler
public void onMessage(SendMessageEvent e){
Bukkit.broadcastMessage("Message Event");
}
Quick facts
- Edition: Minecraft Java
- File type: .jar
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
ChatAPI is a free Minecraft Java mod. Downloaded 191 times (via Spigot). Download it and open it directly in the game.