Quantcast
Channel: SpigotMC - High Performance Minecraft Community
Viewing all articles
Browse latest Browse all 128675

Plugin Messaging Channel

$
0
0
Hey guys, this has been really bothering me for the past few days and I have no clue why it does not work.
I am trying to use BungeeFier to pass a voting players name down to all of the servers.

The bukkit plugin listener:

Code (text):
@Override
    public void onPluginMessageReceived(String channel, Player player, byte[] message) {
        String votingPlayerName = new String(message);

        Player votingPlayer = plugin.getServer().getPlayer(votingPlayerName);

        if (votingPlayer == null)...
Plugin Messaging Channel

Viewing all articles
Browse latest Browse all 128675