Class VelocityMessenger
java.lang.Object
ua.mcchickenstudio.opencreative.indev.messenger.VelocityMessenger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclearRequestsOfPlayer(@NotNull UUID uuid) @NotNull StringfromBytesToString(byte[] message) getName()Returns name of manager, that will be displayed by request in the logs.@Nullable IntegergetPlanetToConnectPlayerOnJoin(@NotNull UUID uuid) voidinit()Initialization of manager.booleanChecks if manager is ready to work.voidonPluginMessageReceived(@NotNull String channel, @NotNull org.bukkit.entity.Player player, byte[] message) voidsend(@NotNull org.bukkit.entity.Player player)
-
Constructor Details
-
VelocityMessenger
public VelocityMessenger()
-
-
Method Details
-
getPlanetToConnectPlayerOnJoin
- Specified by:
getPlanetToConnectPlayerOnJoinin interfaceMessenger
-
clearRequestsOfPlayer
- Specified by:
clearRequestsOfPlayerin interfaceMessenger
-
init
-
isEnabled
-
getName
-
fromBytesToString
-
onPluginMessageReceived
public void onPluginMessageReceived(@NotNull @NotNull String channel, @NotNull @NotNull org.bukkit.entity.Player player, byte[] message) - Specified by:
onPluginMessageReceivedin interfaceorg.bukkit.plugin.messaging.PluginMessageListener
-
send
public void send(@NotNull @NotNull org.bukkit.entity.Player player)
-