already mentioned in script_commands.txt *expandInventory(<value>) Adjust player inventory to given value. Maximum inventory size is MAX_INVENTORY. Minimum inventory size is FIXED_INVENTORY_SIZE. For supported clients it send inventory change packet. For old clients, this change is silent. Current max inventory size can be read by function getInventorySize(). https://github.com/HerculesWS/Hercules/blob/82d634ad431b2ffe7077a561f4eafd2486ede44b/doc/script_commands.txt#L10349 htt