sekwah41 / Advanced-Portals

An advanced portals plugin for bukkit
GNU Lesser General Public License v3.0
157 stars 65 forks source link

Random destination! Like RTP type teleport, but when going through portal. #274

Open srevenant opened 3 years ago

srevenant commented 3 years ago

Please oh please give us the ability to do a RTP type teleport when somebody goes through a portal. I'd love to setup a destination and configure it as a random range w/standard RTP type protections (lands, claims, etc). There are a few good / current plugins we could borrow from, if not somehow integrate with (such as WildTP). Ideally one that pre-caches destinations to reduce load.

I could also have it run a command /rtp after they arrive at the destination (see other feature request). However, that seems kludgy to arrive and immediately TP somewhere.

sekwah41 commented 3 years ago

I can look into adding though you realise you don't need a destination to trigger the portal? You can just have a command without a destination.

Best behaviour would be to add compatibility with plugins such as WildTP likely to support the claims and other things.

zax71 commented 3 years ago

This can be achieved by using BetterRTP and an AP portal that runs /rtp

srevenant commented 2 years ago

@zax71 I'm not sure how that'd work with BetterRTP or WildernessTP (which is what I'm using). The problem is the command '/rtp' is run on the origin server, not the destination (i have multiple servers w/waterfall). I'd like it run on the destination.

I've decided to dig into forking Wilderness TP and Advanced-Portals to see if I can figure out how to get it to work, since it doesn't appear the configurations as-is will support it.

Update: OMG WildernessTP is a nightmare. Comparing the code between it and BetterRTP yeah. WildernessTP has built-in holes and odd "kitchen sink" behavior. Let alone is written very childisly, with 12-year old "leet speak" variables and function names. What a nightmare. Do not use that one :D

sekwah41 commented 1 year ago

It is such a commonly requested feature, I may take a look at implementing something for this.