COWMODSКаталог модов
Life Insurance

ВЕРСИИ (2)

release

1.2

1.2
3 янв. 2026 г.90Minecraft: 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11paper, purpur, spigot
Скачать
Что нового
## **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-skull` is 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.yml`** file. * 🔄 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-skull` boolean 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**.
release

1.1

1.1
3 янв. 2026 г.25Minecraft: 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11paper, purpur, spigot
Скачать
Что нового
## 🛡️ 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 1. Player opens the insurance GUI (`/buyinsurance`) 2. Pays the configured price 3. Insurance stays active for a limited time 4. On death → inventory & XP are saved 5. 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