How to Make a Minecraft 1.16 Server. In this video, I show you how to create your own vanilla Minecraft 1.16 server and host a Minecraft 1.16 server to play with your friends. It’s very easy and free to setup/host/make a Minecraft 1.16 Server.
**TO PLAY WITH YOUR FRIENDS**
You need to give anyone outside your network your external IP address to join. To do this google "what is my ipv4 address" figure it out and give that to your friend along with the port. Now have your friend use that with the port to join. They would type it in this format 123.456.789.012:25565
Put this text in the batch file: java -Xmx1024M -Xms1024M -jar server.jar nogui
Substitute "server.jar" for whatever your Minecraft server .jar is named
You can edit the -Xmx and -Xms values to adjust your allocated ram. -Xmx is your maximum memory in megabytes and -Xms is your initial memory in megabytes. This is not needed.