Java 类org.bukkit.plugin.messaging.StandardMessenger 实例源码

项目:Uranium    文件:CraftPlayer.java   
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(server.getMessenger(), source, channel, message);
    if (getHandle().playerNetServerHandler == null) return;

    if (channels.contains(channel)) {
        net.minecraft.network.play.server.S3FPacketCustomPayload packet = new net.minecraft.network.play.server.S3FPacketCustomPayload(channel, message);
        getHandle().playerNetServerHandler.sendPacket(packet);
    }
}
项目:Uranium    文件:CraftWorld.java   
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(server.getMessenger(), source, channel, message);

    for (Player player : getPlayers()) {
        player.sendPluginMessage(source, channel, message);
    }
}
项目:Uranium    文件:CraftServer.java   
@Override
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(getMessenger(), source, channel, message);

    for (Player player : getOnlinePlayers()) {
        player.sendPluginMessage(source, channel, message);
    }
}
项目:ThermosRebased    文件:CraftPlayer.java   
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(server.getMessenger(), source, channel, message);
    if (getHandle().playerNetServerHandler == null) return;

    if (channels.contains(channel)) {
        net.minecraft.network.play.server.S3FPacketCustomPayload packet = new net.minecraft.network.play.server.S3FPacketCustomPayload(channel, message);
        getHandle().playerNetServerHandler.sendPacket(packet);
    }
}
项目:ThermosRebased    文件:CraftWorld.java   
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(server.getMessenger(), source, channel, message);

    for (Player player : getPlayers()) {
        player.sendPluginMessage(source, channel, message);
    }
}
项目:ThermosRebased    文件:CraftServer.java   
@Override
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(getMessenger(), source, channel, message);

    for (Player player : getOnlinePlayers()) {
        player.sendPluginMessage(source, channel, message);
    }
}
项目:ExilePearl    文件:TestServer.java   
@Override
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
       StandardMessenger.validatePluginMessage(getMessenger(), source, channel, message);

       for (Player player : getOnlinePlayers()) {
           player.sendPluginMessage(source, channel, message);
       }
}
项目:Thermos    文件:CraftPlayer.java   
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(server.getMessenger(), source, channel, message);
    if (getHandle().playerNetServerHandler == null) return;

    if (channels.contains(channel)) {
        net.minecraft.network.play.server.S3FPacketCustomPayload packet = new net.minecraft.network.play.server.S3FPacketCustomPayload(channel, message);
        getHandle().playerNetServerHandler.sendPacket(packet);
    }
}
项目:Thermos    文件:CraftWorld.java   
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(server.getMessenger(), source, channel, message);

    for (Player player : getPlayers()) {
        player.sendPluginMessage(source, channel, message);
    }
}
项目:Thermos    文件:CraftServer.java   
@Override
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(getMessenger(), source, channel, message);

    for (Player player : getOnlinePlayers()) {
        player.sendPluginMessage(source, channel, message);
    }
}
项目:KCauldron    文件:CraftPlayer.java   
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(server.getMessenger(), source, channel, message);
    if (getHandle().playerNetServerHandler == null) return;

    if (channels.contains(channel)) {
        net.minecraft.network.play.server.S3FPacketCustomPayload packet = new net.minecraft.network.play.server.S3FPacketCustomPayload(channel, message);
        getHandle().playerNetServerHandler.sendPacket(packet);
    }
}
项目:KCauldron    文件:CraftWorld.java   
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(server.getMessenger(), source, channel, message);

    for (Player player : getPlayers()) {
        player.sendPluginMessage(source, channel, message);
    }
}
项目:KCauldron    文件:CraftServer.java   
@Override
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(getMessenger(), source, channel, message);

    for (Player player : getOnlinePlayers()) {
        player.sendPluginMessage(source, channel, message);
    }
}
项目:CauldronGit    文件:CraftPlayer.java   
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(server.getMessenger(), source, channel, message);
    if (getHandle().playerNetServerHandler == null) return;

    if (channels.contains(channel)) {
        net.minecraft.network.play.server.S3FPacketCustomPayload packet = new net.minecraft.network.play.server.S3FPacketCustomPayload(channel, message);
        getHandle().playerNetServerHandler.sendPacket(packet);
    }
}
项目:CauldronGit    文件:CraftWorld.java   
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(server.getMessenger(), source, channel, message);

    for (Player player : getPlayers()) {
        player.sendPluginMessage(source, channel, message);
    }
}
项目:CauldronGit    文件:CraftServer.java   
@Override
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(getMessenger(), source, channel, message);

    for (Player player : getOnlinePlayers()) {
        player.sendPluginMessage(source, channel, message);
    }
}
项目:CanaryBukkit    文件:CanaryServer.java   
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(getMessenger(), source, channel, message);

    for (Player player : getOnlinePlayers()) {
        player.sendPluginMessage(source, channel, message);
    }
}
项目:Cauldron-Old    文件:CraftPlayer.java   
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(server.getMessenger(), source, channel, message);
    if (getHandle().playerNetServerHandler == null) return;

    if (channels.contains(channel)) {
        net.minecraft.network.play.server.S3FPacketCustomPayload packet = new net.minecraft.network.play.server.S3FPacketCustomPayload(channel, message);
        getHandle().playerNetServerHandler.sendPacket(packet);
    }
}
项目:Cauldron-Old    文件:CraftWorld.java   
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(server.getMessenger(), source, channel, message);

    for (Player player : getPlayers()) {
        player.sendPluginMessage(source, channel, message);
    }
}
项目:Cauldron-Old    文件:CraftServer.java   
@Override
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(getMessenger(), source, channel, message);

    for (Player player : getOnlinePlayers()) {
        player.sendPluginMessage(source, channel, message);
    }
}
项目:DiffUtils    文件:CraftServer_188.java   
@Override
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(getMessenger(), source, channel, message);

    for (Player player : getOnlinePlayers()) {
        player.sendPluginMessage(source, channel, message);
    }
}
项目:DiffUtils    文件:CraftServer_1710.java   
@Override
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(getMessenger(), source, channel, message);

    for (Player player : getOnlinePlayers()) {
        player.sendPluginMessage(source, channel, message);
    }
}
项目:Cauldron-Reloaded    文件:CraftPlayer.java   
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(server.getMessenger(), source, channel, message);
    if (getHandle().playerNetServerHandler == null) return;

    if (channels.contains(channel)) {
        net.minecraft.network.play.server.S3FPacketCustomPayload packet = new net.minecraft.network.play.server.S3FPacketCustomPayload(channel, message);
        getHandle().playerNetServerHandler.sendPacket(packet);
    }
}
项目:Cauldron-Reloaded    文件:CraftWorld.java   
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(server.getMessenger(), source, channel, message);

    for (Player player : getPlayers()) {
        player.sendPluginMessage(source, channel, message);
    }
}
项目:Cauldron-Reloaded    文件:CraftServer.java   
@Override
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(getMessenger(), source, channel, message);

    for (Player player : getOnlinePlayers()) {
        player.sendPluginMessage(source, channel, message);
    }
}
项目:FFoKC    文件:CraftPlayer.java   
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(server.getMessenger(), source, channel, message);
    if (getHandle().playerNetServerHandler == null) return;

    if (channels.contains(channel)) {
        net.minecraft.network.play.server.S3FPacketCustomPayload packet = new net.minecraft.network.play.server.S3FPacketCustomPayload(channel, message);
        getHandle().playerNetServerHandler.sendPacket(packet);
    }
}
项目:FFoKC    文件:CraftWorld.java   
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(server.getMessenger(), source, channel, message);

    for (Player player : getPlayers()) {
        player.sendPluginMessage(source, channel, message);
    }
}
项目:FFoKC    文件:CraftServer.java   
@Override
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(getMessenger(), source, channel, message);

    for (Player player : getOnlinePlayers()) {
        player.sendPluginMessage(source, channel, message);
    }
}
项目:CraftBukkit    文件:CraftPlayer.java   
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(server.getMessenger(), source, channel, message);
    if (getHandle().playerConnection == null) return;

    if (channels.contains(channel)) {
        PacketPlayOutCustomPayload packet = new PacketPlayOutCustomPayload(channel, message);
        getHandle().playerConnection.sendPacket(packet);
    }
}
项目:CraftBukkit    文件:CraftWorld.java   
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(server.getMessenger(), source, channel, message);

    for (Player player : getPlayers()) {
        player.sendPluginMessage(source, channel, message);
    }
}
项目:CraftBukkit    文件:CraftServer.java   
@Override
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(getMessenger(), source, channel, message);

    for (Player player : getOnlinePlayers()) {
        player.sendPluginMessage(source, channel, message);
    }
}
项目:Craftbukkit    文件:CraftPlayer.java   
@Override
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(server.getMessenger(), source, channel, message);
    if (getHandle().playerConnection == null) return;

    if (channels.contains(channel)) {
        PacketPlayOutCustomPayload packet = new PacketPlayOutCustomPayload(channel, new PacketDataSerializer(Unpooled.wrappedBuffer(message)));
        getHandle().playerConnection.sendPacket(packet);
    }
}
项目:Craftbukkit    文件:CraftWorld.java   
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(server.getMessenger(), source, channel, message);

    for (Player player : getPlayers()) {
        player.sendPluginMessage(source, channel, message);
    }
}
项目:Craftbukkit    文件:CraftServer.java   
@Override
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(getMessenger(), source, channel, message);

    for (Player player : getOnlinePlayers()) {
        player.sendPluginMessage(source, channel, message);
    }
}
项目:Almura-Server    文件:CraftPlayer.java   
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(server.getMessenger(), source, channel, message);
    if (getHandle().playerConnection == null) return;

    if (channels.contains(channel)) {
        Packet250CustomPayload packet = new Packet250CustomPayload();
        packet.tag = channel;
        packet.length = message.length;
        packet.data = message;
        getHandle().playerConnection.sendPacket(packet);
    }
}
项目:Almura-Server    文件:CraftWorld.java   
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(server.getMessenger(), source, channel, message);

    for (Player player : getPlayers()) {
        player.sendPluginMessage(source, channel, message);
    }
}
项目:Almura-Server    文件:CraftServer.java   
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(getMessenger(), source, channel, message);

    for (Player player : getOnlinePlayers()) {
        player.sendPluginMessage(source, channel, message);
    }
}
项目:Tweakkit-Server    文件:CraftPlayer.java   
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(server.getMessenger(), source, channel, message);
    if (getHandle().playerConnection == null) return;

    if (channels.contains(channel)) {
        PacketPlayOutCustomPayload packet = new PacketPlayOutCustomPayload(channel, message);
        getHandle().playerConnection.sendPacket(packet);
    }
}
项目:Tweakkit-Server    文件:CraftWorld.java   
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(server.getMessenger(), source, channel, message);

    for (Player player : getPlayers()) {
        player.sendPluginMessage(source, channel, message);
    }
}
项目:Tweakkit-Server    文件:CraftServer.java   
@Override
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
    StandardMessenger.validatePluginMessage(getMessenger(), source, channel, message);

    for (Player player : getOnlinePlayers()) {
        player.sendPluginMessage(source, channel, message);
    }
}