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

Aperta
#2,202 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
java

Direzione di ricerca

Inizia studiando gli eventi di interazione tra barche e creature disponibili in WorldGuard per le entità che attraversano i confini delle regioni. Usa la riproduzione descritta nell’issue e nel relativo video per determinare se un evento può distinguere le barche che entrano dall’esterno; il lavoro è completato quando il percorso descritto per il furto di creature viene impedito senza bloccare le interazioni consentite tra barche e creature.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

status:pending type:feature-request
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

Lingua principale
Java
Stelle
944
Fork
686
Merge medio
4g 7h
PR unite (30g)
6

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di EngineHub/WorldGuard

Tutte le issue di EngineHub/WorldGuard

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.