ColinHDev / CPlot

Land and world management plugin for PocketMine-MP
https://discord.gg/cAYKEtaqnp
GNU General Public License v3.0
29 stars 12 forks source link

Chestshop do not work in CPlot #74

Closed BananaGER closed 1 year ago

BananaGER commented 1 year ago

Hey,

I installed the Chestshop Plugin but i noticed, that if you want to buy something on a Plot, you cant do it only if you have operator permissions is ther a flag that you can set or something?

supercrafter333 commented 1 year ago

The chestshop plugin was developed for MyPlot. Ask the developer of ChestShop to program it for CPlot.

ColinHDev commented 1 year ago

Hey,

I installed the Chestshop Plugin but i noticed, that if you want to buy something on a Plot, you cant do it only if you have operator permissions is ther a flag that you can set or something?

The PlayerInteractEvent is cancelled if a player has no permission to interact with a certain block, like a sign or a chest. If that plugin relies on that particular event to be not cancelled, then it won't work on plots. You could add signs (if that plugin uses signs for the transaction) to the plot's use flag but by that, everyone can interact and possibly colour your sign. In my opinion, you should create an issue on that plugin's GitHub page, since if it doesn't work with CPlot, then it most likely won't with other world protection plugins, where you might have a shop in your protected server spawn.