类 EnvFlag

java.lang.Object
cn.lunadeer.dominion.api.dtos.flag.Flag
cn.lunadeer.dominion.api.dtos.flag.EnvFlag

public class EnvFlag extends Flag
Represents an environment flag in the Dominion system. This class extends the Flag class and provides specific configuration keys for environment-related flags.
  • 构造器详细资料

    • EnvFlag

      public EnvFlag(@NotNull @NotNull String flag_name, @NotNull @NotNull String display_name, @NotNull @NotNull String description, @NotNull @NotNull Boolean default_value, @NotNull @NotNull Boolean enable, @NotNull @NotNull org.bukkit.Material material)
      Constructs a new EnvFlag with the specified parameters.
      参数:
      flag_name - the name of the flag
      display_name - the display name of the flag
      description - the description of the flag
      default_value - the default value of the flag
      enable - the enable status of the flag
      material - the material of flag in CUI
  • 方法详细资料

    • getConfigurationDescKey

      public String getConfigurationDescKey()
      Returns the configuration description key for this environment flag.
      指定者:
      getConfigurationDescKey 在类中 Flag
      返回:
      the configuration description key
    • getConfigurationDefaultKey

      public String getConfigurationDefaultKey()
      Returns the configuration default key for this environment flag.
      指定者:
      getConfigurationDefaultKey 在类中 Flag
      返回:
      the configuration default key
    • getConfigurationEnableKey

      public String getConfigurationEnableKey()
      Returns the configuration enable key for this environment flag.
      指定者:
      getConfigurationEnableKey 在类中 Flag
      返回:
      the configuration enable key
    • getConfigurationNameKey

      public String getConfigurationNameKey()
      从类复制的说明: Flag
      Returns the configuration key for the name of this flag.
      指定者:
      getConfigurationNameKey 在类中 Flag
      返回:
      the configuration key for the name
    • getConfigurationMaterialKey

      public String getConfigurationMaterialKey()
      从类复制的说明: Flag
      Returns the configuration key for the material of this flag.
      指定者:
      getConfigurationMaterialKey 在类中 Flag
      返回:
      the configuration key for the material