Today, besides seeing some demos from your fellow ninjas, your last lesson is how to share your Minecraft server safely on a LAN.
We are working with a Minecraft hosting service to make our modding environment set-ups available on the internet at a cost of $6 a month. At that point, it would be safe to share your server online. But while it’s on your personal machine, it’s safest you only share it with friends when they’re on the same WiFi as you.
There are three steps:
- Whitelist your friends. Your server was configured to only let players on the whitelist log in, so you’ll need to add them to it. From the server terminal or while logged into your server issue the command:
/whitelist add [PlayerName]where [PlayerName] is their Minecraft player name.
- Give them your IP address on the wireless network. On a Windows machine, you’d open a command prompt window (Windows Key + R – then cmd.exe), type in
ipconfig, and hit return. You’ll get back information on your configured network adapters and in that information, look for the WiFi adapter’s IPv4 address.
With that address, they can use the “Direct Connect” option to connect to your server.
If you’re on Linux or Mac, you’ll want to open a terminal and use:
- When they connect, they may not be able to place or destroy blocks, so they won’t be able to build. If you want to give them FULL access to your server, you can make them an operator (but only do this with good friends you trust not to mess it up). If you just want to put them in creative mode and give them build permissions, you would issue the following commands at the server terminal or from the in-game command prompt.
/playermod permission add [PlayerName] canary.world.build:true
/gamemode 1 [PlayerName]
Remember to change [PlayerName] to the friend’s Minecraft player name.
Have fun and happy modding!