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

Trigger system for entities leaving/entering a region #11

Open Z0rdak opened 2 years ago

Z0rdak commented 2 years ago

Description

To handle players entering and leaving regions, a trigger-like system (optimal with events) would be handy.

Beside other things, this system would allow it to display the region name or other messages to the player when entering/leaving a region. It also could be extended to execute commands or do other things.

It can be described in more detail as follows:

A region owner could define a list of triggers for when a player (with a specific affiliation) enters or leaves a region (or both), which are executed in a given order.

Syntax

The syntax could be the following:

Todos

Definition of Done