Sueta

zNxPiglinRush

2.1.0

Increases Zombified Piglin spawn rate on magma blocks for gold farms

·Plugin
  1. 2.1.0latestzNxPiglinRush 2.1.0Jun 9, 2026

    💾 v2.1.0 — Multi-Backend Storage & Paper-Native Library Loading

    Major storage overhaul: choose between YAML, JSON, H2, MySQL and MariaDB directly from the config. Heavy JDBC dependencies are fetched at runtime via Paper's native library loader — keeping the JAR well under 3.5 MB.
    ---
    🗄️ Storage Backend Selection
    The plugin now supports five storage backends, configurable without recompiling or swapping JARs. * ✨ Added YAML backend — stores stats in stats.yml, zero extra dependencies * ✨ Added JSON backend — stores stats in stats.json, uses Gson already bundled by Paper * ✅ Existing H2 backend retained as the default (embedded, file-based, no remote setup) * ✨ Added MYSQL backend — full HikariCP connection pool, remote MySQL server * ✨ Added MARIADB backend — same as MySQL but uses the official MariaDB JDBC driver Choose your backend in `config.yml`:
    storage:
      type: H2   # YAML | JSON | H2 | MYSQL | MARIADB
      database:
        host: localhost
        port: 3306
        name: minecraft
        username: root
        password: ""
        pool-size: 5
        connection-timeout: 5000
    ---
    ⚡ Paper-Native Library Loading (No JAR Bloat)
    HikariCP and the JDBC drivers for MySQL/MariaDB are not shaded into the plugin JAR. Instead they are resolved at server startup using Paper's PluginLoader / MavenLibraryResolver API — the same mechanism used by other major plugins. * 📉 JAR stays lean even with SQL support (H2 is the only shaded lib, ~2 MB) * 📦 Libraries are cached by Paper in libraries/ and not re-downloaded on every restart 🚫 Spigot support dropped — the plugin now targets Paper / Folia only* (paper-plugin.yml) ---
    🎨 Startup Banner
    A styled startup banner now prints to the console when the plugin loads, showing version, platform (Paper/Folia), active storage backend and spawner count. ---
    🔧 Internal Changes
    * New StorageLibraryLoader implements PluginLoader — declared under loader: in paper-plugin.yml * New StorageBackendFactory selects the correct backend at runtime * PluginConfig exposes a StorageType enum and full HikariCP connection parameters `ConfigUpdater` bumped to schema v3* with automatic migration — existing configs gain the storage: section transparently (default: H2) * Removed legacy plugin.yml (Spigot) — only paper-plugin.yml remains ---
    ⚠️ Notes
    Existing installs*: configs are migrated automatically on first boot; stats are preserved Default storage* remains H2 — no action required if you are happy with the current behaviour MySQL / MariaDB require a running database server and the `storage.database.` fields filled in * Safe drop-in update from v2.0.x
    60 downloads
  2. 2.0.1zNxPiglinRush 2.0.1Jun 9, 2026

    💾 v2.0.1 — Storage Backend Migration

    Internal database overhaul replacing SQLite with H2 to reduce dependency weight and improve build footprint.
    ---
    🗄️ Database Changes
    The plugin storage layer has been migrated from SQLite to H2. * 🔄 Replaced SqliteStorageBackend with H2-based implementation * ❌ Removed SQLite JDBC dependency from the build * 📉 Significantly reduced shaded JAR size * ⚡ Lighter and cleaner dependency tree ---
    🔧 Internal Improvements
    * Updated database initialization and connection handling * Preserved full compatibility with existing stats and persistence logic * No changes required to user configuration or usage ---
    ⚠️ Notes
    * No configuration changes * No gameplay or feature changes * Fully backward compatible from a user perspective * Safe drop-in update from v2.0.0
    9 downloads
  3. 2.0.0zNxPiglinRush 2.0.0Jun 9, 2026

    🔥 v2.0.0 — Architecture Overhaul

    Complete rewrite of the plugin internals. Same behaviour on the surface, professional-grade code underneath. Drop-in update — just swap the jar and run /pr reload.
    ---
    🏗️ Package Restructure
    The entire codebase has been reorganised into a clean, domain-driven package layout under dev.znxki.zNxPiglinRush: | Old package | New package | |---|---| | config.engine | spawner.strategy | | config.registry | spawner.registry | | config.spawner | config (→ SpawnerDefinition) | | events | listener | | hook | integration | | stats.repository | stats.storage | Main class renamed from ZNxPiglinRush → PiglinRushPlugin. ---
    🧩 Interface-backed Architecture
    Four new API interfaces introduced under dev.znxki.zNxPiglinRush.api: - `SchedulerService` — abstracts Folia vs Spigot/Paper scheduling. Two implementations: FoliaSchedulerService and BukkitSchedulerService, selected at runtime via SchedulerServiceFactory - `SpawnStrategy` — strategy pattern for spawn behaviour. Implementations: StandardSpawnStrategy and WaveSpawnStrategy. SpawnLocationResolver extracted as a shared utility - `StatsProvider` — read-only interface over spawn statistics. SpawnTracker (ex SpawnStats) implements it - `StorageBackend` — persistence abstraction. SqliteStorageBackend is the built-in implementation ---
    ⚙️ Config Updater
    New ConfigUpdater automatically migrates old config files to the current schema without overwriting user values: - Detects config version via config-version field (absent = legacy v1) - v1 → v2: moves flat keys (spawn-count, spawn-cooldown, etc.) into spawners.magma_block.*, preserving all user-set values - Creates a timestamped backup (config_backup_YYYYMMDD_HHmmss.yml) before any migration - Fills missing keys from bundled defaults on every startup — future updates add new options automatically ---
    🔧 Other Improvements
    - ModrinthUpdateSource extracted from UpdateChecker — HTTP logic is now separate and swappable - SpawnContext record introduced — passes spawn event data cleanly into strategy implementations - Fixed update-checker permission check: was magmaspawner.admin, now correctly piglinrush.admin - Fixed getMagmaConfig() leftover reference — now getPluginConfig() - Renamed: HeatmapManager → HeatmapService, DiagnosticsMonitor → DiagnosticsService, BlockSpawnerConfig → SpawnerDefinition, PiglinRushConfig → PluginConfig
    11 downloads
  4. 1.1.1zNxPiglinRush 1.1.1Jun 7, 2026

    🚀 v1.1.1 — Manifest Fix

    Small maintenance release to correctly declare Folia compatibility in plugin metadata.
    ---
    🌿 Folia Compatibility
    The plugin already supported Folia internally, but the compatibility flag was missing from the plugin descriptors. * ✅ Added folia-supported: true to plugin.yml * ✅ Added folia-supported: true to paper-plugin.yml This ensures Folia properly recognizes the plugin as compatible during startup. ---
    🔧 Notes
    * No code changes * No configuration changes * No behavior changes * Safe drop-in update from v1.1.0
    8 downloads
  5. 1.1.0zNxPiglinRush 1.1.0Jun 6, 2026

    🚀 v1.1.0 — Folia & Paper Command System

    Full Folia compatibility + Paper's new command system. Drop-in upgrade — no config changes needed.
    ---
    🌿 Folia Support
    The plugin now runs natively on Folia's region-threaded architecture. A new SchedulerAdapter layer handles all scheduling transparently — the correct scheduler is picked at runtime via reflection, no config needed. | Task | Folia | Spigot / Paper | |---|---|---| | Extra piglin spawns | RegionScheduler.run() | BukkitScheduler.runTask() | | Join notifications | GlobalRegionScheduler.runDelayed() | BukkitScheduler.runTaskLater() | | Update check (HTTP) | AsyncScheduler.runNow() | runTaskAsynchronously() | ---
    ⚔️ Paper Command System
    Commands are now registered via LifecycleEventManager + Brigadier on Paper and Folia, fixing the long-standing "commands registered too late" issue introduced in Paper 1.20.6. - 📄 Added paper-plugin.yml for Paper/Folia environments - 🔁 Spigot automatically falls back to the legacy plugin.yml + PluginCommand approach - 📟 /piglinrush info now shows the active runtime (Spigot/Paper or Folia) ---
    🔧 Fixes & Improvements
    - folia-supported: true added to plugin.yml - Update checker now queries Modrinth for both paper and spigot loaders - Cleaned up all internal strings to zNxPiglinRush / piglinrush.admin
    9 downloads
  6. 1.0.0zNxPiglinRush 1.0.0Jun 6, 2026
    12 downloads

Similar projects

Plugin →