ervinchai / VoxelSniper

The premier long-distance brush editor for Minecraft, rebooted!
38 stars 27 forks source link

Add support for Plot² #2

Open StealWonders opened 4 years ago

StealWonders commented 4 years ago

Hello would it be possible to add support for regional editing? What I mean by this is that you are only allowed to use VoxelSniper and it's brushes and whatnot in specific regions like your plot or WorldGuard region. This exists for FAWE and used to for FAVS. Thank you!

ghost commented 4 years ago

How would this be implemented? Can you give me more information with regards to exact implementation and examples maybe?

StealWonders commented 4 years ago

So there is FAVS (FastAsyncVoxelSniper) which used to be part of FAWE (FastAsyncWorldEdit). FAWE had this region locking feature where you could use a command to bypass regions (WorldGuard and PlotSquared) or enter a restrictive mode where everything you did (wand actions and brushes) was limited to either a region or a plot so you didn't by accident (or permission wise) edit other peoples stuff. As FAWE and FAVS has been very buggy and under high development, since the 1.13 MC update FAVS has split off into its own repo (but doesn't have support for regional editing anymore [as it hasn't been implemented yet]). Maybe it's possible for you to suck some information out of the developers over their Discord or on the older FAWE repo.

congress12 commented 4 years ago

Is there going to be some support for regional editing? Also Using Plot² and would like to limit players to only edit inside the plots they own. Currently they can edit outside their plots.

TheCalypso commented 3 years ago

Hello, Indeed what prevents me from using this plugin on my server is that there is no restriction. For example with the PlotSquared plugin, players each have their own plot, with current VoxelSniper people can modify plots that don't belong to them. It is a problem.

Do you think an implementation of region restrictions is possible? this can help you ? https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/block/BlockBreakEvent.html