ChestShop-authors / ChestShop-3

ChestShop - the chest & sign shop plugin for Minecraft Servers running Bukkit/Spigot/Paper
https://dev.bukkit.org/projects/chestshop
GNU Lesser General Public License v2.1
272 stars 178 forks source link

WorldGuard `enable-shop` flag doesn't work if `WORLDGUARD_INTEGRATION` is disabled #520

Open Phoenix616 opened 2 years ago

Phoenix616 commented 2 years ago

What is happening?

The enable-shop is registered once WorldGuard is detected no matter if WORLDGUARD_INTEGRATION is enabled or not.

Enabling WORLDGUARD_INTEGRATION forces that shops can only be created in regions though so enabling it might not be what a user intends.

What did you expect to happen?

Either

or

Plugin Version

3.12.1

Plugin Config

Default

Server Version

Doesn't matter

Server Log

doesn't matter >;)

What other plugins are you running?

WorldGuard (any supported version)

Agreements

Additional context

More a note for me/anyone who wants to create a PR/notices this behaviour then anything else.