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

Error ShopChest when deleted shops from other plugin #20

Open
telfrancesco opened this issue Sep 26, 2023 · 3 comments
Open

Error ShopChest when deleted shops from other plugin #20

telfrancesco opened this issue Sep 26, 2023 · 3 comments

Comments

@telfrancesco
Copy link

telfrancesco commented Sep 26, 2023

Hello! I will report you a bug and if you want make a feature, i have in my server some shops removed by other plugin but in the database of shopchest the shops still appears. When this appen my console spam a lot of errors and when a player place a chest in the same position of the database of removed shops it still appear
image
can you make a command or a feature for remove "removed" shopchest or delete old shops?

@Flowsqy
Copy link
Owner

Flowsqy commented Sep 27, 2023

Currently, I can't code. So it will stay like that for the moment. But the easiest fix probably is to remove every shop the proper way. I don't know how you manage to remove the chest without the plugin noticing it, but it should not happen.

@XXY233
Copy link

XXY233 commented Aug 26, 2024

The plugin's configuration file config.yml already contains this option:

# Set whether shops should automatically be removed from the database if
# an error occurred while loading.
# (e.g. no chest, no space above chest, or unknown world)
remove-shop-on-error: true

@Flowsqy
Copy link
Owner

Flowsqy commented Aug 26, 2024

Did not know about that but it's actually quite a good fix. Nonetheless it might also delete the shop not loaded because of a sql error. Idk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants