WiIIiam278/HuskHomes

Add hooks for preventing random teleports in regions/claimed land

Opened this issue · 0 comments

The server has many player-owned areas (similar to protected areas like WorldGuard), and random teleportation sometimes sends players to private areas. Is it possible to add a check so that if the destination is within a plugin-protected range, it finds the next random teleportation point?
(Is it possible to detect whether the destination is a protected area by simulating player block destruction?)