
KeepInventoryShop
平衡原版 Minecraft 生存体验与玩家便利性的终极解决方案。部分玩家偏好 /gamerule keepInventory 为 false 时的真实生存感,但这对于因失去辛苦获得的物品而感到挫败的新手玩家来说可能过于严苛。KeepInventoryShop 填补了这一空白!
主要特性:
- 平衡性与真实性:
在保持
keepInventory 为 false 的原版体验的同时,消除丢失掉落物带来的挫败感。
- 玩家便利性:
赋予所有技能水平的玩家购买或赚取 KeepInventory 命数的能力,确保他们的珍贵物品始终受到保护。
- 提升游戏体验:
增加一层令人兴奋的战略资源管理层面,玩家需要保护自己的物品栏并掌控自己的生存状态。
- KeepTotem 升级:
将普通命数升级为 KeepTotem 命数。当你死亡时,你将以满血、药水效果以及炫酷的图腾动画被救回!
- 多货币支持:
玩家可以使用服务器经济系统、绿宝石或经验等级进行支付。服务器管理员在配置文件中设置汇率,玩家可以在图形界面中选择偏好的货币。
- 在线计时器系统:
根据可配置的在线时间奖励活跃玩家免费命数。断开连接时计时器暂停,重新加入后继续计时。
- 交互式 GUI 商店:
基于物品栏的美丽菜单,用于购买命数、升级为 KeepTotem 以及管理员管理。无需使用命令!
- 完全自定义消息:
所有面向玩家的消息均可通过
messages.yml 进行自定义,支持完整的颜色代码和占位符。
- 智能图腾检测:
KeepTotem 会识别真实的不死图腾。如果你手持该物品,它会优先激活,然后再消耗 KeepTotem 命数。
- 感知 Gamerule:
如果启用了
keepInventory gamerule,插件不会浪费你的命数。原版会自动处理。
- 极致的自定义性:
微调初始命数、成本、计时器时长、货币价值、消息等,打造个性化的游戏体验。

依赖项:
- 必需:Vault, 经济插件 (EssentialsX, CMI 或任何兼容 Vault 的经济插件)
- 可选:WorldGuard, PlaceholderAPI, ProtocolLib
配置:
config.yml
initial-lives: 玩家首次加入时获得的命数。
use-timer: 启用/禁用在线时间计时器。
timer-lives: 计时器触发时奖励的命数。
timer-duration: 奖励命数前的在线时间秒数。
cost-per-life: 单个 KeepInventory 命数的成本(以金钱计)。
cost-per-upgrade: 单个 KeepTotem 升级的成本(以金钱计)。
use-region: 启用 WorldGuard 区域支持。
替代货币选项:
allow-emerald-payment: 允许玩家使用绿宝石支付 (true/false)。
allow-xp-payment: 允许玩家使用经验等级支付 (true/false)。
emerald-value: 1 个绿宝石值多少钱(例如,100 表示 1 个绿宝石 = $100)。
xp-level-value: 1 级经验值值多少钱(例如,50 表示 1 级 = $50)。
messages.yml
使用颜色代码 (&a, &c, &d 等) 和占位符自定义所有面向玩家的消息:
{amount} - 命数数量
{lives} - "life" 或 "lives"
{player} - 玩家名称
{cost} - 格式化后的成本
{balance} - 玩家的余额
{remaining} - 剩余命数
{time} - 格式化后的时间
命令:
- /keepinventory 或 /ki: 打开 GUI 商店。
- /keepinventory lives [player]: 查看你自己的命数或其他玩家的命数。
- /keepinventory buy <amount>: 通过命令购买命数。
- /keepinventory upgrade <amount>: 将命数升级为 KeepTotem。
- /keepinventory set <player> <amount>: 设置某玩家的命数。
- /keepinventory add <player> <amount>: 向某玩家添加命数。
- /keepinventory remove <player> <amount>: 从某玩家移除命数。
- /keepinventory help: 显示帮助信息。
- /keepinventory reload: 重新加载配置和消息文件。
权限:
- keepinventoryshop.set: 设置他人的命数。默认:OP
- keepinventoryshop.add: 向他人添加命数。默认:OP
- keepinventoryshop.remove: 从他人移除命数。默认:OP
- keepinventoryshop.view.others: 查看其他玩家的命数。默认:OP
- keepinventoryshop.reload: 重新加载配置。默认:OP
- keepinventoryshop.limit.<number>: 限制某个权限组的普通命数上限。
- keepinventoryshop.limitupgraded.<number>: 限制某个权限组的已升级命数上限。
占位符:
%keepinventoryshop_lives%
%keepinventoryshop_upgradedlives%
WorldGuard 支持:
创建一个名为 keep_inventory_zone 的区域,在该区域内授予免费的 KeepInventory 保护:
/region define keep_inventory_zone
发现生存与便利之间的完美和谐。下载 KeepInventoryShop 并赋能你的社区, safeguard 他们的物品栏!


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:
- Balance and Authenticity:
Preserve the vanilla experience with keepInventory set to false while eliminating the frustration of lost drops.
- Player Convenience:
Empower players of all skill levels with the ability to purchase or earn KeepInventory lives, ensuring their valuable items are always protected.
- Elevate Your Gameplay:
Add an exhilarating layer of strategic resource management where players protect their inventory and stay in control of their survival.
- KeepTotem Upgrades:
Upgrade normal lives to KeepTotem lives. When you would die, you're saved with full health, potion effects, and a flashy totem animation!
- Multi-Currency Support:
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.
- Play-Time Timer System:
Reward active players with free lives after a configurable amount of play time. Timer pauses on disconnect and resumes when they rejoin.
- Interactive GUI Shop:
Beautiful inventory-based menus for buying lives, upgrading to KeepTotem, and admin management. No commands needed!
- Fully Customizable Messages:
Every player-facing message can be customized via
messages.yml with full color code support and placeholders.
- Smart Totem Detection:
KeepTotem respects real Totems of Undying. If you're holding one, it activates first before consuming KeepTotem lives.
- Gamerule Aware:
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:
- Required: 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 or /ki: Opens the GUI shop.
- /keepinventory lives [player]: View your lives or another player's.
- /keepinventory buy <amount>: Buy lives via command.
- /keepinventory upgrade <amount>: Upgrade lives to KeepTotem.
- /keepinventory set <player> <amount>: Set a player's lives.
- /keepinventory add <player> <amount>: Add lives to a player.
- /keepinventory remove <player> <amount>: Remove lives from a player.
- /keepinventory help: Show help.
- /keepinventory reload: Reload configuration and messages.
Permissions:
- keepinventoryshop.set: Set lives for others. Default: OP
- keepinventoryshop.add: Add lives to others. Default: OP
- keepinventoryshop.remove: Remove lives from others. Default: OP
- keepinventoryshop.view.others: View other players' lives. Default: OP
- keepinventoryshop.reload: Reload configuration. Default: OP
- keepinventoryshop.limit.<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!

评论 0
登录后参与评分
还没有评论,来抢沙发吧