public class User extends Object implements PermEntity
Constructor and Description |
---|
User(String name,
UUID UUID,
List<String> groups,
List<TimedValue<String>> timedgroups,
List<String> perms,
List<TimedValue<String>> timedperms,
Map<String,Server> servers,
String display,
String prefix,
String suffix) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, getServers, setName
getDisplay, getPerms, getPrefix, getSuffix, getTimedPerms, setDisplay, setGroups, setPerms, setPrefix, setSuffix, setTimedGroups, setTimedPerms
public Server getServer(String name)
getServer
in interface PermEntity
public boolean hasTimedPermSet(String perm)
hasTimedPermSet
in interface Permable
public List<String> getGroupsString()
getGroupsString
in interface Permable
public List<TimedValue<Group>> getTimedGroups()
public List<TimedValue<String>> getTimedGroupsString()
getTimedGroupsString
in interface Permable
@Deprecated public boolean hasPerm(String perm)
@Deprecated public boolean hasPermOnServer(String perm, String server)
@Deprecated public boolean hasPermOnServerInWorld(String perm, String server, String world)
public List<BPPermission> getEffectivePerms(String server, String world)
public List<BPPermission> calcEffectivePerms(String server, String world)
public void invalidateCache()
public boolean isNothingSpecial()
public List<BPPermission> getPermsWithOrigin(String server, String world)
public String buildPrefix()
public String buildSuffix()
public void flushCache()
Copyright © 2020. All rights reserved.