@EventHandler(priority = EventPriority.LOWEST)
public void onPluginChannelRegister(PlayerRegisterChannelEvent e)
{
if (!e.getChannel().equals(BungeePerms.CHANNEL))
{
return;
}
BukkitPlugin.getInstance().getNotifier().sendWorldUpdate(e.getPlayer());
}
java类org.bukkit.event.player.PlayerRegisterChannelEvent的实例源码
BukkitEventListener.java 文件源码
项目:BungeePerms
阅读 112
收藏 0
点赞 0
评论 0
CraftPlayer.java 文件源码
项目:Uranium
阅读 20
收藏 0
点赞 0
评论 0
public void addChannel(String channel) {
if (channels.add(channel)) {
server.getPluginManager().callEvent(new PlayerRegisterChannelEvent(this, channel));
}
}
CraftPlayer.java 文件源码
项目:ThermosRebased
阅读 21
收藏 0
点赞 0
评论 0
public void addChannel(String channel) {
if (channels.add(channel)) {
server.getPluginManager().callEvent(new PlayerRegisterChannelEvent(this, channel));
}
}
CraftPlayer.java 文件源码
项目:Thermos
阅读 99
收藏 0
点赞 0
评论 0
public void addChannel(String channel) {
if (channels.add(channel)) {
server.getPluginManager().callEvent(new PlayerRegisterChannelEvent(this, channel));
}
}
CraftPlayer.java 文件源码
项目:KCauldron
阅读 22
收藏 0
点赞 0
评论 0
public void addChannel(String channel) {
if (channels.add(channel)) {
server.getPluginManager().callEvent(new PlayerRegisterChannelEvent(this, channel));
}
}
CraftPlayer.java 文件源码
项目:CauldronGit
阅读 22
收藏 0
点赞 0
评论 0
public void addChannel(String channel) {
if (channels.add(channel)) {
server.getPluginManager().callEvent(new PlayerRegisterChannelEvent(this, channel));
}
}
CraftPlayer.java 文件源码
项目:Cauldron-Old
阅读 23
收藏 0
点赞 0
评论 0
public void addChannel(String channel) {
if (channels.add(channel)) {
server.getPluginManager().callEvent(new PlayerRegisterChannelEvent(this, channel));
}
}
CraftPlayer.java 文件源码
项目:Cauldron-Reloaded
阅读 23
收藏 0
点赞 0
评论 0
public void addChannel(String channel) {
if (channels.add(channel)) {
server.getPluginManager().callEvent(new PlayerRegisterChannelEvent(this, channel));
}
}
CraftPlayer.java 文件源码
项目:FFoKC
阅读 23
收藏 0
点赞 0
评论 0
public void addChannel(String channel) {
if (channels.add(channel)) {
server.getPluginManager().callEvent(new PlayerRegisterChannelEvent(this, channel));
}
}
CraftPlayer.java 文件源码
项目:CraftBukkit
阅读 28
收藏 0
点赞 0
评论 0
public void addChannel(String channel) {
if (channels.add(channel)) {
server.getPluginManager().callEvent(new PlayerRegisterChannelEvent(this, channel));
}
}
CraftPlayer.java 文件源码
项目:Craftbukkit
阅读 24
收藏 0
点赞 0
评论 0
public void addChannel(String channel) {
if (channels.add(channel)) {
server.getPluginManager().callEvent(new PlayerRegisterChannelEvent(this, channel));
}
}
CraftPlayer.java 文件源码
项目:Almura-Server
阅读 27
收藏 0
点赞 0
评论 0
public void addChannel(String channel) {
if (channels.add(channel)) {
server.getPluginManager().callEvent(new PlayerRegisterChannelEvent(this, channel));
}
}
CraftPlayer.java 文件源码
项目:Tweakkit-Server
阅读 24
收藏 0
点赞 0
评论 0
public void addChannel(String channel) {
com.google.common.base.Preconditions.checkState( channels.size() < 128, "Too many channels registered" ); // Spigot
if (channels.add(channel)) {
server.getPluginManager().callEvent(new PlayerRegisterChannelEvent(this, channel));
}
}
CraftPlayer.java 文件源码
项目:Cauldron
阅读 27
收藏 0
点赞 0
评论 0
public void addChannel(String channel) {
if (channels.add(channel)) {
server.getPluginManager().callEvent(new PlayerRegisterChannelEvent(this, channel));
}
}
CraftPlayer.java 文件源码
项目:SpigotSource
阅读 21
收藏 0
点赞 0
评论 0
public void addChannel(String channel) {
com.google.common.base.Preconditions.checkState( channels.size() < 128, "Too many channels registered" ); // Spigot
if (channels.add(channel)) {
server.getPluginManager().callEvent(new PlayerRegisterChannelEvent(this, channel));
}
}
CraftPlayer.java 文件源码
项目:Craft-city
阅读 27
收藏 0
点赞 0
评论 0
public void addChannel(String channel) {
if (channels.add(channel)) {
server.getPluginManager().callEvent(new PlayerRegisterChannelEvent(this, channel));
}
}
CraftPlayer.java 文件源码
项目:MCPBukkit
阅读 24
收藏 0
点赞 0
评论 0
public void addChannel(String channel) {
if (channels.add(channel)) {
server.getPluginManager().callEvent(new PlayerRegisterChannelEvent(this, channel));
}
}