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.

Solved Coloured leather armour in GUI's

Discussion in 'Skript' started by iStopcontact, Aug 2, 2019.

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

    iStopcontact Member

    Joined:
    Feb 18, 2017
    Messages:
    111
    Likes Received:
    2
  2. Best Answer:
    Post #8 by aescraft, Aug 4, 2019
  3. Wolwer

    Wolwer Active Member

    Joined:
    Feb 8, 2018
    Messages:
    53
    Likes Received:
    5
  4. iStopcontact

    iStopcontact Member

    Joined:
    Feb 18, 2017
    Messages:
    111
    Likes Received:
    2
  5. aescraft

    aescraft Well-Known Member

    Joined:
    Mar 1, 2017
    Messages:
    295
    Likes Received:
    13
  6. iStopcontact

    iStopcontact Member

    Joined:
    Feb 18, 2017
    Messages:
    111
    Likes Received:
    2
    How should i put that in my code?

    Now i have this:
    Code (Text):
    1. format slot 22 of player with leather chestplate named "&7Knight Chestplate" to be unstealable
     
  7. aescraft

    aescraft Well-Known Member

    Joined:
    Mar 1, 2017
    Messages:
    295
    Likes Received:
    13
    Code (Text):
    1. set {_nbt} to "{display:{color:8405056}}"
    2. format gui slot 22 of player with leather chestplate with custom nbt "%{_nbt}%" named "&7Knight Chestplate" to be unstealable
    OR

    Code (Text):
    1. format gui slot 22 of player with leather chestplate with custom nbt "{display:{color:8405056}}" named  "&7Knight Chestplate" to be unstealable
    I think you need tuske and SKstuff for this one

    Try it and tell me if it works
     
  8. iStopcontact

    iStopcontact Member

    Joined:
    Feb 18, 2017
    Messages:
    111
    Likes Received:
    2
    Yheaa i knew it would werd with SkStuff

    But thats the thing, SkStuff doenst have an updated version for 1.12 or above...

    So i was hoping there was like another way to do it
     
  9. aescraft

    aescraft Well-Known Member

    Joined:
    Mar 1, 2017
    Messages:
    295
    Likes Received:
    13
  10. iStopcontact

    iStopcontact Member

    Joined:
    Feb 18, 2017
    Messages:
    111
    Likes Received:
    2
    I used this code:

    Code (Text):
    1. set {_nbt} to "{display:{color:8405056}}"
    2.                         format slot 22 of player with leather chestplate with custom nbt "%{_nbt}%" named "&7Knight Chestplate" to be unstealable
    But do i maybe use the GUI code from TuSke or is the default GUI like i made it now also alright?
     
  11. aescraft

    aescraft Well-Known Member

    Joined:
    Mar 1, 2017
    Messages:
    295
    Likes Received:
    13
    you can use the gui you want
     
  12. iStopcontact

    iStopcontact Member

    Joined:
    Feb 18, 2017
    Messages:
    111
    Likes Received:
    2
    i already found what was wrong, it works now.
    Thank you man, realy appreciated
     
  13. aescraft

    aescraft Well-Known Member

    Joined:
    Mar 1, 2017
    Messages:
    295
    Likes Received:
    13
    Can you share the code? others may need it later
     
  14. iStopcontact

    iStopcontact Member

    Joined:
    Feb 18, 2017
    Messages:
    111
    Likes Received:
    2
    Now i have this code:


    Code (Text):
    1. set {_nbt} to "{display:{color:8405056}}"
    2. format slot 22 of player with leather chestplate with nbt "%{_nbt}%" named "&7Knight Chestplate" to be unstealable
    and it works
     
Thread Status:
Not open for further replies.

Share This Page

Loading...