@Override public void initialize() { super.initialize(); if (this.manager.shouldCreateUserRecords() && this.isVirtual()) { this.setParentsName(this.getOwnParentNames(null), null); this.save(); } if (this.isDebug()) { manager.getLogger().info("User " + this.getName() + " initialized"); } }
@Override public void initialize() { super.initialize(); if (this.manager.getBackend().isCreateUserRecords() && this.isVirtual()) { this.setGroups(this.getGroups(null), null); this.save(); } if (this.isDebug()) { Logger.getLogger("Minecraft").info("[PermissionsEx] User " + this.getName() + " initialized"); } }
@Override public void setOption(String option, String value, String worldName) { super.setOption(option, value, worldName); clearCache(); }
@Override public void save() { super.save(); this.clearCache(); }
@Override public void remove() { super.remove(); this.clearCache(); }
@Override public void setSuffix(String postfix, String worldName) { super.setSuffix(postfix, worldName); this.clearCache(); }
@Override public void setPrefix(String prefix, String worldName) { super.setPrefix(prefix, worldName); this.clearCache(); }
@Override public void removeTimedPermission(String permission, String world) { super.removeTimedPermission(permission, world); this.clearCache(); }
@Override public void addTimedPermission(String permission, String world, int lifeTime) { super.addTimedPermission(permission, world, lifeTime); this.clearCache(); }
@Override public void setParentsName(List<String> parentsName, String world) { super.setParentsName(parentsName, world); clearCache(); }