Class WConfig

java.lang.Object
me.wyne.wutils.config.WConfig

public class WConfig extends Object
Inherit to automatically register config Object or use static registerConfigObject(Object) method.
  • Constructor Details

    • WConfig

      public WConfig()
  • Method Details

    • registerConfigObject

      public static void registerConfigObject(@NotNull @NotNull Object object)
      Registered objects will be reloaded on reloadConfigObjects(FileConfiguration).
      Parameters:
      object - Object to register
    • reloadConfigObjects

      public static void reloadConfigObjects(@NotNull @NotNull org.bukkit.configuration.file.FileConfiguration config)
      Load data from FileConfiguration to registered objects.
      Parameters:
      config - FileConfiguration to load data from