接口的使用
org.bukkit.plugin.messaging.Messenger
-
org.bukkit中Messenger的使用
修饰符和类型方法说明static Messenger
Bukkit.getMessenger()
Gets theMessenger
responsible for this server.Server.getMessenger()
获取Messenger
实例 -
org.bukkit.plugin.messaging中Messenger的使用
修饰符和类型方法说明static void
StandardMessenger.validatePluginMessage
(Messenger messenger, Plugin source, String channel, byte[] message) Validates the input of a Plugin Message, ensuring the arguments are all valid.限定符构造器说明PluginMessageListenerRegistration
(Messenger messenger, Plugin plugin, String channel, PluginMessageListener listener)