Class NukkitDirectPlayerExecutor
java.lang.Object
eu.cloudnetservice.modules.bridge.impl.platform.PlatformPlayerExecutorAdapter<cn.nukkit.Player>
eu.cloudnetservice.modules.bridge.impl.platform.nukkit.NukkitDirectPlayerExecutor
- All Implemented Interfaces:
eu.cloudnetservice.modules.bridge.player.executor.PlayerExecutor
-
Field Summary
FieldsFields inherited from class PlatformPlayerExecutorAdapter
playerSupplier, uniqueIdFields inherited from interface eu.cloudnetservice.modules.bridge.player.executor.PlayerExecutor
GLOBAL_UNIQUE_ID -
Constructor Summary
ConstructorsConstructorDescriptionNukkitDirectPlayerExecutor(@NonNull cn.nukkit.Server server, @NonNull UUID targetUniqueId, @NonNull Supplier<Collection<? extends cn.nukkit.Player>> playerSupplier) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidconnectSelecting(@NonNull eu.cloudnetservice.modules.bridge.player.executor.ServerSelectorType selectorType) voidvoidconnectToGroup(@NonNull String group, @NonNull eu.cloudnetservice.modules.bridge.player.executor.ServerSelectorType selectorType) voidconnectToTask(@NonNull String task, @NonNull eu.cloudnetservice.modules.bridge.player.executor.ServerSelectorType selectorType) voidvoidsendChatMessage(@NonNull Component message, @Nullable String permission) voidsendPluginMessage(@NonNull String key, byte[] data) protected voidvoidspoofCommandExecution(@NonNull String command, boolean redirectToServer) Methods inherited from class PlatformPlayerExecutorAdapter
forEach, sendTitle, uniqueIdMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface eu.cloudnetservice.modules.bridge.player.executor.PlayerExecutor
sendChatMessage, spoofCommandExecution
-
Field Details
-
server
private final cn.nukkit.Server server
-
-
Constructor Details
-
NukkitDirectPlayerExecutor
-
-
Method Details
-
connect
-
connectSelecting
-
connectToFallback
public void connectToFallback() -
connectToGroup
-
connectToTask
-
kick
-
sendTitle
-
sendChatMessage
-
sendPluginMessage
-
spoofCommandExecution
-