Package me.wyne.wutils.config
Class WConfig
java.lang.Object
me.wyne.wutils.config.WConfig
Inherit to automatically register config
Object or use static registerConfigObject(Object) method.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidregisterConfigObject(@NotNull Object object) Registered objects will be reloaded onreloadConfigObjects(FileConfiguration).static voidreloadConfigObjects(@NotNull org.bukkit.configuration.file.FileConfiguration config) Load data fromFileConfigurationto registered objects.
-
Constructor Details
-
WConfig
public WConfig()
-
-
Method Details
-
registerConfigObject
Registered objects will be reloaded onreloadConfigObjects(FileConfiguration).- Parameters:
object-Objectto register
-
reloadConfigObjects
public static void reloadConfigObjects(@NotNull @NotNull org.bukkit.configuration.file.FileConfiguration config) Load data fromFileConfigurationto registered objects.- Parameters:
config-FileConfigurationto load data from
-