Tags
Creators
Details
1.2
Compatibility
Changes
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.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:BR9gHHne:L2cS9dkz"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:BR9gHHne:L2cS9dkz"
}

