Mineuniverse
Log in Register
Plugins

Stop-Portal-Trap

Stops players from being portal trapped!
by Horrgs
Download Claim this project
720 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Teleportation

Features


Are you a server owner who experiences players getting portal trapped by others? If so, this is the plugin for you! If a player is portal trapped, it will send them to spawn if they're detected of being portal trapped, on how it's detected read below. It also features a setspawn point command so if a player is detected on being portal trapped it'll send them to that spawn point.


Commands - Permissions


<Command> - (Permission)

  • </spt setspawn> - (stopportaltrap.command.setspawn)
  • (stopportaltrap.message.locationnull) Warns online ops and logs if the location in the config are null, not a command.
  • (stopportaltrap.admin.notifyupdate) Notify's you when you join if there's an update available.

How It Works


How it works, when a player joins, it checks if they're on Obsidian and a portal (ID: 90) is above their head. If so, it add's them to a list, (by uuid, so if a player joins, quits, changes names, it'll still work). Once they quit, it'll check again if they're on Obsidian and portal is above their head (ID: 90), then it checks if they're in the first list, if so, they add them to a second list, (because all you can do is move on obsidian and with portal above your head when portal trapped), when the player joins again, it checks them if they're in the first list and second list, if they are, they teleport them to the spawn point that is set, and it sends them this message: img


Auto-Updater


This plugin uses an auto-updater, which can be toggled off/on within the config.yml. You can turn it off by going to the directory "plugins/StopPortalTrap/" and open the config.yml. In there you should see auto-update: <true/false>, set it to false if you want it off, true if you want it on. It is highly recommended to keep it on to fix bugs in the plugin. Any updates are put in the "plugins/update/" folder, which is where mine will be if an update is found. When you join, you'll receive a message saying that there's an update and will provide a link.


Source Code


The source code for the the plugin project is here: https://github.com/Horrgs/Stop-Portal-Trap


Stop-Portal-Trap v1.0
MC CB 1.7.2-R0.3
Release 2014-03-31 Get

More from Horrgs

Server Info Plus
5,413

You Might Also Like

Sortal
Sortal
99,196
LapisPortals
Command-less teleportation plugin
98,608
MassRelay
Adds the mass relays from mass effect to minecraft!
9,751
VitalsTeleport
VitalsTeleport Is the next generation of Tp plugins letting you sethome, setspawn, setwarps and lots more!
9,721
MultiSpawn
Spawn at different locations based on permissions!
9,599
LobbyHub
LobbyHub
9,575