EcoCrates
EcoCrates copied to clipboard
Full inventory = items lost
Describe the bug If you open a crate and you have a full inventory you will not receive the items given in the crate and thus losing items for players and leading to an ungodly amount of tickets.
To Reproduce Open crate with full inventory
Expected behavior Not allow opening of crate if inventory is full or close to full
Server Information (please complete the following information): EcoCrates 1.12.3
** Solution ** Make it so in /plugins/EcoCrates/crates.yml you can define the following.
- id: skin name: "Skin Crate" inventory-full-alert: true #Cancels the opening of the crate and tell you that you have a full inventory inventory-full-slot-amount: 2 #how many free spaces should the player have to be able to open the crate