Costum Nbt Head's in a GUI?

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


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

Not open for further replies.
Just use the item with custom nbt expression of skStuff if it's a non-player skull, but if it's a player skull you can parse the name of that player as an offline player and then get its skull with the skull expression.

For put it on an inventory just use inventory slot or gui slot.
Last edited by a moderator:
@Snow-Pyon can u made a Code?
command /flags:
        wait 1 tick
        open chest with 1 row named "&7» &8● &a&lFlag's &8● &7«" to player
        wait 1 tick
        format slot 0 of player with player head custom nbt "{display:{Name:""Spain""},SkullOwner:{Id:a324e31c-97f9-4c6b-b677-2a8080089d5d,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYWMzZTNlMjZhMjQ3ZjhhNDkzYWIwNTc0ODk3YTQ3ZDVjYjk4ZDM0OWI3ZDM4ZDkxYjlhMjMwM2EyYmY0NzMifX19}]}}}" named " " to run ""


1. You don't have to wait a tick before the opening of the chest unless it's an interact event (the right/left click event for example).
2. I wouldn't use skQuery's format slot such as it has a good amount of annoying bugs but the TuSKe's GUI Manager is like a better version of it, you can try it if you want.
3. You missed a "with" between "player head" and "custom nbt"
4. I would save the nbt in a temp var and then use it so it doesn't make the line way long and it should be easily to parse. Just a suggestion though.
            format slot 0 of player with ("katarina" parsed as offline player)'s skull named "&a&lKatarina" with lore "&ePrice: &c20 piont" to close then run "/hey"

im using this and its works great for me
@loadka95 Yeah but i need this Costum Nbt tag on head:

command /head:
        set {_nbt} to "{SkullOwner:{Id:""91a87f07-e075-4b85-b99a-3b0e8a0e5e32"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDI2MTFhNjlhZjRmZDhhZDVlNmE0ZjYzMWUzMGJlOTk5MzJlMmEyMmU0ZTEwNTA2YmVhNjg0YmU2NDhlNjM0In19fQ==""}]}}}"
        open virtual chest inventory with size 1 named "&8» &1Pocasi &8«" to the sender
        format gui slot 0 of the player with player head with custom nbt "%{_nbt}%"

Here's tested skript with custom head in GUI.
I thing you need TuSke addon (for better gui) and SkStuff for nbt...

Tested with:

on: This server is running CraftBukkit version git-Spigot-283de8b-aa522c9 (MC: 1.11.2) (Implementing API version 1.11.2-R0.1-SNAPSHOT)

Here's pic from GUI:
  • Like
Reactions: mc732
Not open for further replies.