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.CommandSender
public org.bukkit.command.CommandSender.Spigot spigot()
spigot
in interface org.bukkit.command.CommandSender
public void sendMessage(String message)
sendMessage
in interface org.bukkit.command.CommandSender
public void sendMessage(String[] strings)
sendMessage
in interface org.bukkit.command.CommandSender
public boolean isPermissionSet(String name)
isPermissionSet
in interface org.bukkit.permissions.Permissible
public boolean isPermissionSet(org.bukkit.permissions.Permission perm)
isPermissionSet
in interface org.bukkit.permissions.Permissible
public boolean hasPermission(String name)
hasPermission
in interface org.bukkit.permissions.Permissible
public boolean hasPermission(org.bukkit.permissions.Permission perm)
hasPermission
in interface org.bukkit.permissions.Permissible
public org.bukkit.permissions.PermissionAttachment addAttachment(org.bukkit.plugin.Plugin plugin, String name, boolean value)
addAttachment
in interface org.bukkit.permissions.Permissible
public org.bukkit.permissions.PermissionAttachment addAttachment(org.bukkit.plugin.Plugin plugin)
addAttachment
in interface org.bukkit.permissions.Permissible
public org.bukkit.permissions.PermissionAttachment addAttachment(org.bukkit.plugin.Plugin plugin, String name, boolean value, int ticks)
addAttachment
in interface org.bukkit.permissions.Permissible
public org.bukkit.permissions.PermissionAttachment addAttachment(org.bukkit.plugin.Plugin plugin, int ticks)
addAttachment
in interface org.bukkit.permissions.Permissible
public void removeAttachment(org.bukkit.permissions.PermissionAttachment attachment)
removeAttachment
in interface org.bukkit.permissions.Permissible
public void recalculatePermissions()
recalculatePermissions
in interface org.bukkit.permissions.Permissible
public Set<org.bukkit.permissions.PermissionAttachmentInfo> getEffectivePermissions()
getEffectivePermissions
in interface org.bukkit.permissions.Permissible
public boolean isOp()
isOp
in interface org.bukkit.permissions.ServerOperator
public void setOp(boolean value)
setOp
in interface org.bukkit.permissions.ServerOperator
public GlowServer getServer()
getServer
in interface org.bukkit.command.CommandSender
Copyright © 2021. All rights reserved.