1. Welcome to LilyPad. Download the project, explore the forums, and create your own LilyPad network.


    If you use the software and enjoy it or have a question, or would like to contribute to the future of the software directly or through resources, please sign up and join our little community.

Denied PlayerRedirectEvent

Discussion in 'Feature Requests' started by confuser, Feb 2, 2014.

  1. confuser

    confuser Member Resource Contributor

    When a player changes server, they throw the PlayerQuitEvent as expected. However, at that point, you don't know if they are being sent to another server by another plugin or if they are simply quitting.

    It would be nice if lilypad plugins could listen to a cancellable PlayerRedirectEvent.

    A simple use case scenario would be if Plugin A redirects a player to another server, Plugin B could send a message to someone saying for example that their friend just left the server and joined another.

    Perhaps even expose which server (by username) they are being redirected to.

    Is this possible?
    • Agree Agree x 1
  2. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    There's a bug that needs to be fixed before we do this involving how LilyPad actually redirects people, but I do believe that something *like this* is desirable.
  3. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

Share This Page