列如"欢迎,xxxx进入服务器"怎么给xxx单独开一个悬浮事件?
求大佬帮忙
求大佬帮忙

可以去看一下Spigot的聊天组件API的教程
https://github.com/mousesrc/BungeeCordChineseTutorial/wiki/聊天组件API(The-Chat-Component-API)一个简单的例子:
复制代码
https://github.com/mousesrc/BungeeCordChineseTutorial/wiki/聊天组件API(The-Chat-Component-API)一个简单的例子:
- player.spigot().sendMessage(new ComponentBuilder("欢迎,")
- .append("xxx").event(new HoverEvent(HoverEvent.Action.SHOW_TEXT,new ComponentBuilder("VIP233").create()))
- .append("进入服务器")
- .create());
耗子 发表于 2017-9-26 00:41
可以去看一下Spigot的聊天组件API的教程
https://github.com/mousesrc/BungeeCordChineseTutorial/wiki/聊 ...
谢谢大佬