Class BungeeCommandSource
java.lang.Object
org.geysermc.geyser.platform.bungeecord.command.BungeeCommandSource
- All Implemented Interfaces:
org.geysermc.geyser.api.command.CommandSource,org.geysermc.geyser.command.GeyserCommandSource
public class BungeeCommandSource
extends Object
implements org.geysermc.geyser.command.GeyserCommandSource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasPermission(String permission) booleanlocale()name()voidsendMessage(@NonNull String message) voidsendMessage(net.kyori.adventure.text.Component message) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.geysermc.geyser.api.command.CommandSource
sendMessage
-
Constructor Details
-
BungeeCommandSource
public BungeeCommandSource(net.md_5.bungee.api.CommandSender handle)
-
-
Method Details
-
name
- Specified by:
namein interfaceorg.geysermc.geyser.api.command.CommandSource
-
sendMessage
- Specified by:
sendMessagein interfaceorg.geysermc.geyser.api.command.CommandSource
-
sendMessage
public void sendMessage(net.kyori.adventure.text.Component message) - Specified by:
sendMessagein interfaceorg.geysermc.geyser.command.GeyserCommandSource
-
isConsole
public boolean isConsole()- Specified by:
isConsolein interfaceorg.geysermc.geyser.api.command.CommandSource
-
locale
- Specified by:
localein interfaceorg.geysermc.geyser.api.command.CommandSource- Specified by:
localein interfaceorg.geysermc.geyser.command.GeyserCommandSource
-
hasPermission
- Specified by:
hasPermissionin interfaceorg.geysermc.geyser.api.command.CommandSource
-