NBT not working

  • 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 community!

    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.

MCProHost

Active Member
Sep 17, 2017
80
0
0
Code:
code_language.skript:
 format gui slot 0 of player with skull with nbt "{SkullOwner:{Id:"51a4fbee-7979-4238-9639-afa845ae66a8",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNmFkY2Y5NjEwNjYxM2EzM2QzZDJhNDY0YWRiMWIxYTVjNWUwY2IxMWRjZTcyOTI2YjU5OTk0M2UzNjNkZiJ9fX0="}]}}}"
error:
[19:50:02 ERROR]: ':{Id:"51a4fbee-7979-4238-9639-afa845ae66a8",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNmFkY2Y5NjEwNjYxM2EzM2QzZDJhNDY0YWRiMWIxYTVjNWUwY2IxMWRjZTcyOTI2YjU5OTk0M2UzNjNkZiJ9fX0="}]}}}"' is not a valid item data (pickaxe levels.sk, line 7: format gui slot 0 of player with skull with nbt "{SkullOwner:{Id:"51a4fbee-7979-4238-9639-afa845ae66a8",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNmFkY2Y5NjEwNjYxM2EzM2QzZDJhNDY0YWRiMWIxYTVjNWUwY2IxMWRjZTcyOTI2YjU5OTk0M2UzNjNkZiJ9fX0="}]}}}"')
 
[21:51:32 ERROR]: ':{Id:""51a4fbee-7979-4238-9639-afa845ae66a8"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNmFkY2Y5NjEwNjYxM2EzM2QzZDJhNDY0YWRiMWIxYTVjNWUwY2IxMWRjZTcyOTI2YjU5OTk0M2UzNjNkZiJ9fX0=""}]}}}"' is not a valid item data (pickaxe levels.sk, line 8: format gui slot 0 of player with skull with nbt "{SkullOwner:{Id:""51a4fbee-7979-4238-9639-afa845ae66a8"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNmFkY2Y5NjEwNjYxM2EzM2QzZDJhNDY0YWRiMWIxYTVjNWUwY2IxMWRjZTcyOTI2YjU5OTk0M2UzNjNkZiJ9fX0=""}]}}}"')

Error after exscaping the quotations^^^^^^^^^^
Code:
code_language.skript:
    format gui slot 0 of player with skull with nbt "{SkullOwner:{Id:""51a4fbee-7979-4238-9639-afa845ae66a8"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNmFkY2Y5NjEwNjYxM2EzM2QzZDJhNDY0YWRiMWIxYTVjNWUwY2IxMWRjZTcyOTI2YjU5OTk0M2UzNjNkZiJ9fX0=""}]}}}"
 
Your server vesion ?
Try this:
code_language.skript:
make a gui slot 0 of player with player's skull with nbt "{display:{Name:""&2???""},SkullOwner:gameacid13}" to do nothing
 
^ Yeah, but that would mean I have to look for players with each letter of the alphabet as their head... I need to use this custom head thing... Let me try hackers OTVW's idea and ill get back to you
---------------------------------------------------
Tried his code, no errors but it didnt work...
I tried some other peoples code and its giving me the same error, I've never had this problem before.
I also have gotten this to work before (keep in mind the username means nothing because the nbt changes it.
code_language.skript:
give player skull of "MHF_Chest" parsed as offline player with nbt "{SkullOwner:{Id:f7d90747-ceb2-7e7c-7a25-bcb2e2165d5d,Properties:{textures:[{Value:eyJ0aW1lc3RhbXAiOjE0MzQ5NDk0MzgyMzQsInByb2ZpbGVJZCI6IjUwNzk4YjJhN2QxYjQxYTRiNmFlYzRiNWUwOWJjMTcxIiwicHJvZmlsZU5hbWUiOiJFbHN3ZXlyIiwidGV4dHVyZXMiOnsiU0tJTiI6eyJ1cmwiOiJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlLzgzNTFlNTA1OTg5ODM4ZTI3Mjg3ZTdhZmJjN2Y5N2U3OTZjYWI1ZjM1OThhNzYxNjBjMTMxYzk0MGQwYzUifX19 }]}}}" with name "&8Backpack:&7 (9 Slots)" with lore "||&8ID: &7%{curnum}%"
 
Status
Not open for further replies.