promotional bannermobile promotional banner

Stop-Portal-Trap

Stops players from being portal trapped!

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


The Stop-Portal-Trap Team

profile avatar
Owner
  • 4
    Projects
  • 6.7K
    Downloads

More from HorrgsView all

  • InstaBlockRemover project image

    InstaBlockRemover

    • 579
    • Bukkit Plugins

    This Plugin Can remove blocks With One Click!

    • 579
    • February 3, 2014
    • Bukkit Plugins
  • Explosive Snowballs Plus project image

    Explosive Snowballs Plus

    • 655
    • Bukkit Plugins

    Boom boom! Blow up players with snowballs!

    • 655
    • November 28, 2013
    • Bukkit Plugins
  • Server Info Plus project image

    Server Info Plus

    • 5.3K
    • Bukkit Plugins

    All your server info into a few commands !

    • 5.3K
    • October 16, 2013
    • Bukkit Plugins
    • +1
  • Harry Potter project image

    Harry Potter

    • 0
    • Bukkit Plugins

    This brings the full Harry Potter spells to your server and a full on experience.

    • 0
    • October 6, 2013
    • Bukkit Plugins
    • +1
  • InstaBlockRemover project image

    InstaBlockRemover

    • 579
    • Bukkit Plugins

    This Plugin Can remove blocks With One Click!

    • 579
    • February 3, 2014
    • Bukkit Plugins
  • Explosive Snowballs Plus project image

    Explosive Snowballs Plus

    • 655
    • Bukkit Plugins

    Boom boom! Blow up players with snowballs!

    • 655
    • November 28, 2013
    • Bukkit Plugins
  • Server Info Plus project image

    Server Info Plus

    • 5.3K
    • Bukkit Plugins

    All your server info into a few commands !

    • 5.3K
    • October 16, 2013
    • Bukkit Plugins
    • +1
  • Harry Potter project image

    Harry Potter

    • 0
    • Bukkit Plugins

    This brings the full Harry Potter spells to your server and a full on experience.

    • 0
    • October 6, 2013
    • Bukkit Plugins
    • +1