Class ConfigString

java.lang.Object
dev.cashire.cashconfig.items.BaseConfigItem<String>
dev.cashire.cashconfig.items.ConfigString

public final class ConfigString extends BaseConfigItem<String>
Configuration item for String values for BaseConfigItem.
  • Constructor Details

    • ConfigString

      public ConfigString()
      Creates an empty String item with no key If adding to a ConfigGroup, use ConfigString(String, String) instead.
    • ConfigString

      public ConfigString(@NotNull @NotNull String key)
      Creates a new String item with given key.
      Parameters:
      key - The key to be used if put in a group.
    • ConfigString

      public ConfigString(@NotNull @NotNull String key, String str)
      Creates a new String item with given key and value.
      Parameters:
      key - The key to be used if put in a group.
      str - The default value contained in this item.
  • Method Details