作者:rebot | 分类:模组
Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8
平台: paper
标签: management social
A simple and lightweight plugin that allows automatic rotation of chat messages with per-world intervals and PlaceholderAPI support.
/automessage reload/automessage status/automessage info/automessage helpautomessage.admin - Admin access to all comamnds (default: op)messages:
- "&Hello &e%player_name%&6!"
- "&7Online players: &a%server_online%"
- "&bTime: &f%server_time_HH:mm:ss%"
- "&dTPS: &e%server_tps_1%"
Easy API access for other plugins to use:
AutoMessageRotatorLite plugin = (AutoMessageRotatorLite) Bukkit.getPluginManager().getPlugin("AutoMessageRotatorLite");
// Get world messages
Map<String, List<String>> worldMessages = plugin.getWorldMessages();
// Get world intervals
Map<String, Integer> intervals = plugin.getWorldIntervals();
// Check PAPI support
boolean papiEnabled = plugin.isPapiEnabled();
// Reload plugin
plugin.reloadPlugin();请登录后举报
暂无评论,抢个沙发吧~