What Is the AntiPort Plugin and Why Your Server Needs It
Managing teleportation on a Minecraft server can be a real headache, especially when you want to protect specific areas from clever players who use ender pearls, portals, or mod-based teleports to bypass your carefully designed challenges. That is exactly where the AntiPort plugin comes in. Built as a lightweight extension for WorldGuard, AntiPort gives server operators precise control over how players enter or leave protected regions. Instead of relying on complex command setups, you configure everything through a simple file, making it accessible even if you are not a plugin expert.
How AntiPort Enhances WorldGuard Protection
WorldGuard is already a powerhouse for region protection, but it does not natively handle teleportation blocking with the same granularity. AntiPort fills that gap by hooking into the PlayerTeleportEvent and applying rules you define. Every time a player tries to teleport—whether by command, ender pearl, nether portal, or even a custom mod—AntiPort checks the source and destination regions against your configuration. If a match is found, the teleport is either redirected to a safe location or simply denied, keeping the player exactly where they were. The event is not cancelled outright; instead, the destination is rewritten, so secondary effects like ender pearl fall damage still apply, preserving gameplay consistency.
Key Configuration Options and How They Work
Setting up AntiPort is refreshingly straightforward. The plugin reads all rules from its configuration file, where each WorldGuard region can have one or more teleport causes to block. The available causes mirror the values returned by PlayerTeleportEvent.getCause():
- COMMAND – blocks teleports triggered by commands like /tp or /tpa.
- END_PORTAL – prevents travel through End portals.
- ENDER_PEARL – stops ender pearl throws from landing inside (or outside) the region.
- NETHER_PORTAL – blocks nether portal transitions.
- PLUGIN – catches teleports initiated by other plugins or mods (e.g., ChestBuilder or custom warp tools).
- UNKNOWN – a catch-all for any teleport cause not listed above.
- ALL – matches every teleport type, useful for absolute lockdowns.
For each region, you decide whether to block teleports into the region, out of it, or both. Then you choose the outcome: LOCATION redirects the player to a predefined set of coordinates, while RETURN simply cancels the movement, leaving the player at their original spot. A customizable message is sent to the player whenever a teleport is blocked, so they know exactly why their attempt failed.
Practical Uses That Solve Real Server Problems
AntiPort shines in scenarios where fairness and anti-cheat measures are critical. Imagine you have built an obstacle course with a reward at the end. Without protection, players could skip the entire challenge by ender pearling to the finish or using a modded teleport item. By applying AntiPort rules to the course region, you block those specific teleport causes, forcing everyone to complete the course legitimately. Another common application is spawn protection. You can configure the plugin to redirect players who log out inside a protected zone, preventing them from bypassing cooldown timers or logging back in to claim rewards repeatedly. Just remember: when blocking spawns, always use the LOCATION method rather than RETURN, because a fresh spawn has no previous location to fall back to.
If you are looking for a hassle-free way to add AntiPort to your server, you can easily install it via the foxygame.net launcher — a convenient, flexible, and modern Minecraft launcher where you can download mods right from the menu. This launcher simplifies plugin management, so you spend less time wrestling with file uploads and more time fine-tuning your server’s gameplay.
Avoiding Infinite Loops and Other Pitfalls
Because AntiPort redirects teleports rather than cancelling them, you must be cautious with your destination coordinates. If the redirect location falls inside another region that also blocks incoming teleports, you can create an infinite loop that crashes the server or locks the player in a teleport cycle. Always map out your region boundaries and test redirects with a non-operator account before going live. Also, keep in mind that the plugin currently applies rules globally to all players, including ops. There are no permission nodes or in-game commands yet, so every adjustment requires editing the configuration file and reloading the server or plugin.
Future Updates and What to Expect
The developer has outlined several planned improvements that will make AntiPort even more versatile. In-game commands will eventually allow you to manage regions and rules without touching the config file. Permissions are on the roadmap too, so you can exempt certain ranks or players from teleport restrictions. Another interesting addition is a setting that lets you choose between redirecting the existing teleport effect or creating an entirely new one—this would let you avoid side effects like ender pearl fall damage when it does not suit your design. Until those features arrive, the current version remains a rock-solid, lightweight solution that integrates seamlessly with WorldGuard.
Conclusion
AntiPort proves that sometimes the simplest tools are the most effective. It does not overcomplicate your server with bloated features; instead, it focuses on one job—controlling teleportation into and out of WorldGuard regions—and does it reliably. Whether you are running a competitive minigame network, a survival world with custom dungeons, or just want to stop players from cheating through your builds, this plugin deserves a spot in your server’s toolkit. With its clear config structure, immediate feedback for blocked teleports, and a promising future update list, AntiPort is a smart choice for any server administrator who values both security and player experience.