Open rom1504 opened 8 years ago
And we should also put classic protocol data in minecraft-data
no, definitely not a submodule.
"Put code in common with nmp" is deliberately vague because we need to figure out what is the right way to do it.
@rom1504 alright, sorry. I was thinking of having mcp (minecraft-classic-protocol) still a github repo but using it as a git submodule then in the arguments of node-minecraft-protocol choose if the user wants nmp or mcp then the index.js exports the correct one.
Now that stuff work, I'll try to figure out how/if this can be merged with nmp.
Doesn't seem very obvious because createClient and createServer are very different.
Once we get this project off the ground, I think it would be a good idea to figure out a way to make a module that runs both node-minecraft-protocol and minecraft-classic-protocol.