Class DefaultResources

java.lang.Object
dev.despical.mazeengine.config.DefaultResources

public final class DefaultResources extends Object
Installs the bundled configuration and preset files that are missing locally.

The resource list contains the main settings, message templates, and shipped theme presets. Installation checks each destination before copying its JAR resource, allowing first startup to create a complete editable configuration.

Existing server files are retained, including administrator edits to presets and messages. This class only installs files; Settings and the preset loader perform validation before the plugin publishes any replacement configuration.

  • Field Details

    • PRESETS

      public static final List<String> PRESETS
  • Method Details

    • install

      public static void install(org.bukkit.plugin.java.JavaPlugin plugin)