ModsJava
BungeeChannelApi
Java mod listed for Minecraft 1.8–1.11. Download on the author's site.
⬇ Download on SpigotAn easy way to work with the "BungeeCord Plugin Messaging Channel".
Sorry for the non-existent description, my english is poor.
Some examples:
Instantiate:
// Create new instance for this plugin or get existing one.
// Same of "new BungeeChannelApi(this);"
BungeeChannelApi api = BungeeChannelApi.of(this); // this = Plugin instance.
Get online player count:
api.getPlayerCount("ALL")
.whenComplete((result, error) -> {
sender.sendMessage("§aThere are " + result + " players online on all servers.");
});
Get a list of players connected on a certain server, or on ALL the servers:
api.getPlayerList("ALL")
.whenComplete((result, error) -> {
sender.sendMessage("§aPlayers online: " + result.stream().collect(Collectors.joining(", ")));
});
Send a message to a player:
api.sendMessage("leonardosnt", "§cHello world");
More examples:
https://github.com/leonardosnt/BungeeChannelApi#readme
Sorry for the non-existent description, my english is poor.
Some examples:
Instantiate:
Code (Text):
// Create new instance for this plugin or get existing one.
// Same of "new BungeeChannelApi(this);"
BungeeChannelApi api = BungeeChannelApi.of(this); // this = Plugin instance.
Code (Text):
api.getPlayerCount("ALL")
.whenComplete((result, error) -> {
sender.sendMessage("§aThere are " + result + " players online on all servers.");
});
Code (Text):
api.getPlayerList("ALL")
.whenComplete((result, error) -> {
sender.sendMessage("§aPlayers online: " + result.stream().collect(Collectors.joining(", ")));
});
Code (Text):
api.sendMessage("leonardosnt", "§cHello world");
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.8, 1.9, 1.10
- 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.
BungeeChannelApi is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11. Downloaded 486 times (via Spigot). Download it and open it directly in the game.