Save and Load Inventories

Save and Load Inventories

Mod

💾 Save and load player inventories or kits to self and others by using commands.

Server ManagementUtility

8,250 downloads
23 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

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!



Project members

Serilum

Owner

Details

Licensed ARR
Created 2 years ago
Updated a month ago