Class RconCommandSender

java.lang.Object
net.glowstone.net.rcon.RconCommandSender
All Implemented Interfaces:
net.kyori.adventure.audience.Audience, org.bukkit.command.CommandSender, org.bukkit.command.RemoteConsoleCommandSender, org.bukkit.permissions.Permissible, org.bukkit.permissions.ServerOperator

public class RconCommandSender extends Object implements org.bukkit.command.RemoteConsoleCommandSender
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.bukkit.command.CommandSender

    org.bukkit.command.CommandSender.Spigot
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.permissions.PermissionAttachment
    addAttachment(org.bukkit.plugin.Plugin plugin)
     
    org.bukkit.permissions.PermissionAttachment
    addAttachment(org.bukkit.plugin.Plugin plugin, int ticks)
     
    org.bukkit.permissions.PermissionAttachment
    addAttachment(org.bukkit.plugin.Plugin plugin, String name, boolean value)
     
    org.bukkit.permissions.PermissionAttachment
    addAttachment(org.bukkit.plugin.Plugin plugin, String name, boolean value, int ticks)
     
    Empties the buffer and returns its contents.
    Set<org.bukkit.permissions.PermissionAttachmentInfo>
     
     
     
    boolean
     
    boolean
    hasPermission(org.bukkit.permissions.Permission perm)
     
    boolean
     
    boolean
     
    boolean
    isPermissionSet(org.bukkit.permissions.Permission perm)
     
    void
     
    void
    removeAttachment(org.bukkit.permissions.PermissionAttachment attachment)
     
    void
    sendMessage(@Nullable UUID uuid, @NotNull String s)
     
    void
    sendMessage(@Nullable UUID uuid, @NotNull String[] strings)
     
    void
     
    void
    sendMessage(String[] strings)
     
    void
    setOp(boolean value)
     
    org.bukkit.command.CommandSender.Spigot
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.kyori.adventure.audience.Audience

    clearTitle, hideBossBar, openBook, openBook, playSound, playSound, resetTitle, sendActionBar, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendPlayerListHeaderAndFooter, showBossBar, showTitle, stopSound

    Methods inherited from interface org.bukkit.command.CommandSender

    sendMessage, sendMessage, sendMessage
  • Constructor Details

    • RconCommandSender

      public RconCommandSender(GlowServer server)
  • Method Details

    • flush

      public String flush()
      Empties the buffer and returns its contents.
      Returns:
      the previous contents of the buffer.
    • getName

      public String getName()
      Specified by:
      getName in interface org.bukkit.command.CommandSender
    • spigot

      public org.bukkit.command.CommandSender.Spigot spigot()
      Specified by:
      spigot in interface org.bukkit.command.CommandSender
    • sendMessage

      public void sendMessage(String message)
      Specified by:
      sendMessage in interface org.bukkit.command.CommandSender
    • sendMessage

      public void sendMessage(String[] strings)
      Specified by:
      sendMessage in interface org.bukkit.command.CommandSender
    • sendMessage

      public void sendMessage(@Nullable @Nullable UUID uuid, @NotNull @NotNull String s)
      Specified by:
      sendMessage in interface org.bukkit.command.CommandSender
    • sendMessage

      public void sendMessage(@Nullable @Nullable UUID uuid, @NotNull @NotNull String[] strings)
      Specified by:
      sendMessage in interface org.bukkit.command.CommandSender
    • isPermissionSet

      public boolean isPermissionSet(String name)
      Specified by:
      isPermissionSet in interface org.bukkit.permissions.Permissible
    • isPermissionSet

      public boolean isPermissionSet(org.bukkit.permissions.Permission perm)
      Specified by:
      isPermissionSet in interface org.bukkit.permissions.Permissible
    • hasPermission

      public boolean hasPermission(String name)
      Specified by:
      hasPermission in interface org.bukkit.permissions.Permissible
    • hasPermission

      public boolean hasPermission(org.bukkit.permissions.Permission perm)
      Specified by:
      hasPermission in interface org.bukkit.permissions.Permissible
    • addAttachment

      public org.bukkit.permissions.PermissionAttachment addAttachment(org.bukkit.plugin.Plugin plugin, String name, boolean value)
      Specified by:
      addAttachment in interface org.bukkit.permissions.Permissible
    • addAttachment

      public org.bukkit.permissions.PermissionAttachment addAttachment(org.bukkit.plugin.Plugin plugin)
      Specified by:
      addAttachment in interface org.bukkit.permissions.Permissible
    • addAttachment

      public org.bukkit.permissions.PermissionAttachment addAttachment(org.bukkit.plugin.Plugin plugin, String name, boolean value, int ticks)
      Specified by:
      addAttachment in interface org.bukkit.permissions.Permissible
    • addAttachment

      public org.bukkit.permissions.PermissionAttachment addAttachment(org.bukkit.plugin.Plugin plugin, int ticks)
      Specified by:
      addAttachment in interface org.bukkit.permissions.Permissible
    • removeAttachment

      public void removeAttachment(org.bukkit.permissions.PermissionAttachment attachment)
      Specified by:
      removeAttachment in interface org.bukkit.permissions.Permissible
    • recalculatePermissions

      public void recalculatePermissions()
      Specified by:
      recalculatePermissions in interface org.bukkit.permissions.Permissible
    • getEffectivePermissions

      public Set<org.bukkit.permissions.PermissionAttachmentInfo> getEffectivePermissions()
      Specified by:
      getEffectivePermissions in interface org.bukkit.permissions.Permissible
    • isOp

      public boolean isOp()
      Specified by:
      isOp in interface org.bukkit.permissions.ServerOperator
    • setOp

      public void setOp(boolean value)
      Specified by:
      setOp in interface org.bukkit.permissions.ServerOperator
    • getServer

      public GlowServer getServer()
      Specified by:
      getServer in interface org.bukkit.command.CommandSender