Solved YAML items help

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

KrswtkhrSK

Member
Jan 28, 2017
27
2
1
104
I want to save items with NBT.
I would like to save items thrown into the inventory like a chest.

Please tell me how to record items in YAML, and how to call recorded items to inventory.
thank you!
 
code_language.skript:
set yaml value "nbt" from file "..." to "%nbt of player's tool%"

set {_nbt} to yaml value "nbt" from file "..."
give player diamond sword with nbt "%{_nbt}%"
 
Status
Not open for further replies.