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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.permissions.PermissionAttachmentaddAttachment(org.bukkit.plugin.Plugin plugin) org.bukkit.permissions.PermissionAttachmentaddAttachment(org.bukkit.plugin.Plugin plugin, int ticks) org.bukkit.permissions.PermissionAttachmentaddAttachment(org.bukkit.plugin.Plugin plugin, String name, boolean value) org.bukkit.permissions.PermissionAttachmentaddAttachment(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()booleanhasPermission(String name) booleanhasPermission(org.bukkit.permissions.Permission perm) booleanisOp()booleanisPermissionSet(String name) booleanisPermissionSet(org.bukkit.permissions.Permission perm) voidvoidremoveAttachment(org.bukkit.permissions.PermissionAttachment attachment) voidsendMessage(@Nullable UUID uuid, @NotNull String s) voidsendMessage(@Nullable UUID uuid, @NotNull String[] strings) voidsendMessage(String message) voidsendMessage(String[] strings) voidsetOp(boolean value) org.bukkit.command.CommandSender.Spigotspigot()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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, stopSoundMethods 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:
getNamein interfaceorg.bukkit.command.CommandSender
-
spigot
public org.bukkit.command.CommandSender.Spigot spigot()- Specified by:
spigotin interfaceorg.bukkit.command.CommandSender
-
sendMessage
- Specified by:
sendMessagein interfaceorg.bukkit.command.CommandSender
-
sendMessage
- Specified by:
sendMessagein interfaceorg.bukkit.command.CommandSender
-
sendMessage
- Specified by:
sendMessagein interfaceorg.bukkit.command.CommandSender
-
sendMessage
- Specified by:
sendMessagein interfaceorg.bukkit.command.CommandSender
-
isPermissionSet
- Specified by:
isPermissionSetin interfaceorg.bukkit.permissions.Permissible
-
isPermissionSet
public boolean isPermissionSet(org.bukkit.permissions.Permission perm) - Specified by:
isPermissionSetin interfaceorg.bukkit.permissions.Permissible
-
hasPermission
- Specified by:
hasPermissionin interfaceorg.bukkit.permissions.Permissible
-
hasPermission
public boolean hasPermission(org.bukkit.permissions.Permission perm) - Specified by:
hasPermissionin interfaceorg.bukkit.permissions.Permissible
-
addAttachment
public org.bukkit.permissions.PermissionAttachment addAttachment(org.bukkit.plugin.Plugin plugin, String name, boolean value) - Specified by:
addAttachmentin interfaceorg.bukkit.permissions.Permissible
-
addAttachment
public org.bukkit.permissions.PermissionAttachment addAttachment(org.bukkit.plugin.Plugin plugin) - Specified by:
addAttachmentin interfaceorg.bukkit.permissions.Permissible
-
addAttachment
public org.bukkit.permissions.PermissionAttachment addAttachment(org.bukkit.plugin.Plugin plugin, String name, boolean value, int ticks) - Specified by:
addAttachmentin interfaceorg.bukkit.permissions.Permissible
-
addAttachment
public org.bukkit.permissions.PermissionAttachment addAttachment(org.bukkit.plugin.Plugin plugin, int ticks) - Specified by:
addAttachmentin interfaceorg.bukkit.permissions.Permissible
-
removeAttachment
public void removeAttachment(org.bukkit.permissions.PermissionAttachment attachment) - Specified by:
removeAttachmentin interfaceorg.bukkit.permissions.Permissible
-
recalculatePermissions
public void recalculatePermissions()- Specified by:
recalculatePermissionsin interfaceorg.bukkit.permissions.Permissible
-
getEffectivePermissions
- Specified by:
getEffectivePermissionsin interfaceorg.bukkit.permissions.Permissible
-
isOp
public boolean isOp()- Specified by:
isOpin interfaceorg.bukkit.permissions.ServerOperator
-
setOp
public void setOp(boolean value) - Specified by:
setOpin interfaceorg.bukkit.permissions.ServerOperator
-
getServer
- Specified by:
getServerin interfaceorg.bukkit.command.CommandSender
-