2017-09-03 31 views
0

我正在使用记分牌插件来显示玩游戏所需的所有信息。 我有一行显示你正在说话的聊天室。 我已经从VentureChat导入了ChannelJoinEvent,并用它来获取频道名称。事件不存在&UnknownDependEncyexeption

我依赖这个插件,因为这是他们在Bukkit论坛上所说的,但它并没有帮助解决问题。

这里是我的代码:

import mineverse.Aust1n46.chat.api.events.ChannelJoinEvent; 

@EventHandler 
public void onChannelJoin(ChannelJoinEvent e) { 
    ChatChannel channel = e.getChannel(); 
    s4 = o.getScore("Chat Channel: " + channel.getColor() + channel); 
} 

类事件的是公众和插件本身是在插件以及在服务器插件文件夹导入。

这是在控制台上的错误: https://pastebin.com/WLCxXHGg

回答

0

你还安装插件“ProtocolLib”? (https://dev.bukkit.org/projects/protocollib) 在发布的日志中显示: Could not load 'plugins\VentureChat.jar' ... UnknownDependencyException: ProtocolLib。 VentureChat似乎依赖于ProtocolLib,并且由于缺少ProtocolLib而未加载。 由于VentureChat未加载,您的插件未能加载。

相关问题