I would like to make my own proxy for minecraft… How does it work?
It will probably be quite expensive that one can only advise against it. Better arrange them with existing systems.
If you want to dare to jump in there, have a look at the Git Repo by https://github.com/...BungeeCord. There you get a small impression of what you need.