EngineHub / EngineHub/WorldGuard

Prevent the use of leads to tow boats from outside the WorldGuard region to take away animals within the region

Open
#2,202 0 comments 0 reactions 0 assignees View on GitHub
status:pending type:feature-request
Dominant language
Java
Stars
938
Forks
671
PR merge metrics
No merged PRs in 30d

Description

### The Problem

Starting from version 1.21, players can use a lead to tie up a boat. Some players can first tie up a boat with a lead outside the WorldGuard region, then lead the boat into the WorldGuard region to make creatures bump into and sit on the boat, taking them away. This method can be used to steal creatures within the WorldGuard region. It is very versatile. After mastering the technique, players can even use elytra to fly away with the creatures.

https://github.com/user-attachments/assets/6d9a05b1-e339-46f4-9acb-7e7b1a584a3e

### A Solution

Is there a corresponding event that can be listened to, in order to distinguish boats that enter from outside the WorldGuard region and prevent creatures from being so easily stolen?

### Alternatives

When a creature attempts to get on a boat, first check whether the nearest player has permission within the WorldGuard region. If not, cancel the creature's action of getting on the boat.

### Anything Else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.