satoshinm / WebSandboxMC

Bukkit plugin providing a web-based interface with an interactive WebGL 3D preview or glimpse of your server 🕷⏳📦 ⛺
https://www.spigotmc.org/resources/websandboxmc.39415/
MIT License
19 stars 5 forks source link

Restrict web players from building/modifying on certain parts of the sandbox #59

Open satoshinm opened 7 years ago

satoshinm commented 7 years ago

Requested on https://www.spigotmc.org/threads/websandboxmc.232807/page-3#post-2421144

Not 100% sure how to do this, can I send my own BlockBreakEvent and check if it was canceled? Will this work with e.g. WorldGuard or do they have an API to use?

satoshinm commented 7 years ago

May be not "permissions" per se, but sending events and respecting isCancelled()?