Custom Player Heads In 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!

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

ItsMCB

Member
May 20, 2018
46
1
8
23
www.vexel.media
Is it possible to put a custom head into a chest GUI? I have been searching the forums but have't found what I an looking for. Here is the give code for the custom head.

code_language.skript:
/give @p skull 1 3 {display:{Name:"Money Bag"},SkullOwner:{Id:"7a0345b9-b55f-462c-8fb5-0690193ec00d",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDA0NzE5YjNiOTdkMTk1YTIwNTcxOGI2ZWUyMWY1Yzk1Y2FmYTE2N2U3YWJjYTg4YTIxMDNkNTJiMzdkNzIyIn19fQ=="}]}}}

Thanks for the help everyone :emoji_grinning:
 
Is it possible to put a custom head into a chest GUI? I have been searching the forums but have't found what I an looking for. Here is the give code for the custom head.

code_language.skript:
/give @p skull 1 3 {display:{Name:"Money Bag"},SkullOwner:{Id:"7a0345b9-b55f-462c-8fb5-0690193ec00d",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDA0NzE5YjNiOTdkMTk1YTIwNTcxOGI2ZWUyMWY1Yzk1Y2FmYTE2N2U3YWJjYTg4YTIxMDNkNTJiMzdkNzIyIn19fQ=="}]}}}

Thanks for the help everyone :emoji_grinning:
You can do this with skstuff I think (nbt)
 
Is it possible to put a custom head into a chest GUI? I have been searching the forums but have't found what I an looking for. Here is the give code for the custom head.

code_language.skript:
/give @p skull 1 3 {display:{Name:"Money Bag"},SkullOwner:{Id:"7a0345b9-b55f-462c-8fb5-0690193ec00d",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDA0NzE5YjNiOTdkMTk1YTIwNTcxOGI2ZWUyMWY1Yzk1Y2FmYTE2N2U3YWJjYTg4YTIxMDNkNTJiMzdkNzIyIn19fQ=="}]}}}

Thanks for the help everyone :emoji_grinning:
There is an expression for that...
code_language.skript:
format gui slot 13 of player with skull of "Notch" parsed as player to do nothing
 
Is it possible to put a custom head into a chest GUI? I have been searching the forums but have't found what I an looking for. Here is the give code for the custom head.

code_language.skript:
/give @p skull 1 3 {display:{Name:"Money Bag"},SkullOwner:{Id:"7a0345b9-b55f-462c-8fb5-0690193ec00d",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDA0NzE5YjNiOTdkMTk1YTIwNTcxOGI2ZWUyMWY1Yzk1Y2FmYTE2N2U3YWJjYTg4YTIxMDNkNTJiMzdkNzIyIn19fQ=="}]}}}

Thanks for the help everyone :emoji_grinning:
code_language.skript:
command /head:
    trigger:
        set {_nbt} to "{SkullOwner:{Id:""91a87f07-e075-4b85-b99a-3b0e8a0e5e32"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDI2MTFhNjlhZjRmZDhhZDVlNmE0ZjYzMWUzMGJlOTk5MzJlMmEyMmU0ZTEwNTA2YmVhNjg0YmU2NDhlNjM0In19fQ==""}]}}}"
        open virtual chest inventory with size 1 named "&8» &1TEST &8«" to the sender
        format gui slot 0 of the player with player head with custom nbt "%{_nbt}%"
 
Last edited:
code_language.skript:
command /head:
    trigger:
        set {_nbt} to "{SkullOwner:{Id:""91a87f07-e075-4b85-b99a-3b0e8a0e5e32"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDI2MTFhNjlhZjRmZDhhZDVlNmE0ZjYzMWUzMGJlOTk5MzJlMmEyMmU0ZTEwNTA2YmVhNjg0YmU2NDhlNjM0In19fQ==""}]}}}"
        open virtual chest inventory with size 1 named "&8» &1TEST &8«" to the sender
        format gui slot 0 of the player with player head with custom nbt "%{_nbt}%
What are the dependencies? I have Skript, SkStuff, Umbaska, Skellett, TuSKe, etc on my server so it should be working, right? (Sorry I'm "new" to Skripting, so I might have some dumb questions xD)
upload_2018-5-28_10-56-20.png
 
You forgot a "
code_language.skript:
format gui slot 0 of player with player's skull with custom nbt "%{_nbt}%"
 
You forgot a "
code_language.skript:
format gui slot 0 of player with player's skull with custom nbt "%{_nbt}%"
It still doesn't want to work..?
code_language.skript:
command /head:
    trigger:
        set {_nbt} to "{SkullOwner:{Id:""91a87f07-e075-4b85-b99a-3b0e8a0e5e32"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDI2MTFhNjlhZjRmZDhhZDVlNmE0ZjYzMWUzMGJlOTk5MzJlMmEyMmU0ZTEwNTA2YmVhNjg0YmU2NDhlNjM0In19fQ==""}]}}}"
        open virtual chest inventory with size 1 named "&8» &1TEST &8«" to the sender
        format gui slot 0 of player with player's skull with custom nbt "%{_nbt}%"
upload_2018-5-28_11-6-0.png
 
code_language.skript:
command /menu:
    trigger:       
        open virtual chest inventory with size 6 named "" to player
        wait 2 ticks
        make gui slot 0 of player with player head with custom nbt "{SkullOwner:{Id:""91a87f07-e075-4b85-b99a-3b0e8a0e5e32"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDI2MTFhNjlhZjRmZDhhZDVlNmE0ZjYzMWUzMGJlOTk5MzJlMmEyMmU0ZTEwNTA2YmVhNjg0YmU2NDhlNjM0In19fQ==""}]}}}" named "&8 " with lore "" to do nothing
 
code_language.skript:
command /menu:
    trigger:      
        open virtual chest inventory with size 6 named "" to player
        wait 2 ticks
        make gui slot 0 of player with player head with custom nbt "{SkullOwner:{Id:""91a87f07-e075-4b85-b99a-3b0e8a0e5e32"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDI2MTFhNjlhZjRmZDhhZDVlNmE0ZjYzMWUzMGJlOTk5MzJlMmEyMmU0ZTEwNTA2YmVhNjg0YmU2NDhlNjM0In19fQ==""}]}}}" named "&8 " with lore "" to do nothing
What are the dependencies? It still rejects me like my ex wife.... (jk xD)
upload_2018-5-29_16-0-10.png
 
skstuff and tuske, and skript dev27 for 1.8.8 or last version of skript for higher versions.
 
Last edited:
Status
Not open for further replies.