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

Virtual chest

Discussion in 'Skript' started by SoMuchWessel, Feb 11, 2018.

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

    SoMuchWessel Well-Known Member

    Joined:
    Apr 3, 2017
    Messages:
    135
    Likes Received:
    2
    Hey guys,
    I got an idea, but i dont know how to work this out.

    I want that you can do a command, like /storage, and that it shows a gui as big as a normal chest.
    Then you can only put in like diamonds and gold, nothing else.
    If you close the gui, then it will stay stored, so if you do /storage now, it will show the diamonds and gold that you put in.

    Is this possible?
    It does not need to be bound to the player executing the command.
     
  2. Wynnevir

    Wynnevir Well-Known Member

    Joined:
    Jul 9, 2017
    Messages:
    974
    Likes Received:
    57
    It is possible, yes. Tuske has gui and click events that can take care of what you want to do. You can also use the inventory click events or the on store event, which is skyrayfall.
     
Thread Status:
Not open for further replies.
Loading...