As stated above, to get minecraft you'll first need to purchase it if you haven't already. After doing so, it should give you the necessary stuff to launch the game, make sure you download the version 1.12.2 to be able to play on JailBreak and then go to multiplayer and type in the IP: play.jailbreakmc.com

Hope you figure out how, have fun on the network!