#Allow /back to respect logout position when player switching servers in network

1 messages · Page 1 of 1 (latest)

half prairie
#

Switching a server in a server network is really like a teleport for players. They basically moved from a position to another position instantly. It's good to have this feature to allow a seamless usage of /back command.

For example, if a player has switched to a server from another server in the network, they can use /back command to get back to the server they came from.

deep grail
#

While it may be the case in your network that you treat moving between servers like a teleport -- it's absolutely not for many others.

My "design" use case (*) for HuskHomes is a network whereby you want to eliminate the friction of moving between servers as much as possible (i.e. make it invisible, or at the very least intuitive to do so). Moving between servers is not a teleport in this regard and HuskHomes doesn't consider it one; it's merely a transitional act that forms part of a teleport (which includes, but is not limited to

  • connecting them to a different server
  • changing the player's coordinates
  • changing the player's pitch / yaw
  • changing the player's world

Further, on a technical level, I have no way of distinguishing plugin-executed server changes (i.e. enacted by a plugin forwarding a Connect plugin message on the BungeeCord channel) and player-initiated ones (i.e. the player executing the /server command). As a result, adding this feature would break HuskHomes' cross-server back command functionality -- as an other-plugin initiated server-change would cause the player's last position to be updated at an inappropriate time.

With that in mind, I don't want to implement this suggestion.

(*) the use case I had in mind when developing the plugin; although I aim to please as many as reasonably possible

half prairie
#

ya that makes sense. Your analysis really inspired me how to exactly implement it on my own server. But now I have another alternative idea. Instead of making the back command respect switching server, how about providing an option to make the back command only allow to go back to death position?

#

It's like optionally disabling half of its features but providing a seamless ux of /back command in the server network ( at least in my case, it allows the /back command to provide a seamless ux)

#

that option should also benefit other servers ultimately

deep grail
#

that seems reasonable

#

please file a feature request on github