/*
 * This file is part of Nucleus, licensed under the MIT License (MIT). See the LICENSE.txt file
 * at the root of this project for more details.
 */
package io.github.nucleuspowered.nucleus.modules.invulnerability.config;

import io.github.nucleuspowered.nucleus.core.services.interfaces.annotation.configuratehelper.LocalisedComment;
import org.spongepowered.configurate.objectmapping.ConfigSerializable;
import org.spongepowered.configurate.objectmapping.meta.Setting;

@ConfigSerializable
public class InvulnerabilityConfig {

    @Setting(value = "require-god-permission-on-login")
    @LocalisedComment("config.god.permissiononlogin")
    private boolean godPermissionOnLogin = false;

    @Setting(value = "disable-pvp-on-god")
    @LocalisedComment("config.god.disablepvp")
    private boolean disablePvpOnGod = false;

    public boolean isGodPermissionOnLogin() {
        return this.godPermissionOnLogin;
    }

    public boolean isDisablePvpOnGod() {
        return this.disablePvpOnGod;
    }

}
