How to add a minecraft server
Determine whether you want to set up a local server to play with friends on the same network or a remote server hosted by a third-party provider. Remote servers are generally more reliable and accessible from anywhere, but they often require a subscription fee.
Install Minecraft Server Software:
Download the Minecraft server software from the official Minecraft website . Make sure to choose the version that corresponds to the Minecraft version you and your friends are using.
Configure the Server:
Create a new folder on your computer where you want to store the server files. Place the downloaded server software in this folder. To configure the server, you'll need to edit the server.properties file. Open it with a text editor and modify settings such as server name, world size, difficulty level, and more according to your preferences.
If you're setting up a local server, you'll need to configure port forwarding on your router. Access your router's settings, find the port forwarding section, and forward the Minecraft server port to your local IP address. Consult your router's documentation for specific instructions.
Start the Server:
Double-click the server software file you downloaded to launch the server. A new command prompt or terminal window will open, indicating that the server is running. The initial startup may take some time as it generates the world.
Whitelist or Set Permissions (Optional):
If you want to restrict access to your server, you can set up a whitelist or permissions system. To whitelist players, create a whitelist.txt file in the server folder and add the usernames of players who are allowed to join. To set up permissions, you'll need to use a third-party plugin like "PermissionsEx" or "LuckPerms" to define player groups and their capabilities.
That's it! You've successfully added a Minecraft server. Enjoy playing and exploring with your friends in your very own Minecraft world.