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

AmplProtections

AmplProtections is an advanced Minecraft 1.21+ protection plugin that adds customizable land protection systems with blocks, flags, rentals, rollback, and economy integration.

Оцените первым
144
2
Все версииAmplProtections 1.0.18

AmplProtections 1.0.18

Release03.08.2026

Список изменений


[1.0.18] - 2026-08-03

🔧 Database & Connection Pool

  • MySQL: Plugin now auto-creates the database if it doesn't exist (CREATE DATABASE IF NOT EXISTS). No need to manually create it anymore.
  • MySQL: Enabled TCP keepalive (120s) to prevent the connection pool from becoming unresponsive on unstable networks.
  • MySQL: Increased connectionTimeout from 5s to 15s to handle server load spikes.
  • SQLite: Reduced maximumPoolSize from 5 to 1 — SQLite is an embedded database and does not benefit from multiple connections, which could cause SQLITE_BUSY errors.
  • SQLite: Enabled TCP keepalive (120s) for the same reason as MySQL.
  • SQLite: Increased connectionTimeout from 5s to 10s.
  • Both: Added graceful shutdown for ExecutorService with awaitTermination(5s) to ensure pending database operations complete before the server shuts down.

🛡️ Plugin Lifecycle

  • Wrapped onDisable() in a try-catch-finally block so that databaseConnection.disconnect() is always called, even if an error occurs during shutdown (e.g., saving regions).

🐛 Bug Fixes

  • Fixed duplicate YAML key warnings: The ConfigUpdater was inserting keys that already existed in the user's config files, causing repeated duplicate keys found warnings from the YAML parser. Added a pre-insertion check to skip keys that already exist.
  • Fixed invalid YAML generation: List values containing special YAML characters (like |, :, {, etc.) are now properly quoted when inserted by the ConfigUpdater, preventing mapping values are not allowed here parse errors.
  • Silent corrupted file recovery: When a user's config/menu file is corrupted, the plugin now detects it silently (no errors in console), backs it up, and regenerates it automatically from the JAR. Previously this would flood the server console with YAML parse errors.
  • Synced version in plugin.yml with pom.xml (was out of sync).

✨ Improvements

  • Clickable update notification: The download link shown to admins on player join is now clickable (opens browser to Modrinth page).
  • Dynamic plugin name: The update notification now displays the project name fetched from the Modrinth API instead of a hardcoded string.

Файлы

AmplProtections-1.0.18.jar(1.64 MiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.0.18

Загрузчики

Paper
Purpur
Spigot

Версии игры

1.21–26.2

Загрузок

13

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

03.08.2026

Загрузил

ID версии

Главная