Interface GeyserCommandSource

All Superinterfaces:
org.geysermc.geyser.api.command.CommandSource
All Known Subinterfaces:
GeyserLogger
All Known Implementing Classes:
GeyserSession

public interface GeyserCommandSource extends org.geysermc.geyser.api.command.CommandSource
Implemented on top of any class that can send a command. For example, it wraps around Spigot's CommandSender class.
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    default void
    sendMessage​(net.kyori.adventure.text.Component message)
     

    Methods inherited from interface org.geysermc.geyser.api.command.CommandSource

    hasPermission, isConsole, name, sendMessage, sendMessage
  • Method Details

    • locale

      default String locale()
      Specified by:
      locale in interface org.geysermc.geyser.api.command.CommandSource
    • sendMessage

      default void sendMessage(net.kyori.adventure.text.Component message)