#Is it possible to save someones inventory?

1 messages · Page 1 of 1 (latest)

lament schooner
#

s

brittle topaz
#

i believe its called playerdata

#

lmao

tight oxide
#

yes

vagrant rock
#

yes...

modest ledge
#

you could loop the slots of a players inventory and add it to a list maybe

vagrant rock
modest ledge
#

eh

tough latch
#

can't you just save player's inventory to a variable, mongodb or yaml?

#

like

    set {inventory::%uuid of player%} to player's inventory```

```on join:
    set player's inventory to {inventory::%uuid of player%}```

Or if that doesn't work just loop the variable and give them the individual items or something
vagrant rock
tough latch
#

really?

#

that's cringe

vagrant rock
#

Its da pyromancer

tawdry steppe
# lament schooner s

not possible to actually save the inventory itself however you can save each slot individually to a list with the slot number indices

vagrant rock
#

Items of x

hasty nova
#

set {_l::*} to x's inventory