Giving item with NBT

  • 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.

DownLoude

Member
May 7, 2020
1
0
0
24
How do i give items with nbt, I have tried this:

give player head with nbt "{SkullOwner:{Id:"f294da6c-1ad0-453f-bb77-8c5ad4a9639d",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTQ1ZjQ3ZmViNGQ3NWNiMzMzOTE0YmZkYjk5OWE0ODljOWQwZTMyMGQ1NDhmMzEwNDE5YWQ3MzhkMWUyNGI5In19fQ=="}]}}}" to player

This gives the error that it is not an item, xp or inventory. Although it is an item. I tried putting backslashes behind all of the quotation marks. I am pretty sure this is possible with skBee otherwise i do not understand the addon's reason.
 
if there are any quotes inside quotes like: "hello type this: "/command" it gives u good stuff" it will send an error, you must double quote whats inside like "hello type this: ""/command"" it gives u good stuff"
 
Status
Not open for further replies.