If you don't have Noble rank or above, you need to loop through the player's inventory and save it to a saved list whenever they leave. Then loop through it again and give the items to them when they join.
Alternatively, don't make a skyminer, since we have enough of them.