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

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



1850343382
耗子 发表于 2017-9-26 00:41
可以去看一下Spigot的聊天组件API的教程
https://github.com/mousesrc/BungeeCordChineseTutorial/wiki/聊 ...

谢谢大佬

第一页 上一页 下一页 最后一页