Minecraft Stop-Portal-Trap mod 2026 download
logo
minecraft mod Stop-Portal-Trap

Stop-Portal-Trap

Game Version: CB 1.7.2-R0.3
Total Downloads: 413
Updated: Mar 31, 2014
Created: Mar 31, 2014
Download Stop-Portal-TrapDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
Stop-Portal-Trap v1.0 release 19.70 KB Mar 31, 2014 CB 1.7.2-R0.3 413 download Stop-Portal-Trap Stop-Portal-Trap v1.0 releaseDownload

Description

Share this:

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


Comments

Add a comment