KeepChoice
KeepChoice 是一款现代插件,允许玩家选择是否在死亡后保留物品栏。该插件适用于所有 Minecraft 1.16 及更高版本(包括 1.21+)。
要安装,只需将其粘贴到你的 plugins 文件夹中即可。
注意:此插件独立于 Minecraft 的 KeepInventory 游戏规则运行!
功能
- 支持按世界进行配置
- 允许玩家选择是否保留物品栏
- 支持设置默认状态
- 仅需一条命令即可切换你的状态
对于玩家:
使用一条命令切换你的保留物品栏状态:/keepinventory
插件设置
下一部分将介绍一些常见的设置场景:
默认情况下会发生什么?
如果你不对默认配置进行任何更改,将会发生以下情况:
- 所有玩家在所有的世界中死亡时都会丢失物品栏,无论
KeepInventory 游戏规则如何设置。
- 但是,玩家可以通过
/ki 命令选择保留他们的物品栏。
- 除非你希望出现上述情况,否则建议阅读本文档以了解如何配置此插件以满足你的需求。
在所有世界中启用保留物品栏
要在所有世界中启用保留物品栏(给予玩家选择权),请运行:
/ki setdefaultkion #default yes
如果不希望玩家选择是否保留物品栏,请运行:
/ki setrunson #all no
/gamerule keepInventory true
请注意,这种方法实际上会禁用此插件。
仅在少数世界中运行
例如,假设我有两个世界:pvp 和 survival。我希望玩家在 pvp 世界中始终保留物品栏,但在 survival 世界中提供选择(但默认为不保留)。我们可以执行以下操作:
/ki setrunson #all no(关闭插件)
/gamerule keepInventory true(在 pvp 世界中运行此命令)
/ki setrunson survival yes(允许在 survival 世界中运行)
/ki setdefaultkion survival no(在 survival 世界中将默认值设置为不保留)
如需更多文档,请访问
截图

我保留了物品!

现在我没有保留,因为我运行了 /keepinventory 来切换它

我可以在任何启用了此插件的世界中更改我的状态,无论我是否真的去过那里!

对于管理员:监视用户组的当前状态。
KeepChoice
KeepChoice is a modern plugin that allows the players to choose whether they keep their inventory or not. This plugin works on all Minecraft versions 1.16 and newer (including 1.21+).
To set up, just paste it into your plugins folder.
NOTE: This plugin operates independently from Minecraft's KeepInventory setting!
Features
- Allows per-world configuration
- Let players choose keep-inventory status
- Allows default status configuration
- Toggle your status with just one command
For Players:
Toggle your keepinventory status with one command: /keepinventory
Setting Up This Plugin
This next section will cover some common setup scenarios:
What happens by default?
If you make no changes to the default configuration, this will happen:
- All players will lose their inventory on all worlds, regardless of the KeepInventory Gamerule.
- However, the player can choose to keep their inventory with the /ki command.
- You should probably read this documentation to see how you can configure this plugin to suit your needs, unless you want this to happen.
Keep Inventory on All Worlds
To set keep inventory on all worlds (giving the player a choice), run:
- /ki setdefaultkion #default yes
To not give the player a choice whether they keep their inventory, run:
- /ki setrunson #all no
- /gamerule keepInventory true
Note that this method effectively disables the plugin.
Run on a few worlds only
For example, let's say I have two worlds: pvp and survival. I want the player to always keep inventory on pvp, but have a choice on survival (but default to no). We would run the following:
- /ki setrunson #all no (shut off plugin)
- /gamerule keepInventory true (run this on pvp)
- /ki setrunson survival yes (allow to run on survival)
- /ki setdefaultkion survival no (set default to no on survival.)
For additional documentation, visit
Gallery

I kept my items!

Now I didn't because I ran /keepinventory to toggle it

I can change my status on any world where the plugin is enabled, whether or not I actually go there!

For Admins: Spy on the userbase's status.
评论 0
登录后参与评分
还没有评论,来抢沙发吧