PortalDespawnFix

Fixes piglin despawns on servers for portal farms.

2 downloads 0 followers

Fixes piglin despawns on servers for portal farms.PortalDespawnFix A lightweight, open-source Paper plugin designed to fix the classic multiplayer issue where Zombified Piglins (and other monsters) instantly despawn when they travel through Nether portals while another player is far away in the Overworld.

🌟 Features Zero Global Configuration Changes: Does not alter server-wide despawn ranges or ruin global mob mechanics.

Smart Portal Protection: Automatically catches entities traveling through portals and grants them temporary immunity (PersistenceRequired) from despawning.

Lightweight & Clean: No heavy databases, no unnecessary commands, and completely lag-free. It hooks purely into the native Paper Event-API.

Self-Cleaning: Safely restores normal vanilla despawn behavior after a short timeout (30 seconds) so your world doesn't fill up with stuck entities.

⚙️ How it Works When monsters travel through a portal into another dimension, the server immediately runs a check for nearby players. If other players are loaded elsewhere on the map (outside the 128-block radius), vanilla mechanics force the mobs to despawn instantly.

PortalDespawnFix intercepts this event the exact moment an entity passes through a portal, temporarily preventing the server from removing it. This ensures your gold farm's portal network functions smoothly even on populated multiplayer servers!

🚀 Installation Download the .jar file.

Drop it into your server's plugins folder.

Restart your server (or run /reload). No configuration needed!

No gallery available for this project.

Version Minecraft Loader Download

Initial release

0.1

26.2
paper
Download