mirror of
https://e.coding.net/circlecloud/YumCore.git
synced 2024-11-22 01:48:50 +00:00
feat: 添加Tellraw公告
Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
parent
b967cf82bd
commit
eae10d3527
@ -46,6 +46,15 @@ public class Tellraw {
|
|||||||
System.out.println(Tellraw.create("命令").command("yum list").tip("点击查看插件列表").toJsonString());
|
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
Block a user