Minecraft Modding For Kids For Dummies
Book image
Explore Book Buy On Amazon

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.

About This Article

This article is from the book:

About the book authors:

Sarah Guthals, Ph.D. is the CTO of ThoughtSTEM and has dedicated her life to coding education.

Stephen Foster, Ph.D. is the CEO of ThoughtSTEM, a company that teaches computer science to kids across America.

Lindsey Handley, Ph.D. is the COO of ThoughtSTEM and has hundreds of hours of experience as a classroom instructor for Minecraft based science and computer science classes.

This article can be found in the category: