@Override
 public boolean groupHas(String group, String flag, boolean def) {
   ResidenceFlagCheckEvent fc =
       new ResidenceFlagCheckEvent(residence, flag, FlagType.GROUP, group, def);
   Residence.getServ().getPluginManager().callEvent(fc);
   if (fc.isOverriden()) return fc.getOverrideValue();
   return super.groupHas(group, flag, def);
 }
 @Override
 public boolean has(String flag, boolean def) {
   ResidenceFlagCheckEvent fc =
       new ResidenceFlagCheckEvent(residence, flag, FlagType.RESIDENCE, null, def);
   Residence.getServ().getPluginManager().callEvent(fc);
   if (fc.isOverriden()) return fc.getOverrideValue();
   return super.has(flag, def);
 }
  @Override
  public boolean playerHas(String player, String world, String flag, boolean def) {
    ResidenceFlagCheckEvent fc =
        new ResidenceFlagCheckEvent(residence, flag, FlagType.PLAYER, player, def);

    Residence.getServ().getPluginManager().callEvent(fc);
    if (fc.isOverriden()) return fc.getOverrideValue();
    return super.playerHas(player, world, flag, def);
  }