This plug-in needs to be installed in BungeeCord/Waterfall and subserver (Spigot/Paper).
Introduction:
Sometimes, we need to let spigot communicate with bungee to achieve some operations such as obtaining the server name, then this plug-in can be used.
Command:
/bungeechannel alert <message> - Send message to every player(Support utf-8)
/bungeechannel command <command> - Send command as the console
/bungeechannel reload - Reload config on spigot server.
Permission:
BungeeChannel.admin
Config:
none
PlaceholderAPI:
%bungeechannel_servername% - Current server name (in bungee's config).
%bungeechannel_queue% - The server queue where the current server is located(Need ServerQueue).
Softdepend Plugins:
BungeeCord/Waterfall: BungeeCommand, BungeeHub, ServerQueue.
Spigot/Paper: PlaceholderAPI.
API:
import org.bukkit.entity.Player;
import cn.yistars.channel.bukkit.ChannelHook;
public interface BungeeChannelHook {
public static void onRunCommand(Player player, String command) {
BungeeChannel.onRunCommand(Player player, String command);
}
public static void onRunAlert(Player player, String command) {
BungeeChannelManager.sendAlertPluginMessage(player, command);
}
public static String getServername() {
BungeeChannel.getServername();
}
public static String getQueue() {
BungeeChannel.getQueue();
}
}
Note:
- It is strictly forbidden to decompile/modify this plugin without my permission.
- If you want to distribute this plug-in, please get my consent first.
注意:
- 未经我的允许,严禁反编译/修改此插件。
- 若想分发此插件,请先征得我的同意。
If you think the plugin is good, please leave your rating, thank you!
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta