Closed george112n closed 7 months ago
Discussed yesterday were two possible solutions to this.
An API system was suggested to increase the security of this method. Keeping coordinates in a DB may compromise user privacy and security if unwarranted access to the database was gained.
Option 2 was considered to be the best option due to the security concerns arising from the database method. We currently do not have ample resources to create an API system.
Further to this, the database solution mentioned here wouldn't work because you couldn't access the database without leaking the credentials. So it's not even an option.
Another option wpuld be to add a redis pub/sub in between, this would work as follow
The redis could be ipwhitelisted to participating servers their ip
Another option wpuld be to add a redis pub/sub in between, this would work as follow
- player A wants to switch from A to B
- A sends a pub message containing the dest server, uid and coords. Server B recidves this and st9res it in memory sending a ACK.
- when A recieves the ACK it sends a bungee send message
The redis could be ipwhitelisted to participating servers their ip
This is basically what Bungeecord messaging does, besides the acknowledgement. Which i dont think is that important, we could always send a response bcmsg if needed. Overcomplicating this is also not really a good option,s since there is a build-in way of doing it and we dont need a redis server.
I will also add some rerouting of some common typos of /tpll
Universal tpll is complete. This issue will remain open so that supplementary additions changes made before release can be recorded and/or discussed.
Feature add: Make sure it maintains the yaw and pitch of the player. Send yaw and pitch with the message
Formerly implemented as "sledgehammer", which may remain it's published name, universal tpll will take over the tpll functionality across the network.
It's main feature is to automatically switch a player to a different build server when they perform a tpll command taking them outside the bounds of their current build-server. When they connect to the required build-server, the tpll teleportation would be performed. Thus contributing to the BTE Centralised Feel epic. Another benefit of automatic build-server switching is the reduction of empty chunk generation outside of server bounds on servers who do not have any restrictions on chunk generation.
Automatic build-server switching process would also occur when a player crosses the border between the bounds of two build-servers.