▶️ ЗАБЕРИ СВОИ 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.

Оцените первым
74
2
Все версииAmplProtections 1.0.14

AmplProtections 1.0.14

Release17.06.2026

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

Changelog

[1.0.14] - 2026-06-17

Added

PSStones Migration System

  • New command /aprotmigrate psstones to migrate regions from ProtectionStones
  • Confirmation GUI menu before migration (fully editable via menus/migration-menu.yml)
  • Option to delete original PS regions after migration
  • Async migration to prevent server lag
  • Migrates owners, members, flags, and exact region bounds
  • Creates dynamic protection types for non-standard radii
  • Reads ps-home flag for correct block placement
  • Detailed logging of each migrated region

Nexo Integration

  • New NexoHook class for Nexo API integration
  • Support for custom block models from Nexo furniture system
  • New nexo-id field in blocks.yml for Nexo items
  • Multiple API compatibility approaches for different Nexo versions

Custom Model Data Support

  • Blocks can now be identified by material + custom model data
  • Compatible with Nexo, ItemsAdder, and Oraxen resource packs
  • New getProtectionTypeByMaterialAndModelData() method

Configurable Limits

  • Custom ranks with custom limits (add as many as you want)
  • Per-world max protections (different limits per world)
  • New config structure:
    worlds:
      world-limits:
        world: 10
        world_nether: 3
    limits:
      ranks:
        default: 3
        vip: 5
        mvp: 10
        admin: 999
    

Migration Messages

  • Added migration.* section to both en.yml and es.yml
  • All migration messages are now configurable and translatable

Fixed

Critical Fixes

  • Fixed duplicate commands section in language files that caused ~80 messages to be lost
  • Fixed CustomModelData IllegalStateException in Paper 1.21+ (now checks hasCustomModelData() first)
  • Fixed PSStones regions being migrated with wrong size (now uses exact WG region bounds)
  • Fixed protection block not being placed at correct location during migration

Language System

  • LanguageManager now uses ConfigUpdater to add new keys to existing language files
  • Added missing messages: commands.list-no-protections, commands.preset-invalid-sub, buy-menu.*

Database

  • Migration now uses UPSERT instead of INSERT to prevent duplicate key errors
  • Added proper transaction rollback on migration failure

Changed

Plugin Optimization

  • Reduced jar size from ~15MB to ~1.6MB
  • Added SQLite native library filters (only Windows x64 and Linux x64)
  • Enabled minimizeJar to remove unused classes

Dependencies

  • Added WorldGuard as soft dependency
  • Added WorldEdit dependency
  • Added Nexo as soft dependency
  • Added EngineHub and sk89q repositories

Technical

New Files

  • src/main/java/com/amplan/amplprotections/database/PSStonesMigrationManager.java
  • src/main/java/com/amplan/amplprotections/hook/NexoHook.java
  • src/main/java/com/amplan/amplprotections/menu/MigrationConfirmMenu.java
  • src/main/resources/menus/migration-menu.yml

Modified Files

  • src/main/java/com/amplan/amplprotections/AmplProtections.java
  • src/main/java/com/amplan/amplprotections/command/MigrateCommand.java
  • src/main/java/com/amplan/amplprotections/config/MenuConfigManager.java
  • src/main/java/com/amplan/amplprotections/language/LanguageManager.java
  • src/main/java/com/amplan/amplprotections/listener/BlockListener.java
  • src/main/java/com/amplan/amplprotections/manager/ProtectionManager.java
  • src/main/java/com/amplan/amplprotections/model/ProtectionType.java
  • src/main/resources/blocks.yml
  • src/main/resources/config.yml
  • src/main/resources/lang/en.yml
  • src/main/resources/lang/es.yml
  • src/main/resources/plugin.yml
  • pom.xml

Файлы

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

Метаданные

Канал релиза

Release

Номер версии

1.0.14

Загрузчики

Paper
Purpur
Spigot

Версии игры

1.21–26.1.2

Загрузок

24

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

17.06.2026

Загрузил

ID версии

Главная