A command that allows for the inventory of a player to be copied, saved, and 'pasted' to another players inventory.
This will allow map makers to remove the player's inventory when needed and allow them to require their previously held items. An example of this is if the player is in an adventure map and must fight in an arena like setting with preset equipment then their inventory can be saved and the preset equipped - vice versa. Each preset could be given a name to determine one preset from another and could be given parameters like any other command - ie score or tag.
Example Commands
/saveinventory {affected_player} {preset_name} - to save the inventory of the affected player
/equipinventory {affected_player} {preset_name} - to equip the preset inventory to the affected player
/removeinventory {preset_name} - to remove a preexisting preset inventory
/replaceinventory {affacted_player} {preset_name} - to replace the preset inventory with the affected players inventory
/editinventory {preset_name} - to open a GUI of the inventory and move items around / edit inventory preset
This is just what I could come up with and it would be interesting to see how others in the community may use this / modify this to work better for map makers.
Please sign in to leave a comment.
1 Comments