KeepInventoryShop
Buy Lives, Preserve Loot: KeepInventoryShop
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
KeepInventoryShop

KeepInventoryShop
The ultimate solution for balancing the vanilla Minecraft survival experience with player convenience. Some players prefer the authentic survival aspect where `/gamerule keepInventory` is false, but this can be punishing for less experienced players who struggle with losing their hard-earned items. KeepInventoryShop bridges that gap!
Key Features:
- Customization at its Finest: Preserve the vanilla experience with keepInventory set to false while eliminating the frustration of lost drops. - Customization at its Finest: Empower players of all skill levels with the ability to purchase or earn KeepInventory lives, ensuring their valuable items are always protected. - Customization at its Finest: Add an exhilarating layer of strategic resource management where players protect their inventory and stay in control of their survival. - Customization at its Finest: Upgrade normal lives to KeepTotem lives. When you would die, you're saved with full health, potion effects, and a flashy totem animation! - Customization at its Finest: Players can pay with server economy, emeralds, or XP levels. Server owners configure exchange rates in the config, and players select their preferred currency in the GUI. - Customization at its Finest: Reward active players with free lives after a configurable amount of play time. Timer pauses on disconnect and resumes when they rejoin. - Customization at its Finest: Beautiful inventory-based menus for buying lives, upgrading to KeepTotem, and admin management. No commands needed! - Customization at its Finest: Every player-facing message can be customized via `messages.yml` with full color code support and placeholders. - Customization at its Finest: KeepTotem respects real Totems of Undying. If you're holding one, it activates first before consuming KeepTotem lives. - Customization at its Finest: If the `keepInventory` gamerule is enabled, the plugin won't waste your lives. Vanilla handles it automatically. - Customization at its Finest: Fine-tune initial lives, costs, timer duration, currency values, messages, and more for a tailored gameplay experience.

Dependencies:
- Optional: Vault, Economy Plugin (EssentialsX, CMI, or any Vault-compatible economy) - Optional: WorldGuard, PlaceholderAPI, ProtocolLib
Configuration:
config.yml
- `initial-lives`: Lives players receive when joining for the first time. - `use-timer`: Enable/disable the play-time timer. - `timer-lives`: Lives awarded when the timer fires. - `timer-duration`: Seconds of play time before awarding lives. - `cost-per-life`: Cost of a single KeepInventory life (in money). - `cost-per-upgrade`: Cost of a single KeepTotem upgrade (in money). - `use-region`: Enable WorldGuard region support.
Alternative Currency Options: - `allow-emerald-payment`: Allow players to pay with emeralds (true/false). - `allow-xp-payment`: Allow players to pay with XP levels (true/false). - `emerald-value`: How much money 1 emerald is worth (e.g., 100 means 1 emerald = $100). - `xp-level-value`: How much money 1 XP level is worth (e.g., 50 means 1 level = $50).
messages.yml
Customize all player-facing messages with color codes (`&a`, `&c`, `&d`, etc.) and placeholders: - `{amount}` - number of lives - `{lives}` - "life" or "lives" - `{player}` - player name - `{cost}` - formatted cost - `{balance}` - player's balance - `{remaining}` - remaining lives - `{time}` - formatted time
Commands:
- /keepinventory reload or /keepinventory reload: Opens the GUI shop. - /keepinventory reload: View your lives or another player's. - /keepinventory reload: Buy lives via command. - /keepinventory reload: Upgrade lives to KeepTotem. - /keepinventory reload: Set a player's lives. - /keepinventory reload: Add lives to a player. - /keepinventory reload: Remove lives from a player. - /keepinventory reload: Show help. - /keepinventory reload: Reload configuration and messages.
Permissions:
- keepinventoryshop.limitupgraded.<number>: Set lives for others. Default: OP - keepinventoryshop.limitupgraded.<number>: Add lives to others. Default: OP - keepinventoryshop.limitupgraded.<number>: Remove lives from others. Default: OP - keepinventoryshop.limitupgraded.<number>: View other players' lives. Default: OP - keepinventoryshop.limitupgraded.<number>: Reload configuration. Default: OP - keepinventoryshop.limitupgraded.<number>: Cap normal lives for a permission group. - keepinventoryshop.limitupgraded.<number>: Cap upgraded lives for a permission group.
Placeholders:
- `%keepinventoryshop_lives%` - `%keepinventoryshop_upgradedlives%`
WorldGuard Support:
Create a region named `keep_inventory_zone` to grant free KeepInventory protection within that area: ``` /region define keep_inventory_zone ``` ---
Discover the perfect harmony between survival and convenience. Download KeepInventoryShop and empower your community to safeguard their inventory!
