public void setAreaFlag(Flag flag, boolean value) { this.config.set("AreaFlags." + flag.getName(), value); this.getLSFlags().setAreaFlag(flag, value); this.configuration.saveConfig(); }
public void removePlayerFlag(UUID user, Flag flag) { this.config.set("PlayersFlags." + user.toString() + "." + flag.getName(), null); this.getLSFlags().getPlayerFlags(user).getFlagsAndValues().remove(flag); this.configuration.saveConfig(); }
public void setPlayerFlag(UUID user, Flag flag, boolean value) { this.config.set("PlayersFlags." + user.toString() + "." + flag.getName(), value); this.getLSFlags().setPlayerFlag(user, flag, value); this.configuration.saveConfig(); }
public void removeAreaFlag(Flag flag) { this.config.set("AreaFlags." + flag.getName(), null); this.getLSFlags().getAreaFlags().getFlagsAndValues().remove(flag); this.configuration.saveConfig(); }