| Package | Description |
|---|---|
| org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
| org.bukkit.plugin.messaging |
Classes dedicated to specialized plugin to client protocols.
|
| Modifier and Type | Method | Description |
|---|---|---|
static @NotNull Messenger |
Bukkit.getMessenger() |
Gets the
Messenger responsible for this server. |
@NotNull Messenger |
Server.getMessenger() |
Gets the
Messenger responsible for this server. |
| Modifier and Type | Class | Description |
|---|---|---|
class |
StandardMessenger |
Standard implementation to
Messenger |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
StandardMessenger.validatePluginMessage(@NotNull Messenger messenger,
@NotNull Plugin source,
@NotNull String channel,
@org.jetbrains.annotations.NotNull byte[] message) |
Validates the input of a Plugin Message, ensuring the arguments are all
valid.
|
| Constructor | Description |
|---|---|
PluginMessageListenerRegistration(@NotNull Messenger messenger,
@NotNull Plugin plugin,
@NotNull String channel,
@NotNull PluginMessageListener listener) |
Copyright © 2020. All rights reserved.