Some questions about replicated inventory system

With the widget you would have to make it what ever the player picks up gets put into a array and then spawns it all in a separate object on death (Death Crate) or like some games just all the items go on the ground like spawn on location