Hey, i was wondering how would you limit a player to say 18 out of the 36 slots in a inventory? because I have no idea where to start.
Listen for an InventoryEvent Use a for loop that loops through all the slots in the inventory. Mind starting from 0 and looping up from there. Then check to see if there's an item in a slot number and set that to null, or whatever you want to do. SlotID: