1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Giving item with NBT

Discussion in 'Skript' started by DownLoude, May 10, 2020.

Tags:
Thread Status:
Not open for further replies.
  1. DownLoude

    DownLoude Member

    Joined:
    May 7, 2020
    Messages:
    1
    Likes Received:
    0
    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.
     
  2. IDuckz_

    IDuckz_ Active Member

    Joined:
    Jul 25, 2019
    Messages:
    106
    Likes Received:
    2
    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"
     
    • Agree Agree x 1
Thread Status:
Not open for further replies.

Share This Page

Loading...