Home›Java›Mods›BungeeChannelApi
ModsJava

BungeeChannelApi

Java mod listed for Minecraft 1.8–1.11. Download on the author's site.

⬇ Download on Spigot
An easy way to work with the "BungeeCord Plugin Messaging Channel".

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.
 
Get online player count:

Code (Text):

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:

Code (Text):

api.getPlayerList("ALL")
  .whenComplete((result, error) -> {
    sender.sendMessage("§aPlayers online: " + result.stream().collect(Collectors.joining(", ")));
  });
 
Send a message to a player:

Code (Text):

api.sendMessage("leonardosnt", "§cHello world");
 
More examples: https://github.com/leonardosnt/BungeeChannelApi#readme
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.

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.

Explore more