This guide will show you how to enable the keep inventory on the death option on your server. To do so, we will use a gamerule.
Here is our guide explaining gamerules and what they are.
This will mean that players will not lose their items when they die. Instead, they will be respawned with them.
👜 Enabling the KeepInventory Gamerule 👜
To keep inventory on death on your server you need to:
Log in to your Multicraft panel here.
Click on Console.
Type the following command in the console and press the Enter key after:
gamerule keepInventory true
NOTE: You can also use the command in-game if you are OP. Just add / in front of the command.
/gamerule keepInventory true
You have successfully enabled the keep inventory on the death option on your server.
🤖 Enable KeepInventory for Certain Players 🤖
If you want to enable the KeepInventory for certain players you can do so using certain plugins on your server.
You have to be sure that your server is running on Spigot, Paper, or CraftBukkit! Remember that Vanilla can't run plugins.
If you add the LuckPerms and EssentialsX plugins on your server you will be able to give the KeepInventory only to some people on your server.
Here is our guide for setting up and using LuckPerms and here the one explaining the EssentialsX plugin.
Here is our guide for installing plugins on your server.
The EssentialsX plugin is providing the essentials.keepinv permission node which you can add as permission for a player or group in LuckPerms. This permission node will enable the KeepInventory only for the player/ group it was added to.
Here is our guide explaining what a permission node is.
So you can use one of the following commands:
/lp group <group> permission set essentials.keepinv - to add the KeepInventory permission to an existing group
/lp user <user> permission set essentials.keepinv - to add the KeepInventory permission for one player
This way you can enable the KeepInventory only for a specific player or group of players.
If you find any issue enabling the keep inventory on death option on your server please contact us on live chat or via the ticket system.
- Recommended Minecraft Plugins
- Vanilla Commands
- How to Disable Mob Griefing, TNT Explosions, and Fire Spread
Updated on: 08 / 18 / 2022