Earlier Versions
| Name | Size | Uploaded | Game Version | Downloads | |
| saveandloadinventories-fabric_1.18.x-1.6.jar release | 15.48 KB | Nov 30, 2021 | 1.18.1 | 90 | Download |
| saveandloadinventories-fabric_1.17.x-1.6.jar release | 15.81 KB | Sep 18, 2021 | 1.17.1 | 82 | Download |
| saveandloadinventories-fabric_1.16.x-1.6.jar release | 15.60 KB | Sep 18, 2021 | 1.16.5 | 19 | Download |
Description





Requires the library mod Collective (Fabric) and the Fabric API.
Save and Load Inventories adds commands which allow the user to easily save their current inventory to a file, load an inventory from a file and list the current saved inventories. Useful for administrators or event servers. NBT tags are supported, any things like written books or enchantments won't be a problem. Players need cheat access to use the commands.
The inventories are saved in ./config/saveandloadinventories/*.txt.
Commands:
/saveinventory <inventory_name> – Saves the current inventory of the user as <inventory_name>.
alias: /si <inventory_name>
/loadinventory <inventory_name> – Loads an inventory named <inventory_name> previously saved.
alias: /li <inventory_name>
/loadinventory <inventory_name> <player_name> – Loads an inventory to the target player named <player_name>
alias: /li <inventory_name> <player_name>
/listinventories – Lists all saved inventories.
Examples:
Save the current inventory with the name 'diamond' (/saveinventory diamond):
And when loading it (/loadinventory diamond):

Save the current inventory as 'food' with the shortened alias command (/si food):
And loading it with the shortened command (/li food):

Here's an example of setting the inventory of another player:









Get 0.05 TON 💎
Download
Add a comment