More Enderchest Slots

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

mrclucky

Member
Oct 27, 2023
1
0
1
Does anyone have just some simple code for all players to get 6 enderchest rows instead of just 2?
 
Does anyone have just some simple code for all players to get 6 enderchest rows instead of just 2?

Just make your own ender chest.

Code:
function playerec(p: player):
  set {ec::%{_p}'s uuid%} to chest inventory with 6 rows named "Custom Ender Chest" if {ec::%{_p}'s uuid%} is not set
  open {ec::%{_p}'s uuid%} to {_p}

on right click:
  if targeted block is ender chest:
    cancel event
    playerec(player)

command /enderchest:
  aliases: echest, ec
  trigger:
    playerec(player)

This took me like 5 minutes, lol.
 
Last edited:
  • Like
Reactions: Luke_Sky_Walker