
Life Insurance
Life Insurance Plugin For inventory/xp Player Save With Vault Economy
1.2
release4 января 2026 г.LifeInsurance Plugin – Changelog / Update Highlights
Version: Updated build
1. GUI Improvements
-
🖼️ Expanded GUI to 18 slots for a cleaner layout.
-
💰 Buy Insurance slot is now clearly defined (slot 4) — clicking other slots does nothing.
-
🪦 Player Profile Head added (slot 9): shows the player’s current balance using Vault.
-
🟢🔴 Insurance Status slot (slot 17):
- Lime Dye: Insurance active, shows remaining hours & minutes.
- Red Dye: No insurance, inventory is not protected.
2. Insurance Purchase Logic
- ✅ Only triggers when clicking the buy insurance item (slot 4).
- 💸 Checks player balance using Vault and deducts the configured price.
- ⏳ Activates insurance for the configured duration.
- 📁 Saves active insurance to
insurances.yml, so it persists across server restarts.
3. Death Protection
- 🛡️ Protects inventory and experience if insurance is active.
- 💀 After saving, the insurance is consumed automatically.
- 🔄 Expired insurance is removed from storage automatically.
4. Optional Kill Skull Feature
-
⚰️ When a player is killed by another player and
kill-skullis enabled in config:- Drops the victim’s player head at the death location.
- Head displays the victim’s name.
5. Economy Integration
- 💰 Fully compatible with Vault economy plugins.
- Displays player balance in GUI.
- Deducts configurable price when buying insurance.
6. Storage & Persistence
- 📁 All active insurances stored in a separate
insurances.ymlfile. - 🔄 Insurances survive server restarts.
- Automatically loads active insurances on plugin startup.
7. Configurable Options
- Price, duration, GUI title, item type, name, and lore fully configurable.
- Optional kill-skull feature controlled via
kill-skullboolean in config.
8. Code & Safety Improvements
- Null safety checks for items and meta in GUI.
- Clear separation of GUI slots for buy, status, and profile.
- Insurance time displayed in hours and minutes for better clarity.
- Cleaned up storage logic to prevent config clutter.
Summary: This update makes LifeInsurance more user-friendly and visually informative: players can now see their profile, balance, and insurance status at a glance. It also introduces a kill-skull feature, GUI improvements, and ensures all insurances persist safely with separate storage.
1.1
release3 января 2026 г.🛡️ LifeInsurance
LifeInsurance allows players to protect their inventory on death by purchasing a one-time life insurance. Simple, lightweight, and fully configurable.
✨ Features
- 🧾 Buy insurance via GUI
- 💰 Vault economy support
- 🛡️ Keeps inventory & XP on death
- ⏳ Time-limited insurance
- 📊 /insurance status command
- 💾 Persistent data (survives restarts)
- ⚙️ Fully configurable (price, duration, GUI)
🧠 How it works
- Player opens the insurance GUI (
/buyinsurance) - Pays the configured price
- Insurance stays active for a limited time
- On death → inventory & XP are saved
- Insurance is consumed after use
📜 Commands
/buyinsurance– Open insurance GUI/insurance– Check insurance status & remaining time
⚙️ Requirements
- Paper / Spigot / Purpur
- Minecraft 1.17.1 – 1.21.1
- Java 17+
- Vault + any economy plugin (EssentialsX, CMI, etc.)
🛠️ Configuration
- Insurance price
- Insurance duration
- GUI title, item, lore
- All messages color-code friendly
🎯 Perfect for
- Survival servers
- Semi-hardcore gameplay
- Economy-based servers
- PvE & casual servers
