▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/zNxPiglinRush
zNxPiglinRush

zNxPiglinRush

Increases Zombified Piglin spawn rate on magma blocks for gold farms

Оцените первым
48
0
Все версииzNxPiglinRush 2.1.0

zNxPiglinRush 2.1.0

Release09.06.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

Файлы

zNxPiglinRush-2.1.0.jar(2.73 MiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

2.1.0

Загрузчики

Folia
Paper
Purpur

Версии игры

26.1.2

Загрузок

22

Дата публикации

09.06.2026

Загрузил

ID версии

Главная