Z0rdak / Yet-Another-World-Protector

Yet Another World Protector is a server-side protection mod which allows you to protect your creations against various different events/actions of players, mobs and the environment. It was inspired by the forge mod WorldProtector and the WorldGuard plugin.
https://www.curseforge.com/minecraft/mc-mods/yawp
GNU Affero General Public License v3.0
22 stars 8 forks source link

RegionMarker improvements #6

Closed Z0rdak closed 3 months ago

Z0rdak commented 2 years ago

Description

Currently, the RegionMarker works/is used for marking Cuboid Regions in conjunction with the /wp marker create command to define a new Local Region.

The well known expand command from WorldProtector only works while creating a new region with the marker. The goal is to expand the region area more easily for already defined regions, supporting the new different shapes.

The 1.16.5 branch of WorldProtector also used the RegionMarker to set the teleport position of the region. This needs to be implemented as well for easier management.

This feature should also consider the future region shapes, so a proper abstraction is needed.

To be more flexible, it would be great to make the RegionMarker a configurable item, to avoid incompatibilities with other mods. E.g. The Supplementaries mod has a feature which allows for Sticks to be placed, which renders the RegionMarker useless.

Additionally, to avoid duplicating items and giving players advantage, there should only be one RegionMarker allowed at a time for a player. This prevents the /wp marker give command to provide the player with free items.

Todos

Related Issues

Z0rdak commented 3 months ago

Closed and on hold. By adding a optional WorldEdit integration, this feature would become obsolete.

WorldEdit provides a way to