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.

Using custom heads in gui

Discussion in 'Skript' started by GamingGeek, Feb 14, 2018.

Thread Status:
Not open for further replies.
  1. GamingGeek

    Supporter

    Joined:
    Aug 1, 2017
    Messages:
    46
    Likes Received:
    0
  2. MartinOdum

    MartinOdum Member

    Joined:
    Jan 26, 2017
    Messages:
    112
    Likes Received:
    13
    You can do this with Skstuff, to use any other head you just need to replace the Id and Texture Value in the code

    Code (Skript):
    1. set slot 0 of player's current inventory to player head with custom nbt "{display:{Name:""Twitter""},SkullOwner:{Id:""11fce6c7-71ad-464e-98e7-c8e579de4758"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzY4NWEwYmU3NDNlOTA2N2RlOTVjZDhjNmQxYmEyMWFiMjFkMzczNzFiM2Q1OTcyMTFiYjc1ZTQzMjc5In19fQ==""}]}}}" named "&3Twitter!"
     
  3. GamingGeek

    Supporter

    Joined:
    Aug 1, 2017
    Messages:
    46
    Likes Received:
    0
    I'm trying to use this head (https://minecraft-heads.com/custom/heads/miscellaneous/3943-instagram) but I get this error,
    Code (Skript):
    1. [19:59:00 ERROR]: ':{Name:"Instagram"},SkullOwner:{Id:"acaae4ea-b8ee-45b6-b993-94d56a8e8a82",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYWM4OGQ2MTYzZmFiZTdjNWU2MjQ1MGViMzdhMDc0ZTJlMmM4ODYxMWM5OTg1MzZkYmQ4NDI5ZmFhMDgxOTQ1MyJ9fX0="}]}}}" named "&3Your Instagram" with lore "&7Current:||&3%{instaurl.%{_p}%}%||||&eLeft click to change||&cRight click to remove"' is not a valid item data (socialmenu.sk, line 184: set slot 29 of player's current inventory to player head with custom nbt "{@InstagramNBT}" named "&3Your Instagram" with lore "&7Current:||&3%{instaurl.%{_p}%}%||||&eLeft click to change||&cRight click to remove"')
    2. [19:59:00 ERROR]: ':{Name:"Instagram"},SkullOwner:{Id:"acaae4ea-b8ee-45b6-b993-94d56a8e8a82",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYWM4OGQ2MTYzZmFiZTdjNWU2MjQ1MGViMzdhMDc0ZTJlMmM4ODYxMWM5OTg1MzZkYmQ4NDI5ZmFhMDgxOTQ1MyJ9fX0="}]}}}" named "&3Your Instagram" with lore "&7Current:||&cNone"' is not a valid item data (socialmenu.sk, line 186: set slot 29 of player's current inventory to player head with custom nbt "{@InstagramNBT}" named "&3Your Instagram" with lore "&7Current:||&cNone"')
     
  4. CziSKY

    CziSKY Member

    Joined:
    Feb 22, 2017
    Messages:
    25
    Likes Received:
    0
    set slot 0 of player's current inventory to skull of "Zi_Min" parsed as offline player named "test" with lore "test"

    "Zi_Min" is an example u can change it
     
  5. GamingGeek

    Supporter

    Joined:
    Aug 1, 2017
    Messages:
    46
    Likes Received:
    0
    I know how to use the skulls, but I'm having problems with the skull NBT. Read this post I made
     
  6. it_twit

    it_twit Member

    Joined:
    Jan 26, 2017
    Messages:
    37
    Likes Received:
    3
    Medals:
  7. GamingGeek

    Supporter

    Joined:
    Aug 1, 2017
    Messages:
    46
    Likes Received:
    0
    This is a different problem. I was unable to reload my skript because I was using an outdated version of worldedit/worldguard. I can't use MundoSK as it causes problems with players being kicked and unable to rejoin if the Citizens plugin is used.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...