Перейти к содержимому
Mineforgian

InsureInv

Inventory insurance that makes death less punishing, while keeping risk and balance

Загрузки
81
Подписчики
1
Обновлён
18 мая 2026 г.
Лицензия
MIT

Опубликован 22 февраля 2026 г.

InsureInv

License

A flexible, charge-based inventory protection plugin for modern Minecraft servers.


🌟 Overview

InsureInv gives players peace of mind by protecting their items and experience upon death using a robust charge system. Players can purchase "charges" using in-game currency, and each death automatically consumes one charge to keep their inventory intact.

Designed with performance in mind, it fully supports Paper 1.20.1+ and Folia.

✨ Key Features

  • 🛡️ Charge-based Saves: Move away from binary keepInventory rules. Define custom prices and maximum limits for inventory protection charges.
  • 💰 Seamless Economy: Hook into Vault, VaultUnlocked or PlayerPoints to let players seamlessly buy charges. (Economy features can also be completely disabled).

🚀 Quick Start & Usage

Players can manage their own protection natively using the main core command (aliases: /inv, /hinv):

  • /insureinv buy <amount> — Purchase charges.
  • /insureinv toggle — Enable or disable active protection.
  • /insureinv info — Check remaining charges.

(Admins have access to pricing, capacity limits, and reload tools via the insureinv.admin permission!)

🔗 Resources

Find the complete documentation, build details, or report issues over at the main open-source repository.

Ченджлог

v1.3.3Релиз26.1, 26.1.1, 26.1.2 · 18 мая 2026 г.

• Restructuring: Code refactored for better performance. • Removed: Useless features cleaned out. • Compatibility: Works on all versions from 1.20.x to 26.x.

v1.3.2Релиз1.21.9, 1.21.10, 1.21.11 · 11 апреля 2026 г.

InsureInv Changelog

Version 1.3.2

🚫 Dropped Spigot Support

  • InsureInv now requires Paper or Folia (including forks). Spigot and other non-Bukkit servers are no longer supported.
  • If you're still using Spigot, please upgrade to Paper to continue using the plugin.

💰 Economy System Improvements

  • Better fallback logic when choosing which economy provider to use.
  • Improved compatibility with different server types when using Vault.

📊 Better Statistics (bStats)

  • More detailed server information is now collected to help the developer improve the plugin.
  • Added timezone detection for better understanding of server demographics.
  • Cleaned up unnecessary system info collection.

🛠️ Behind the Scenes

  • Plugin now starts more reliably in certain edge cases.
  • Improved language file reloading to prevent rare errors.
  • General code cleanup and optimizations.

Important: If you're running Spigot, please migrate to Paper before updating to version 1.3.2. Paper is fully compatible with Spigot plugins and offers better performance.

v1.3.1Релиз1.21.9, 1.21.10, 1.21.11 · 21 марта 2026 г.

🎯 Improvements

  • Improved overall UX for a smoother and more consistent experience when interacting with commands and menus.

🛡️ Permissions & Bypass

  • Admins / OPs now bypass costs when using /inv buy
  • Admins / OPs also bypass maxUsage limits

🔌 Platform Compatibility

  • Confirmed compatibility with:
    • Folia (region-safe scheduling supported)
    • Spigot/Paper-based servers
  • Improved cross-platform behavior for economy handling and task scheduling
  • Arclight & more soon

🐛 Fixes

  • Fixed incorrect plugin name lookup causing economy provider to always return null
  • Fixed edge cases where no valid economy provider was selected even when available

💬 Notes

  • Recommended for all servers using economy integrations
v1.3.0Релиз1.21.9, 1.21.10, 1.21.11 · 26 февраля 2026 г.

🌍 Per-Player Language System

Players can now choose their preferred language — messages are served individually based on each player's selection.

Command Description
/insureinv setlang <language> Set your preferred language
/insureinv setlang View current language & available options
  • Language preference persisted via Bukkit's PersistentDataContainer
  • Tab completion dynamically suggests all loaded languages
  • Fully hot-reloadable — /insureinv reload refreshes all translations without restart

📄 locales.yml — Admin-Configurable Language Registry

A new config file at plugins/InsureInv/locales.yml gives server admins full control over available languages:

languages:
  en_US:
    file: en_US.yml
  vi_VN:
    file: vi_VN.yml
  pirate:                  # Custom identifier — no naming restrictions!
    file: pirate_speak.yml
How to add a custom language
  1. Copy an existing translation file from plugins/InsureInv/lang/
  2. Translate the messages in your new file
  3. Place it in plugins/InsureInv/lang/
  4. Add an entry in locales.yml with your chosen key and file name
  5. Run /insureinv reload

[!NOTE] Translation files are loaded from the data folder (plugins/InsureInv/lang/), not from the JAR. Admins can edit translations directly on disk.


🆕 Bundled Languages

Language Key File
🇺🇸 English (US) en_US en_US.yml
🇬🇧 English (UK) en_GB en_GB.yml
🇻🇳 Vietnamese vi_VN vi_VN.yml
🇫🇷 French fr_FR fr_FR.yml
🇯🇵 Japanese ja_JP ja_JP.yml

🔧 Internal Improvements

  • Atomic i18n reloadI18nManager uses AtomicReference for thread-safe bootstrap swapping during reloads, eliminating race conditions where concurrent message lookups could receive stale or null data
  • Merged langreloadreload — a single /insureinv reload now handles config, storage, and language reloads
  • Library updatehyticallib-i18n-core no longer enforces ISO locale codes (xx_XX), enabling fully custom language identifiers

⚠️ Known Limitations

[!CAUTION]

  • Translations for fr_FR and ja_JP are AI-generated and may contain inaccuracies — community contributions welcome
  • Custom language file hot-reloading has not been extensively tested under heavy production load
  • This build has not undergone full QA — edge cases may exist
  • Breaking changes may occur in future pre-releases without prior notice

Комментарии

Загружаем…