How would I be able to get the contents of a players inventory and save it to a config, and then add the items into a chest inventory when a command has been executed, as well as remove the item from the config once the item has been taken out of the inventory.