-
-
All Methods Instance Methods Concrete Methods 修饰符和类 成员函数描述 PermissionAttachment
addAttachment(Plugin plugin)
PermissionAttachment
addAttachment(Plugin plugin, String name)
PermissionAttachment
addAttachment(Plugin plugin, String name, Boolean value)
void
clearPermissions()
Map<String,PermissionAttachmentInfo>
getEffectivePermissions()
boolean
hasPermission(Permission permission)
boolean
hasPermission(String name)
boolean
isOp()
返回这个对象是不是服务器管理员。
Returns if this object is an operator.boolean
isPermissionSet(Permission permission)
boolean
isPermissionSet(String name)
void
recalculatePermissions()
void
removeAttachment(PermissionAttachment attachment)
void
setOp(boolean value)
把这个对象设置成服务器管理员。
Sets this object to be an operator or not to be.
-