public class RconCommandSender extends Object implements org.bukkit.command.RemoteConsoleCommandSender
| Constructor and Description |
|---|
RconCommandSender(GlowServer server) |
| Modifier and Type | Method and 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) |
String |
flush()
Empties the buffer and returns its contents.
|
Set<org.bukkit.permissions.PermissionAttachmentInfo> |
getEffectivePermissions() |
String |
getName() |
GlowServer |
getServer() |
boolean |
hasPermission(org.bukkit.permissions.Permission perm) |
boolean |
hasPermission(String name) |
boolean |
isOp() |
boolean |
isPermissionSet(org.bukkit.permissions.Permission perm) |
boolean |
isPermissionSet(String name) |
void |
recalculatePermissions() |
void |
removeAttachment(org.bukkit.permissions.PermissionAttachment attachment) |
void |
sendMessage(String message) |
void |
sendMessage(String[] strings) |
void |
setOp(boolean value) |
org.bukkit.command.CommandSender.Spigot |
spigot() |
public RconCommandSender(GlowServer server)
public String flush()
public String getName()
getName in interface org.bukkit.command.CommandSenderpublic org.bukkit.command.CommandSender.Spigot spigot()
spigot in interface org.bukkit.command.CommandSenderpublic void sendMessage(String message)
sendMessage in interface org.bukkit.command.CommandSenderpublic void sendMessage(String[] strings)
sendMessage in interface org.bukkit.command.CommandSenderpublic boolean isPermissionSet(String name)
isPermissionSet in interface org.bukkit.permissions.Permissiblepublic boolean isPermissionSet(org.bukkit.permissions.Permission perm)
isPermissionSet in interface org.bukkit.permissions.Permissiblepublic boolean hasPermission(String name)
hasPermission in interface org.bukkit.permissions.Permissiblepublic boolean hasPermission(org.bukkit.permissions.Permission perm)
hasPermission in interface org.bukkit.permissions.Permissiblepublic org.bukkit.permissions.PermissionAttachment addAttachment(org.bukkit.plugin.Plugin plugin,
String name,
boolean value)
addAttachment in interface org.bukkit.permissions.Permissiblepublic org.bukkit.permissions.PermissionAttachment addAttachment(org.bukkit.plugin.Plugin plugin)
addAttachment in interface org.bukkit.permissions.Permissiblepublic org.bukkit.permissions.PermissionAttachment addAttachment(org.bukkit.plugin.Plugin plugin,
String name,
boolean value,
int ticks)
addAttachment in interface org.bukkit.permissions.Permissiblepublic org.bukkit.permissions.PermissionAttachment addAttachment(org.bukkit.plugin.Plugin plugin,
int ticks)
addAttachment in interface org.bukkit.permissions.Permissiblepublic void removeAttachment(org.bukkit.permissions.PermissionAttachment attachment)
removeAttachment in interface org.bukkit.permissions.Permissiblepublic void recalculatePermissions()
recalculatePermissions in interface org.bukkit.permissions.Permissiblepublic Set<org.bukkit.permissions.PermissionAttachmentInfo> getEffectivePermissions()
getEffectivePermissions in interface org.bukkit.permissions.Permissiblepublic boolean isOp()
isOp in interface org.bukkit.permissions.ServerOperatorpublic void setOp(boolean value)
setOp in interface org.bukkit.permissions.ServerOperatorpublic GlowServer getServer()
getServer in interface org.bukkit.command.CommandSenderCopyright © 2021. All rights reserved.