Portal
Create portals like those in Valve's Portal to simulate your own Aperture Science! Use the portal gun (diamond pants) to create a pair of linked portals in distant locations, then travel through them. Each player has they own portal set. Portals are meant to be temporary means of transportation, to travel over medium-short distances.
Usage:
Wield diamond pants, these are the "portal gun"
Type /portal enable to enable use of the pants as the portal gun
Left/right click (just like Portal) to place your portals.
Right click the resulting portal signs to travel through.
Video (thanks to damnnicholas): http://www.youtube.com/watch?v=0Xm5PI-xxQc
Commands:
- /portal enable
Enables use of diamond pants as the portal gun
- /portal disable
Disables the portal gun
- /portal reset
Close both portals
Permissions:
- portal.portal
All commands, for now
Changelog:
- 0.1.3 | First release on BukkitDev (Yes, I know, weird version for a first release. I went through several bug fixes while testing on a server I administrate.)
- 0.1.4 | Added configurable portal gun item.
- 0.1.5 | Players now face the correct direction coming out of a portal.
- 0.1.6 | Portal signs are now unbreakable.
- 0.2.0 | Updated to the new event system.
- 0.2.1 | Fixed signs not having any text when created with the portal gun, which broke everything.
Coming Soon:
- Config option for portals disabling on logout.
- Portal-free regions (WorldGuard integration?)
@crowbars82
Thank you for your interest and feedback! If you can you tell me what you did before getting that error, I'll look into it.
What you've described doesn't really fall into what I want this plugin to be, but it sounds easy and I'd be more than happy to make a separate plugin.
Yes, the unbreakable portal signs was in the original plan, but I kinda forgot to code that in... expect to see it soon in 0.1.6.
This is really awesome. I've had a play about with it, sometimes the occasional
"Could not pass event org.bukkit.event.player.PlayerInteractEvent to Portal
java.lang.IndexOutOfBoundsException Index: 1, Size: 1" - error
but aside that this is the closest thing I've been searching for!
What I am looking for is the ability to right-click a configurable item (like a book) and it will teleport you to a configurable location (like a Town), and then left/right-clicking again teleports you back to where you were.
Similar to that of the Town Portal Scroll in Diablo!
Can you make it so you cannot break the signs that are created for Portal 1 & 2? Even if they are your signs?