类 EnvFlag
java.lang.Object
cn.lunadeer.dominion.api.dtos.flag.Flag
cn.lunadeer.dominion.api.dtos.flag.EnvFlag
Represents an environment flag in the Dominion system.
This class extends the Flag class and provides specific
configuration keys for environment-related flags.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Returns the configuration default key for this environment flag.Returns the configuration description key for this environment flag.Returns the configuration enable key for this environment flag.Returns the configuration key for the material of this flag.Returns the configuration key for the name of this flag.从类继承的方法 cn.lunadeer.dominion.api.dtos.flag.Flag
getDefaultValue, getDescription, getDescriptionKey, getDisplayName, getDisplayNameKey, getEnable, getFlagName, getMaterial, setDefaultValue, setDescription, setDisplayName, setEnable, setMaterial
-
构造器详细资料
-
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 flagdisplay_name- the display name of the flagdescription- the description of the flagdefault_value- the default value of the flagenable- the enable status of the flag
-
-
方法详细资料
-
getConfigurationDescKey
Returns the configuration description key for this environment flag.- 指定者:
getConfigurationDescKey在类中Flag- 返回:
- the configuration description key
-
getConfigurationDefaultKey
Returns the configuration default key for this environment flag.- 指定者:
getConfigurationDefaultKey在类中Flag- 返回:
- the configuration default key
-
getConfigurationEnableKey
Returns the configuration enable key for this environment flag.- 指定者:
getConfigurationEnableKey在类中Flag- 返回:
- the configuration enable key
-
getConfigurationNameKey
从类复制的说明:FlagReturns the configuration key for the name of this flag.- 指定者:
getConfigurationNameKey在类中Flag- 返回:
- the configuration key for the name
-
getConfigurationMaterialKey
从类复制的说明:FlagReturns the configuration key for the material of this flag.- 指定者:
getConfigurationMaterialKey在类中Flag- 返回:
- the configuration key for the material
-