程序包 | 说明 |
---|---|
org.bukkit.conversations |
致力于简化玩家与插件的直接通信的类(玩家与插件的对话,典型的场景比如操作的确认、提供插件所需数据).
|
限定符和类型 | 类和说明 |
---|---|
class |
NullConversationPrefix
NullConversationPrefix is a
ConversationPrefix implementation that
displays nothing in front of conversation output. |
class |
PluginNameConversationPrefix
PluginNameConversationPrefix is a
ConversationPrefix implementation
that displays the plugin name in front of conversation output. |
限定符和类型 | 字段和说明 |
---|---|
protected ConversationPrefix |
Conversation.prefix |
protected ConversationPrefix |
ConversationFactory.prefix |
限定符和类型 | 方法和说明 |
---|---|
ConversationPrefix |
Conversation.getPrefix()
Gets the
ConversationPrefix that prepends all output from this
conversation. |
限定符和类型 | 方法和说明 |
---|---|
ConversationFactory |
ConversationFactory.withPrefix(ConversationPrefix prefix)
Sets the
ConversationPrefix that prepends all output from all
generated conversations. |