parent
b967cf82bd
commit
eae10d3527
|
@ -46,6 +46,15 @@ public class Tellraw {
|
|||
System.out.println(Tellraw.create("命令").command("yum list").tip("点击查看插件列表").toJsonString());
|
||||
}
|
||||
|
||||
/**
|
||||
* 发送Tellraw公告
|
||||
*/
|
||||
public void broadcast() {
|
||||
for (final Player player : Bukkit.getOnlinePlayers()) {
|
||||
send(player);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 命令与提示
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue