Class BungeeCordDirectPlayerExecutor
java.lang.Object
eu.cloudnetservice.modules.bridge.impl.platform.PlatformPlayerExecutorAdapter<net.md_5.bungee.api.connection.ProxiedPlayer>
eu.cloudnetservice.modules.bridge.impl.platform.bungeecord.BungeeCordDirectPlayerExecutor
- All Implemented Interfaces:
eu.cloudnetservice.modules.bridge.player.executor.PlayerExecutor
final class BungeeCordDirectPlayerExecutor
extends PlatformPlayerExecutorAdapter<net.md_5.bungee.api.connection.ProxiedPlayer>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PlatformBridgeManagement<net.md_5.bungee.api.connection.ProxiedPlayer, ?> private final net.md_5.bungee.api.plugin.PluginManagerprivate static final intprivate final net.md_5.bungee.api.ProxyServerFields inherited from class PlatformPlayerExecutorAdapter
playerSupplier, uniqueIdFields inherited from interface eu.cloudnetservice.modules.bridge.player.executor.PlayerExecutor
GLOBAL_UNIQUE_ID -
Constructor Summary
ConstructorsConstructorDescriptionBungeeCordDirectPlayerExecutor(@NonNull net.md_5.bungee.api.ProxyServer proxyServer, @NonNull UUID uniqueId, @NonNull PlatformBridgeManagement<net.md_5.bungee.api.connection.ProxiedPlayer, ?> management, @NonNull Supplier<Collection<? extends net.md_5.bungee.api.connection.ProxiedPlayer>> 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) private @NonNull net.md_5.bungee.api.chat.BaseComponent[]convertComponent(@NonNull Component component, @NonNull net.md_5.bungee.api.connection.ProxiedPlayer player) 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
-
PROTOCOL_VERSION_1_16
private static final int PROTOCOL_VERSION_1_16- See Also:
-
proxyServer
private final net.md_5.bungee.api.ProxyServer proxyServer -
pluginManager
private final net.md_5.bungee.api.plugin.PluginManager pluginManager -
management
-
-
Constructor Details
-
BungeeCordDirectPlayerExecutor
public BungeeCordDirectPlayerExecutor(@NonNull @NonNull net.md_5.bungee.api.ProxyServer proxyServer, @NonNull @NonNull UUID uniqueId, @NonNull @NonNull PlatformBridgeManagement<net.md_5.bungee.api.connection.ProxiedPlayer, ?> management, @NonNull @NonNull Supplier<Collection<? extends net.md_5.bungee.api.connection.ProxiedPlayer>> playerSupplier)
-
-
Method Details
-
connect
-
connectSelecting
-
connectToFallback
public void connectToFallback() -
connectToGroup
-
connectToTask
-
kick
-
sendTitle
-
sendChatMessage
-
sendPluginMessage
-
spoofCommandExecution
-
convertComponent
-