Пример #1
0
  @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");
    }
  }
Пример #2
0
  @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");
    }
  }
Пример #3
0
 @Override
 public void setOption(String option, String value, String worldName) {
   super.setOption(option, value, worldName);
   clearCache();
 }
Пример #4
0
 @Override
 public void save() {
   super.save();
   this.clearCache();
 }
Пример #5
0
 @Override
 public void remove() {
   super.remove();
   this.clearCache();
 }
Пример #6
0
 @Override
 public void setSuffix(String postfix, String worldName) {
   super.setSuffix(postfix, worldName);
   this.clearCache();
 }
Пример #7
0
 @Override
 public void setPrefix(String prefix, String worldName) {
   super.setPrefix(prefix, worldName);
   this.clearCache();
 }
Пример #8
0
 @Override
 public void removeTimedPermission(String permission, String world) {
   super.removeTimedPermission(permission, world);
   this.clearCache();
 }
Пример #9
0
 @Override
 public void addTimedPermission(String permission, String world, int lifeTime) {
   super.addTimedPermission(permission, world, lifeTime);
   this.clearCache();
 }
Пример #10
0
 @Override
 public void setParentsName(List<String> parentsName, String world) {
   super.setParentsName(parentsName, world);
   clearCache();
 }