> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.ggservers.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Keep Inventory on Death on Your Server

![](https://storage.crisp.chat/users/helpdesk/website/19701440a8e5d800/18fc12f8-4d67-427e-8499-794899_1yfulqo.png)

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](https://help.ggservers.com/en-us/article/vanilla-commands-11xx8gv/#6-span-classcsh-markdown-csh-markdown-code-csh-markdown-code-inline-csh-font-code-regulargamerule-60rulename62-91true-124-false93span) 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:

1. Log in to your Multicraft panel [here](https://mc.ggservers.com/site/login).  
---

2. Click on `Console`.

![](https://storage.crisp.chat/users/helpdesk/website/3eb95945f8921600/8bb10a7f-2a78-4e5d-8d41-88ffdd_1kz4q7h.jpeg)

---

3. Type the following command in the console and press the `Enter` key after:

`gamerule keepInventory true`

![](https://storage.crisp.chat/users/helpdesk/website/fd3c53505df0a800/052ecac0-ebc6-4e24-a73f-d0fc96_cu651h.jpeg)

|| 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](https://help.ggservers.com/en-us/article/how-to-set-up-and-use-luckperms-9eqlef/) is our guide for setting up and using LuckPerms and [here](https://help.ggservers.com/en-us/article/how-to-set-up-and-use-essentialsx-li3327/) the one explaining the EssentialsX plugin.

||| [Here](https://help.ggservers.com/en-us/article/how-to-install-plugins-on-your-server-1yxw90a/) 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](https://help.ggservers.com/en-us/article/what-is-a-permission-node-and-how-to-use-it-v596ts/) 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](https://help.ggservers.com/en-us/article/how-to-open-a-support-ticket-qjzuyd/).  
---

# ❕ Useful Links ❕

- [Recommended Minecraft Plugins](https://help.ggservers.com/en-us/article/recommended-minecraft-plugins-f0k0g9/)  
- [Vanilla Commands](https://help.ggservers.com/en-us/article/vanilla-commands-11xx8gv/)  
- [How to Disable Mob Griefing, TNT Explosions, and Fire Spread](https://help.ggservers.com/en-us/article/how-to-disable-mob-griefing-tnt-explosions-and-fire-spread-ntelrg/)