Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full inventory = items lost #46

Open
Niko302 opened this issue Aug 29, 2022 · 0 comments
Open

Full inventory = items lost #46

Niko302 opened this issue Aug 29, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Niko302
Copy link

Niko302 commented Aug 29, 2022

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
@Niko302 Niko302 added the bug Something isn't working label Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant