AntiPortalStuck: Fix Portal Stuck in Minecraft

Understanding the AntiPortalStuck Plugin for Minecraft Servers Logging into a Minecraft server should be a seamless experience, but certain security plugins can create an unexpected trap. If you have ever joined a server, found yourself stuck inside a Nether portal frame, and unable to move until...

Download AntiPortalStuck for Minecraft 1.19.2

Original name: AntiPortalStuck

Minecraft: 1.19.2

FileVersionLoaderSize
AntiPortalStuck-1.0.jar1.19.2—7 КБDownload

Understanding the AntiPortalStuck Plugin for Minecraft Servers

Logging into a Minecraft server should be a seamless experience, but certain security plugins can create an unexpected trap. If you have ever joined a server, found yourself stuck inside a Nether portal frame, and unable to move until you authenticate, you know exactly how frustrating that moment can be. The AntiPortalStuck plugin was designed specifically to solve this problem, offering a smart and automatic way to free players from portal prisons without breaking any existing login systems.

Why Players Get Stuck in Portals

Many servers use authentication plugins like AuthMe to protect accounts. These plugins typically freeze a player in place until they enter a password. The issue arises when a player logs out while standing inside a portal block. Upon reconnecting, the game places them back at the exact same coordinates — inside the portal — but the AuthMe restriction prevents any movement. The player is effectively trapped, unable to walk out or even break free. Without intervention, the only solution is often a manual teleport by an admin, which is not always available.

AntiPortalStuck steps in right at login, detecting the stuck state and relocating the player to a safe, walkable block nearby. It works silently in the background, requiring no extra steps from the player or staff.

How the Plugin Works in Two Stages

The plugin’s logic is clean and efficient, operating in two distinct stages that you can control through configuration. The first stage is always active, while the second is optional and disabled by default.

Stage 1: Radius-Based Safe Block Search
When a player logs in and is detected inside a portal block, AntiPortalStuck immediately scans the surrounding area. It looks for the closest non-portal block within a configurable radius, which can be set from 1 to 5 blocks. Once a suitable solid block is found, the player is teleported there instantly. This gentle nudge is usually enough to place them on the ground right next to the portal frame, where they can freely move and authenticate.

Stage 2: Emergency Teleport to the Highest Block
If the radius search fails to find a safe spot — for example, when the portal is built in a tight space or surrounded by other portal blocks — the plugin can fall back to a second method. This stage teleports the player to the highest block at their current X and Z coordinates, effectively popping them out on the surface. Because this can sometimes place a player far from their intended location, it is turned off by default. Server owners can enable it with a simple command when needed.

Commands and Permissions

AntiPortalStuck keeps administration straightforward with just three main commands. All of them use the base alias /antiportalstuck or the shorter /aps.

  • /aps force (true/false) – Toggles the emergency teleport to the highest block. Set to true to enable the second stage globally.
  • /aps range (1-5) – Adjusts the search radius for the first stage. A smaller radius keeps players closer to the portal; a larger one gives more flexibility in tight builds.
  • /aps reload – Reloads the configuration file without restarting the server. Perfect for applying manual edits on the fly.

These commands are typically restricted to server operators, ensuring that only trusted staff can modify the plugin’s behavior. The plugin also respects standard permission nodes, so you can integrate it into any existing permission system with ease.

Configuration and Customization

Beyond the in-game commands, AntiPortalStuck stores its settings in a clear configuration file. You can predefine the default radius, toggle the force teleport, and even adjust the search algorithm’s behavior. If you prefer to fine-tune everything before launching the server, simply edit the config.yml and then use /aps reload to apply changes without downtime. This flexibility makes the plugin suitable for everything from small private servers to large networks with custom portal mechanics.

When you are building a modded or plugin-heavy server, managing installations can become tedious. Many server admins now turn to modern launchers that simplify the process. For instance, you can easily install AntiPortalStuck via the foxygame.net launcher — a convenient, flexible, and modern Minecraft launcher where you can download mods right from the menu, saving time and reducing configuration errors.

Real-World Benefits for Server Owners and Players

Integrating AntiPortalStuck brings immediate quality-of-life improvements. Players no longer need to call for admin help or relog repeatedly hoping to escape. This reduces the support burden on staff and keeps the gameplay flowing. The plugin is lightweight, adding virtually no lag because it only activates during the login event. It also plays nicely with other portal-related plugins, as it does not alter portal mechanics — it simply moves the player after they have already entered the world.

For servers that use custom dimensions or frequent teleportation, the adjustable radius is a standout feature. You can set a tight radius of 1 to keep players exactly beside the portal, or expand it to 5 for complex Nether hub designs. The force teleport option acts as a safety net, ensuring that even in the most cramped portal rooms, no one remains stuck indefinitely.

Installation and Compatibility

AntiPortalStuck is a standard Bukkit/Spigot/Paper plugin, so installation follows the usual drag-and-drop into the plugins folder. It requires no additional dependencies and works out of the box with any authentication plugin that restricts movement on join. The plugin has been tested across multiple Minecraft versions, maintaining backward compatibility wherever possible. Always check the plugin’s documentation for the exact supported versions, but generally, it runs smoothly on 1.8 through the latest releases.

After placing the jar file in your plugins directory, restart the server or use a plugin manager to load it. The default configuration will immediately start protecting players, with a radius of 3 and force teleport disabled. You can then tweak the settings to match your server’s layout.

Conclusion

AntiPortalStuck is a small but essential tool for any server that combines portal travel with login authentication. It quietly eliminates a common source of player frustration, requires minimal setup, and offers just enough customization to handle edge cases. By automatically relocating stuck players to a safe block, it keeps the focus on gameplay rather than technical hiccups. Whether you run a survival world, a minigame hub, or a complex network, this plugin is a smart addition that works behind the scenes to keep your community moving — literally.