Jump to content

GUI Interactive with skins


Axmon

Recommended Posts

I'm trying to make a GUI that'll have a skin option where you can set an url over the buttons and it'll save it, so when you re-click it, it puts the skin url on you. Is there any interactive examples with skin settings over that I can check through?

I'm not 100% on how to make the GUI and make it so it saves the skins over the 'button'

Link to comment
Share on other sites

Just now, Axmon said:

I'm trying to make a GUI that'll have a skin option where you can set an url over the buttons and it'll save it, so when you re-click it, it puts the skin url on you. Is there any interactive examples with skin settings over that I can check through?

I'm not 100% on how to make the GUI and make it so it saves the skins over the 'button'

tryingto make it look something like this through resourcepack stuff

wardrobe.png

Link to comment
Share on other sites

I'm on holidays right now so can't right you a skript, but I recommend using an array variable (a list) to store them.
 

Something like this:

command /additem [<text>]:
  trigger:
    add arg-1 to {skins.%player's uuid%::*}


command /showitems:
  trigger:
    loop {skins.%player's uuid::*}:
      send loop-item to player

This snippet is untested and may not work, but it is just to help you with the theory with how you should go about this.

-------------------------------------------------------------------

NO RANK ALL THE WAY

---------------------------------------------------------------------

play.koolkidzmc.com (Velocity + Pufferfish FTW)
discord.koolkidzmc.com

Spoiler

/_(•v•)_7

image_2021-07-26_104856.png.7740cf6322d3693f332894c1e8485060.png


image_2021-07-26_104457.png

pogies.PNG

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...