Class VelocityDirectPlayerExecutor
java.lang.Object
eu.cloudnetservice.modules.bridge.impl.platform.PlatformPlayerExecutorAdapter<com.velocitypowered.api.proxy.Player>
eu.cloudnetservice.modules.bridge.impl.platform.velocity.VelocityDirectPlayerExecutor
- All Implemented Interfaces:
eu.cloudnetservice.modules.bridge.player.executor.PlayerExecutor
final class VelocityDirectPlayerExecutor
extends PlatformPlayerExecutorAdapter<com.velocitypowered.api.proxy.Player>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PlatformBridgeManagement<com.velocitypowered.api.proxy.Player, ?> private final com.velocitypowered.api.proxy.ProxyServerFields inherited from class PlatformPlayerExecutorAdapter
playerSupplier, uniqueIdFields inherited from interface eu.cloudnetservice.modules.bridge.player.executor.PlayerExecutor
GLOBAL_UNIQUE_ID -
Constructor Summary
ConstructorsConstructorDescriptionVelocityDirectPlayerExecutor(@NonNull UUID uniqueId, @NonNull com.velocitypowered.api.proxy.ProxyServer proxyServer, @NonNull PlatformBridgeManagement<com.velocitypowered.api.proxy.Player, ?> management, @NonNull Supplier<Collection<? extends com.velocitypowered.api.proxy.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) 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
-
proxyServer
private final com.velocitypowered.api.proxy.ProxyServer proxyServer -
management
-
-
Constructor Details
-
VelocityDirectPlayerExecutor
public VelocityDirectPlayerExecutor(@NonNull @NonNull UUID uniqueId, @NonNull @NonNull com.velocitypowered.api.proxy.ProxyServer proxyServer, @NonNull @NonNull PlatformBridgeManagement<com.velocitypowered.api.proxy.Player, ?> management, @NonNull @NonNull Supplier<Collection<? extends com.velocitypowered.api.proxy.Player>> playerSupplier)
-
-
Method Details
-
connect
-
connectSelecting
-
connectToFallback
public void connectToFallback() -
connectToGroup
-
connectToTask
-
kick
-
sendTitle
- Specified by:
sendTitlein interfaceeu.cloudnetservice.modules.bridge.player.executor.PlayerExecutor- Overrides:
sendTitlein classPlatformPlayerExecutorAdapter<com.velocitypowered.api.proxy.Player>
-
sendChatMessage
-
sendPluginMessage
-
spoofCommandExecution
-