Full inventory // double chest?

  • 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 community!

    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.

dudle

Active Member
Jan 31, 2017
135
0
16
I have 2 questions. Is it possible to detect if a player has a full inventory when executing a command? how?
And second thing, how can I make it so when I open a chest it'd somehow detect that it's a double chest? I'm just doing a chest filling system and when I open 1 part of the large chest there's one set of items but when I click and open the other part of the large chest, it'd show me a different set of items filling the chest.
 
I have 2 questions. Is it possible to detect if a player has a full inventory when executing a command? how?
And second thing, how can I make it so when I open a chest it'd somehow detect that it's a double chest? I'm just doing a chest filling system and when I open 1 part of the large chest there's one set of items but when I click and open the other part of the large chest, it'd show me a different set of items filling the chest.
I feel like theres an 'if inventory is full' expression but couldnt find it on the docs but you can always just check if the player can hold 1 of a non-stackable item.

For the double chest you can just check on rightclick on chest if the block 1 block north/south/east/west is also a chest
 
Status
Not open for further replies.