partialkeepinv 图标

partialkeepinv

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.2
本资源为搬运资源,原资源地址: https://modrinth.com/mod/partialkeepinv
资源信息

Minecraft 版本: 1.21.11

平台: paper

标签: equipment game-mechanics utility

资源介绍

partialkeepinv

Partial Keep Inventory introduces a softer alternative to /gamerule keepInventory for Paper 1.21.x servers (tested on 1.21.11).
Instead of keeping everything or dropping everything, it selectively protects valuable items while still punishing deaths.

Core features

  • Selective item keeping

    • Keeps all shulker boxes (any colour).
    • Keeps all non-stackable items – tools, weapons, armour, elytra, etc. (anything with max stack size 1).
    • Keeps extra container-like items such as ender chests and bundles (and anything else you add to the whitelist in config.yml).
    • All other items (blocks, food, stackables) drop normally on death.
  • Inventory position preserved

    • Kept items are restored to their original inventory slots (hotbar and main inventory).
    • Off-hand item is restored to the off-hand slot when possible.
    • If a slot is already occupied (because of other plugins or edge cases), the item is added to the inventory and dropped at the player’s feet if there’s no space.
  • Armour handling

    • Armour is kept and re-equipped automatically on respawn.
    • Each death applies extra durability damage to each worn armour piece (default ~3% of max durability, configurable).
    • Items won’t be instantly destroyed by the death penalty (at least 1 durability is preserved).
  • XP penalty

    • On every death the player loses a configurable number of XP levels (default 1–5, never below level 0).
    • No XP orbs are dropped; the plugin directly sets the new level on respawn.

Configuration

  • keep.shulkers, keep.non_stackable_items, keep.containers – toggle what types of items are protected.
  • containers.material_whitelist – list extra container-like materials to always keep (default: ENDER_CHEST, BUNDLE).
  • xp_loss.enabled, xp_loss.min_levels, xp_loss.max_levels – control how many levels are lost on death.
  • armor_damage.enabled, armor_damage.percent – control whether and how much armour durability is lost per death.

Requirements

  • Server: Paper 1.21.11+ (should work on other 1.21.x builds).
  • Java: 21+
  • Make sure in each relevant world:
    
    /gamerule keepInventory false
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Totem of undying Zoro

价格:0 墨喵币
下载量:0

查看详情
No More Map Markers

价格:0 墨喵币
下载量:0

查看详情
SimpleTrade

价格:0 墨喵币
下载量:0

查看详情
Better illuminated

价格:0 墨喵币
下载量:0

查看详情