Intercept Player connection

Discussion in 'Plugin Development' started by Little coder, Jun 2, 2019.

  1. Offline

    Little coder

    Well, I'm working on a plugin for a remote server panel.

    The problem is that some servers block the opening of new ports, such as minehub or

    Now I want to know if there is any way to intercept logon to the normal Minecraft server with, for example using the default port 25565 if the client sends a packet which informs the plugin that this request is for the remote server. Then the connection should not work with the normal server but via the plugin.
  2. Online

    timtower Ninja on the waves Moderator

    @Little coder Haven't seen this before. You need to hijack the signal when it enters the server. Don't think that you can do this with a plugin.
  3. Offline

    Little coder

    OK, too bad. But thanks for the answer

Share This Page