Requires the library mod Collective.
This mod is part of The Vanilla Experience modpack and Serilum's Customization Bundle mod.
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):
Show Spoiler
Save the current inventory as 'food' with the shortened alias command (/si food):
And loading it with the shortened command (/li food):
Show Spoiler
Here's an example of setting the inventory of another player:
------------------
You may freely use this mod in any modpack, as long as the download remains hosted within the Modrinth ecosystem.
Serilum.com contains an overview and more information on all mods available.
Comments are disabled as I'm unable to keep track of all the separate pages on each mod.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+