How to write commands so things don't fall out. The correct minecraft command to save things

Minecraft is a game that offers you almost limitless possibilities. However, there are also commands that you can use to further expand the functionality, add some aspects not available in the original version, and so on. Commands are entered into the console. Moreover, there are standard combinations that work in any conditions, as well as special ones that can be activated only if, when creating a world, you checked the “Enable cheats” checkbox. The most interesting and powerful teams fall into the second category. Among them there is also the preservation of things. What is it and how to use it? This is exactly what will be discussed further.

What does the team provide?

First, it’s worth figuring out what the Minecraft command can give you to save things, since from its name it’s not entirely clear what exactly it can offer you. It’s worth starting from the very beginning - when you travel through the game world, there is a chance that you will die, because various natural traps, as well as frightening monsters, await you everywhere. After death, you will be reborn at the spawn point, but your inventory will be empty - all items will be lost. Naturally, no one likes this, and it is precisely to eliminate such situations that the Minecraft team exists to preserve things. After activating it, you can die in peace - all your things will be with you when you reappear at the respawn point. But what does this team look like? Unlike many simple combinations, this one is quite complex, so it needs to be taken apart in parts.

Gamerule

So, as you already understand, the Minecraft command to save things is entered in the same way as all the others - through the game console. Having opened it, you need to type the “/” icon - this is where any command begins. This is what distinguishes them from regular text messages. After which you will need to enter the gamerule command - this is only the first part. So don't activate it right away. Because it won't lead to anything. Using this command, you can set various game rules that relate to your world and gameplay. You just need to know the various codes that need to be entered after this command in order to achieve a particular effect. On this moment you only need to know what items are available for preservation.

KeepInventory

Everything is clear with the first part of the team - it’s time to move on to the second. If the first one makes the system understand that some rule of the game world will now be changed, then the second one specifies this change. for things there are a wide variety, but you need to choose one specific one - keepInventory. Connoisseurs in English Just by the name they can understand what it means. This command will allow you to save items in your inventory after you die. But what else remains to be entered in this case to complete the command?

True and False

The last part of the command sets the state of the rule that was specified in the previous part. If you write true, then the rule will be applied in your game world, and if you change this value to false, then it will not be applied. Thus, if you want your inventory items to remain with you after death, you need to open the console and enter the command gamerule keepInventory true. From now on in your world, the character will keep all of their items after death until you decide to change the value from true to false. Now you know effective way How to save things and play will become much easier and more fun for you. And this will give you the impetus to further study both the commands and the game rules that you can apply with them.

When a player dies in Minecraft, he loses absolutely everything he previously had in his inventory. This is of course realistic and atmospheric, but there are situations when this is undesirable or simply boring. Then it’s worth finding ways to keep things with you after death. Of course, the banal “put things in the chest and into the raid” are not suitable; the search for a solution leads to a crossroads, with three paths.

Console commands

To enter a command, you need to open your world to the network and enable the cheat codes function. To do this, press “Esc”, then “Open for the network” and select “Use cheat codes”. Commands are entered into the chat.

Enter (without quotes) “/gamerule keepInventory true”. It is disabled by the reverse command “/gamerule keepInventory false”.

The advantage of this option is that it does not overload the game with unnecessary files. For any game, a clutter of scripts and modifications is not desirable, but Minecraft runs on Java, and here this is especially critical. The disadvantage of this method is that if you are a server administrator, then the command gives all players this function, and if not you, then you cannot use the command at all at will.

Third party modifications

Modifications. Of course, what kind of long time Since the game's existence, a ton of mods have been released that provide this opportunity. If such a modification is on the server, then you do not have to be an administrator to use the function of saving things. Works in single player.

Not Enough Items– allows you to save inventory by clicking the “Save” button, and if necessary, you can load “Load”. But the modification is multi-task, except for “Save\Load” it simply gives all the blocks in the game and so on. In general, this is a cheat. You won’t find this on good servers and with honest players, so it’s a bad option. Among other things, it clutters the game, which, as we found out, has a bad effect on the performance and stability of the game.

Death Chest - unlike the previous modification, it works on a more honest principle. After your death, in the place where you died, a chest is created in which all your belongings are placed. But, unfortunately, it has one significant drawback: if death overtakes you in lava or water, then nothing will come of it. The chest will not appear on the water; it will burn in the lava. Often used on servers.

BaM’s Grave Mod is an analogue of the previous one, but much more atmospheric. At the place where your character died, a grave appears with the time of death and your nickname, there is an option to add an epitaph, but only for servers network game. Also, don't die in lava or water.

Plugins

Unlike modifications, they work passively. There is no need to interact with them; they serve in the background.

Scavenger – after installation it starts working. Now, after the death of a character, all things remain with him. A clear advantage is that it is neither a cheat nor a mod, it can be easily installed on a server and does not cause conflicts. If used in multiplayer, then the administrator can set it so that things do not drop only from him. The downside is that updates for new versions of the game come out quite slowly and still do not leave their mark on the game itself. A large number of plugins can result in frequent crashes, the inability to launch the game, and frame drops.

A good choice for RPG roleplaying would be the WorldGuard Keep Inventory Flags plugin. It gives the player the opportunity not to lose his things, but only within his territory. Requires another World Guard base plugin to work. The territory that you have marked as your home deprives you of such a nuisance as losing loot.

