▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/ExplosionProtector
ExplosionProtector

ExplosionProtector

Addon for Coreprotect that protects buildings from explosions if the block was placed by the player

501
4

ExplosionProtector 2.2

release25 февраля 2026 г.

What changed

  • Paintings and item frames are no longer fully unbreakable.
  • They are now protected only from explosions.
  • Normal break behavior is preserved for all non-explosion causes.

Technical fixes

  • Added explosion-only checks for hanging entities:
  • HangingBreakEvent -> cancel only EXPLOSION
  • EntityDamageEvent -> cancel only BLOCK_EXPLOSION / ENTITY_EXPLOSION
  • Removed invalid frame/painting handling from explosion blockList logic.

Dependency update

  • CoreProtect API updated to 23.1 (from 22.4).

Recommended setup

  • Use CoreProtect 23+ to avoid known 22.4 entity logging warnings.

ExplosionProtector 2.0

release28 ноября 2025 г.

folia release

ExplosionProtector 2.0

release27 апреля 2025 г.

Changelog

[2.0] – 2025-04-27

Added

  • Guava-backed lookup cache (Cache<String,Boolean> placementCache) to dramatically reduce repeated CoreProtect block lookups.
  • Localization support via config.yml (language: <code>) and external messages_<lang>.yml files for English, Russian, Spanish, Chinese, Hindi, Arabic, French, German, Japanese and Portuguese.
  • Automatic resource extraction of all messages*.yml files from the plugin JAR into the data folder on first run.
  • /ep command with three sub-commands:
    • status/info — shows plugin status and number of blocks protected in the last explosion.
    • language <code> — dynamically switch the plugin’s language at runtime without a server restart.
  • Dynamic message loading (loadLanguageMessages(lang)) to reload translated messages immediately after /ep language is run.

Changed

  • Explosion handling consolidated:
    • TNT chain reactions now explicitly allow TNT to break through, while all other blocks placed by players remain protected.
    • Unified logic for EntityExplodeEvent and BlockExplodeEvent into two succinct handlers.
  • CoreProtect API check simplified to APIVersion() >= 7 (from >= 10) and proper plugin‐enabled test.
  • Logging and user feedback moved entirely into configurable message files instead of hard-coded strings in code.
  • Comments and documentation updated to English throughout the codebase.

Fixed

  • NPE safety: all CoreProtect lookups and message loads guard against null and absent resources.
  • TNT projectile: improved handling in ProjectileHitEvent to prevent lingering TNT entities from exploding unexpectedly.

ExplosionProtector 2.0

release27 апреля 2025 г.

Changelog

[2.0] – 2025-04-27

Added

  • Guava-backed lookup cache (Cache<String,Boolean> placementCache) to dramatically reduce repeated CoreProtect block lookups.
  • Localization support via config.yml (language: <code>) and external messages_<lang>.yml files for English, Russian, Spanish, Chinese, Hindi, Arabic, French, German, Japanese and Portuguese.
  • Automatic resource extraction of all messages*.yml files from the plugin JAR into the data folder on first run.
  • /ep command with three sub-commands:
    • status/info — shows plugin status and number of blocks protected in the last explosion.
    • language <code> — dynamically switch the plugin’s language at runtime without a server restart.
  • Dynamic message loading (loadLanguageMessages(lang)) to reload translated messages immediately after /ep language is run.

Changed

  • Explosion handling consolidated:
    • TNT chain reactions now explicitly allow TNT to break through, while all other blocks placed by players remain protected.
    • Unified logic for EntityExplodeEvent and BlockExplodeEvent into two succinct handlers.
  • CoreProtect API check simplified to APIVersion() >= 7 (from >= 10) and proper plugin‐enabled test.
  • Logging and user feedback moved entirely into configurable message files instead of hard-coded strings in code.
  • Comments and documentation updated to English throughout the codebase.

Fixed

  • NPE safety: all CoreProtect lookups and message loads guard against null and absent resources.
  • TNT projectile: improved handling in ProjectileHitEvent to prevent lingering TNT entities from exploding unexpectedly.

ExplosionProtector 2.0

release27 апреля 2025 г.

Changelog

[2.0] – 2025-04-27

Added

  • Guava-backed lookup cache (Cache<String,Boolean> placementCache) to dramatically reduce repeated CoreProtect block lookups.
  • Localization support via config.yml (language: <code>) and external messages_<lang>.yml files for English, Russian, Spanish, Chinese, Hindi, Arabic, French, German, Japanese and Portuguese.
  • Automatic resource extraction of all messages*.yml files from the plugin JAR into the data folder on first run.
  • /ep command with three sub-commands:
    • status/info — shows plugin status and number of blocks protected in the last explosion.
    • language <code> — dynamically switch the plugin’s language at runtime without a server restart.
  • Dynamic message loading (loadLanguageMessages(lang)) to reload translated messages immediately after /ep language is run.

Changed

  • Explosion handling consolidated:
    • TNT chain reactions now explicitly allow TNT to break through, while all other blocks placed by players remain protected.
    • Unified logic for EntityExplodeEvent and BlockExplodeEvent into two succinct handlers.
  • CoreProtect API check simplified to APIVersion() >= 7 (from >= 10) and proper plugin‐enabled test.
  • Logging and user feedback moved entirely into configurable message files instead of hard-coded strings in code.
  • Comments and documentation updated to English throughout the codebase.

Fixed

  • NPE safety: all CoreProtect lookups and message loads guard against null and absent resources.
  • TNT projectile: improved handling in ProjectileHitEvent to prevent lingering TNT entities from exploding unexpectedly.

Совместимость

Minecraft: Java Edition

1.21.x1.20.x1.19.x

Платформы

Поддерживаемые окружения

Сервер

Создатели

Детали

Лицензия:MIT
Опубликован:1 год назад
Обновлён:1 месяц назад
Главная