{"id":12939,"date":"2021-10-20T13:19:41","date_gmt":"2021-10-20T13:19:41","guid":{"rendered":"https:\/\/test2.gginternal.net\/knowledgebase\/article\/how-to-keep-inventory-on-death-on-your-server\/"},"modified":"2024-10-18T14:16:21","modified_gmt":"2024-10-18T14:16:21","slug":"how-to-keep-inventory-on-death-on-your-server","status":"publish","type":"ht_kb","link":"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-keep-inventory-on-death-on-your-server\/","title":{"rendered":"How to Keep Inventory on Death on Your Server"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/banner10_1mgbruh.png\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"[All Players] How to Keep Inventory on Death on Your Server for All Players\" width=\"643\" height=\"362\" src=\"https:\/\/www.youtube.com\/embed\/hUmFkAaWtTQ?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>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.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\"><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/vanilla-commands\/#6-span-classcsh-markdown-csh-markdown-code-csh-markdown-code-inline-csh-font-code-regulargamerule-60rulename62-91true-124-false93span\">Here<\/a> is our guide explaining gamerules and what they are.<\/p>\n\n\n\n<p>This will mean that players will not lose their items when they die. Instead, they will be respawned with them.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">  Enabling the KeepInventory Gamerule  <\/h1>\n\n\n\n<p>To keep inventory on death on your server you need to:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to your Multicraft panel <a href=\"https:\/\/mc.ggservers.com\/site\/login\">here<\/a>.<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>Click on <code>Console<\/code>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/1_tuel4n.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>Type the following command in the console and press the <code>Enter<\/code> key after:<\/li>\n<\/ol>\n\n\n\n<p><code>gamerule keepInventory true<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2024\/03\/2_13to3j9.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">NOTE: You can also use the command in-game if you are OP. Just add <code>\/<\/code> in front of the command.<\/p>\n\n\n\n<p><code>\/gamerule keepInventory true<\/code><\/p>\n\n\n\n<p>You have successfully enabled the keep inventory on the death option on your server.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">  Enable KeepInventory for Certain Players  <\/h1>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"[Specific Player] How to Keep Inventory on Death on Your Server for a Specific Player\" width=\"643\" height=\"482\" src=\"https:\/\/www.youtube.com\/embed\/IXCfKsTjN5s?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>If you want to enable the KeepInventory for certain players you can do so using certain plugins on your server.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">You have to be sure that your server is running on Spigot, Paper, or CraftBukkit! Remember that Vanilla can&#8217;t run plugins.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>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.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\"><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-set-up-and-use-luckperms\/\">Here<\/a> is our guide for setting up and using LuckPerms and <a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-set-up-and-use-essentialsx\/\">here<\/a> the one explaining the EssentialsX plugin.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\"><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-install-plugins-on-your-server\/\">Here<\/a> is our guide for installing plugins on your server.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>The EssentialsX plugin is providing the <code>essentials.keepinv<\/code> 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.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\"><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/what-is-a-permission-node-and-how-to-use-it\/\">Here<\/a> is our guide explaining what a permission node is.<\/p>\n\n\n\n<p>So you can use one of the following commands:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><br><p><code>\/lp group &lt;group&gt; permission set essentials.keepinv<\/code> &#8211; to add the KeepInventory permission to an existing group<\/p><br><\/li>\n\n\n\n<li><br><p><code>\/lp user &lt;user&gt; permission set essentials.keepinv<\/code> &#8211; to add the KeepInventory permission for one player<\/p><br><\/li>\n<\/ul>\n\n\n\n<p>This way you can enable the KeepInventory only for a specific player or group of players.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-success\">If you find any issue enabling the keep inventory on death option on your server please contact us on live chat or via the <a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-open-a-support-ticket\/\">ticket system<\/a>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\u2755 Useful Links \u2755<\/h1>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/recommended-minecraft-plugins\/\">Recommended Minecraft Plugins<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/vanilla-commands\/\">Vanilla Commands<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-disable-mob-griefing-tnt-explosions-and-fire-spread\/\">How to Disable Mob Griefing, TNT Explosions, and Fire Spread<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>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. This will mean that players will not lose their items when they die. Instead, they will be respawned with them. Enabling the KeepInventory Gamerule&#8230;<\/p>\n","protected":false},"author":3,"comment_status":"open","ping_status":"open","template":"","format":"standard","meta":{"_acf_changed":false,"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","footnotes":""},"ht-kb-category":[27],"ht-kb-tag":[],"class_list":["post-12939","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-minecraft"],"acf":[],"_links":{"self":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/12939","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=12939"}],"version-history":[{"count":1,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/12939\/revisions"}],"predecessor-version":[{"id":14403,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/12939\/revisions\/14403"}],"wp:attachment":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=12939"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb-category?post=12939"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb-tag?post=12939"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}