How to Test Your Multiplayer Minecraft Game

By Sarah Guthals, Stephen Foster, Lindsey Handley

To test your multiplayer game, launch Minecraft and go to the LearnToMod server. Then type the command /open. This opens your Minecraft world to anyone else who has access to the LearnToMod server, but the only way they can get in is if they know the number that you see.

image0.jpg

You see this message, but your number will probably be different.

image1.jpg

Have a friend first join the LearnToMod server and then type the command /join ##, where ## represents the number displayed in your server when you type the open command.

image2.jpg

Make sure the Minecraft usernames that are in your Setup­Mulitplayer function are those of you and your friends. For example, if your Minecraft username is thoughtstem and your friend’s username is thoughtstem2, your SetupMultiplayer function would look like.

image3.jpg

Click Mod in your LearnToMod account, and then run the yourgame_Multiplayer mod in Minecraft. You and your friend are teleported to the center of the arena.

image4.jpg

When one of you breaks the melon block in this game, you both should start making blocks below you disappear.

image5.jpg

Play the multiplayer version to make sure you have written all of the code correctly as you think it should be.