Interface Storage
-
Method Summary
Modifier and TypeMethodDescriptionbrushes()Get the brushes storagedefault voidMigrate the storage into this storage.presets()Get the preset storagedefault voidreload()Reload the data for that storage from diskdefault voidsave()Attempts to save the storage.default voidshutdown()Called when the plugin shuts down and the storages get unregistered.
-
Method Details
-
presets
-
brushes
-
migrate
Migrate the storage into this storage. This will override entries if they already exist whith the same name. This will not remove already existing entries.- Parameters:
storage- storage with entries to add.
-
save
default void save()Attempts to save the storage.Only required for file based storages.
-
shutdown
default void shutdown()Called when the plugin shuts down and the storages get unregistered. -
reload
default void reload()Reload the data for that storage from disk
-