The downside is the fact that it only works for network servers. It’s impossible to do this in single-user mode, and you can’t cover the entire territory with a “house”. The obvious advantage here will be the huge RPG idea of ​​kingdoms. That is, the whole world or part of it is divided into kingdoms that have their own inhabitants, workers and similar people, and while this person is in his region, he is, as it were, under the protection of the state. Of all the options presented in this article, this one is the most honest and works to deepen the game mechanics, rather than destroy them.

Bottom line

The conclusion is simple: in single player mode, the only option for saving loot is modifications or the console. Everything else is aimed at the multiplayer component and is administrator-dependent things. There are plugins in the world that can work on single worlds without problems, but such “monsters” as “WorldGuard Keep Inventory Flags” are networked.

Installing modifications can greatly affect the stability of the game, and is it worth the risk of losing all saved data and not things? If you are planning to keep things after your death, either use the console, or start a separate server and install plugins there, so you are guaranteed not to harm your preservation.

As any player knows, the universe is filled with numerous types of different monsters, otherwise called mobs, and if you stumble upon them, even in the later stages of the game you can be killed. Therefore, sometimes the command in Minecraft to prevent things from falling out upon death is very useful. Moreover, there are other ways to die: a banal fall into lava can lead to inevitable death. The hero can be crushed by blocks while working in the mine or fall from a great height...



These cases are not so rare, and there is no way to insure against them. You can only rely on your luck and attentiveness. Among advanced gamers, the command for protecting things from falling out upon death has long been popular. They need it as much as possible, because they don’t want to lose diamonds obtained through a difficult and long process due to stupid bad luck.


Let's look at how to use this command and other useful things to cover. Let's start with the concept of a "spawn point" - in other words, the place where you appear at the beginning of the game or after death. It has specific coordinates and can be specified as a separate command.

It often happens that by default, at the beginning of the game, a character appears in a place that is not very suitable or even dangerous for life, populated by various mobs that can kill the player immediately after his appearance. You can even be surrounded by lava, which will be difficult to get around. This is precisely why the inventory preservation command is needed - no one, under any circumstances, will knock your “treasures” out of you, no matter how many times you die.



If you are convinced of the usefulness of this command, you should start entering it. This is done quite simply, especially if you have already entered any codes into Minecraft game. When logging into any card or server, you must enable input mode and specify the following command:


gamerule keepInventory true


Please note that it must be preceded by a "/" character. If everything was done correctly, the next time you die, all the items in your inventory will remain in their places!


We hope the information in the article was useful to you! If you wish, you can rate the article or leave a comment. Thank you for your attention!

Video

We are waiting for your comments, feel free to write!

IN modern world almost every person who is interested in computer games, I heard about Minecraft. This is an incredibly popular sandbox in which you are invited to survive in a huge interactive world where you need to get materials and food for food, build houses, create your own tools and weapons, and also do a huge number of other exciting operations. And, of course, you need to fight opponents who only dream of destroying you. What does this threaten? And what can you do after your character dies? This is exactly what this article will discuss. The main theme is the command to keep things from falling out after death.

What happens after death?

In this article you will learn that there is a command to prevent things from falling out after death. Therefore, it is worth taking a closer look at what happens if your character fails to defeat the enemy and dies. Luckily, you don't have to start the entire game over from the beginning. Your character is reborn at a checkpoint. If you are experienced player, then you should already know that you can always set a control point yourself so as not to respawn at the default point. However, in this article we're talking about not about this, but about what happens to your things.

So, when your character dies, all your items fall out and remain at the place where the hero died. Naturally, this is very unpleasant, because many gamers are very for a long time They collect certain items and do not want to lose them at all. Luckily, there is a command to make sure things don't drop when you die. This is exactly what will be discussed in this article.

Helpful command

What does the team look like so that things don’t fall out after death? This is a fairly simple combination that will allow you to immediately solve this annoying problem. Naturally, firstly, you need to make sure that you have cheat mode enabled. This can be done in the main menu. Unfortunately, you cannot activate this mode at any time; you only need to do this at the time of creating a new world.

So, if you have cheat mode enabled, then in the console you need to enter the command /gamerule keepInventory, for which you need to set the status to true. Immediately after this, you can calmly fight with all opponents, because your inventory, even after death, will still remain with you. If you want to increase the difficulty level, you can always replace the true status with false, and then things will start falling out again after death.

Game on the server

Now you know that there is a command to prevent things from falling out in Minecraft. However, it will only work in single player. In a multiplayer game, this command will be considered a cheat, and you can get banned from the server very quickly. Unfortunately, the server does not have a full-fledged analogue of such a command, but there is a workaround. The fact is that on some servers gamers can use the /back command to teleport to last place where you were. This command will help you find yourself in the same place where you just died. But remember that enemies may still end up there, so be prepared for potential problems that may arise after using this command.

Surely each of us died in Minecraft with a bunch of resources in our inventory. And if sometimes we can return things, then other times this will not work. The sailor is with you and today I will tell you about the team, so that things don't fall out after death.


Solution

First you need to make a bed and preferably build a house, since after death the player will teleport either to the place where he slept, or to a random place (if you have not slept on this map yet). After you do it, we go to bed and sleep.

Let's move on to the lines themselves that will help us solve the problem. I’ll say right away that if you play on online servers, then this command will not work on all servers. Mostly this function on servers it costs real money.

Therefore, you need to take into account that the function will only work on the local server. So. By specifying the command: “gamerule keeplnventory true”.

Now you can safely walk at night and fall into lava. Don't be afraid of losing your things!

I forgot to say. You need to enter this command in command block, which can only be obtained by a command. I have already written about it in other articles. This way you can turn this feature on and off by pressing the lever. You can also enter it into the chat.


Did you like the article? Share with your friends!