How to set the server to only able to join using my client

Discussion in 'Programming' started by Tarack, May 22, 2017.

  1. Hy. I made a minecraft client and launcher. How can i set the server to ONLY JOIN the server using my Client?
    Sorry for bad english! :)

    Thank you!.
    ~Tarack
     
  2. joehot200

    Supporter

    Could you clarify the question?
     
  3. ? I made a minecraft client. How can i set my Minecraft Server to able to ONLY join with My CLIENT?
    Thank you!
     
  4. electronicboy

    IRC Staff

    Well, you're not going to be able to 100% guarantee that they're using your client;
    easiest method would be to modify the mc brand of the client (the one that it sends to the server, at least), to something custom, and then listen for that packet on your server and validate that it matches the brand of your client, otherwise; kick them
     
  5. And where can i modify? In the java files? :D
     
    • Funny Funny x 1
  6. You might just make a plugin to listen to the packet that the cilents send out, assuming that is the cilent you created, you might know how to send the packet from the cilent now.
     
  7. I mean how to modify the packet in the client?
     
    • Funny Funny x 1
  8. Strahan

    Benefactor

    Didn't you write the client? If you wrote the client, how do you not know how to handle the packets in said client?
     
    • Winner Winner x 1