sekwah41 / Advanced-Portals

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

Bungee Plugin #423

Open TreemanKing opened 3 months ago

TreemanKing commented 3 months ago

After completing this, I'm not sure if we need to send 3 different messages and if it might be easier to just use a serialised version of TargetInfoArray

TreemanKing commented 2 months ago

Works and loads without no errors. Will change to review when tested with server tag.

sekwah41 commented 6 days ago

I am going to take a look once I'm back from the Netherlands (or if I have time tomorrow night) at both this and the velocity plugin. I will likely pull code from these but possibly dismiss the draft pr's.

The plan I have is to add two tags, one which is bungee: which uses the native packet channel that bungee has and velocity can listen to, and the other will be server: or possibly proxy: ? and that will transfer via the plugin on bungee or velocity.

The bungee tag will ignore the destination tag and just teleport you to the location even if you are not teleported.

I will update the migration script to reflect these changes, If bungee and desti are found on old portals they will transfer over to the server: tag and desti: combination, otherwise the tag will directly transfer over to the bungee tag.

TreemanKing commented 6 days ago

Sounds good.