Package net.glowstone.net.rcon
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
-
Method Summary
Modifier and TypeMethodDescriptionorg.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) flush()
Empties the buffer and returns its contents.Set<org.bukkit.permissions.PermissionAttachmentInfo>
getName()
boolean
hasPermission
(String name) boolean
hasPermission
(org.bukkit.permissions.Permission perm) boolean
isOp()
boolean
isPermissionSet
(String name) 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
sendMessage
(String message) void
sendMessage
(String[] strings) void
setOp
(boolean value) org.bukkit.command.CommandSender.Spigot
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
-
-
Method Details
-
flush
Empties the buffer and returns its contents.- Returns:
- the previous contents of the buffer.
-
getName
- Specified by:
getName
in interfaceorg.bukkit.command.CommandSender
-
spigot
public org.bukkit.command.CommandSender.Spigot spigot()- Specified by:
spigot
in interfaceorg.bukkit.command.CommandSender
-
sendMessage
- Specified by:
sendMessage
in interfaceorg.bukkit.command.CommandSender
-
sendMessage
- Specified by:
sendMessage
in interfaceorg.bukkit.command.CommandSender
-
sendMessage
- Specified by:
sendMessage
in interfaceorg.bukkit.command.CommandSender
-
sendMessage
- Specified by:
sendMessage
in interfaceorg.bukkit.command.CommandSender
-
isPermissionSet
- Specified by:
isPermissionSet
in interfaceorg.bukkit.permissions.Permissible
-
isPermissionSet
public boolean isPermissionSet(org.bukkit.permissions.Permission perm) - Specified by:
isPermissionSet
in interfaceorg.bukkit.permissions.Permissible
-
hasPermission
- Specified by:
hasPermission
in interfaceorg.bukkit.permissions.Permissible
-
hasPermission
public boolean hasPermission(org.bukkit.permissions.Permission perm) - Specified by:
hasPermission
in interfaceorg.bukkit.permissions.Permissible
-
addAttachment
public org.bukkit.permissions.PermissionAttachment addAttachment(org.bukkit.plugin.Plugin plugin, String name, boolean value) - Specified by:
addAttachment
in interfaceorg.bukkit.permissions.Permissible
-
addAttachment
public org.bukkit.permissions.PermissionAttachment addAttachment(org.bukkit.plugin.Plugin plugin) - Specified by:
addAttachment
in interfaceorg.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 interfaceorg.bukkit.permissions.Permissible
-
addAttachment
public org.bukkit.permissions.PermissionAttachment addAttachment(org.bukkit.plugin.Plugin plugin, int ticks) - Specified by:
addAttachment
in interfaceorg.bukkit.permissions.Permissible
-
removeAttachment
public void removeAttachment(org.bukkit.permissions.PermissionAttachment attachment) - Specified by:
removeAttachment
in interfaceorg.bukkit.permissions.Permissible
-
recalculatePermissions
public void recalculatePermissions()- Specified by:
recalculatePermissions
in interfaceorg.bukkit.permissions.Permissible
-
getEffectivePermissions
- Specified by:
getEffectivePermissions
in interfaceorg.bukkit.permissions.Permissible
-
isOp
public boolean isOp()- Specified by:
isOp
in interfaceorg.bukkit.permissions.ServerOperator
-
setOp
public void setOp(boolean value) - Specified by:
setOp
in interfaceorg.bukkit.permissions.ServerOperator
-
getServer
- Specified by:
getServer
in interfaceorg.bukkit.command.CommandSender
-