Server Setup - ZeroG-Network/NeoEssentials GitHub Wiki
Server Setup Guide
This guide will help you set up a NeoForge Minecraft server with NeoEssentials.
Prerequisites
- Java 17 or newer
- At least 4GB of RAM allocated to the server
- NeoForge 1.21.1 or newer
Step-by-Step Installation
1. Download and Install NeoForge
- Download the latest NeoForge installer for your Minecraft version from NeoForged
- Run the installer and follow the instructions to create a server
- Start the server once to generate all necessary files and folders
- Stop the server by typing
stop
in the console
2. Install NeoEssentials
- Download the latest version of NeoEssentials from GitHub Releases
- Place the NeoEssentials JAR file in the
mods
folder of your server - Restart the server
3. Initial Configuration
After starting the server with NeoEssentials installed:
- The mod will generate default configuration files in the
config/neoessentials
directory - Stop the server again by typing
stop
in the console - Edit the configuration files according to your needs (see the Configuration Guide for details)
4. Additional Setup
Memory Allocation
For optimal performance, allocate enough memory to your server:
java -Xmx4G -Xms2G -jar forge-server.jar nogui
Adjust the -Xmx
and -Xms
values according to your available RAM.
Using a Startup Script
Create a startup script to simplify server management:
Windows (start.bat):
@echo off
java -Xmx4G -Xms2G -jar forge-server.jar nogui
pause
Linux/macOS (start.sh):
#!/bin/bash
java -Xmx4G -Xms2G -jar forge-server.jar nogui
Make the script executable on Linux/macOS: chmod +x start.sh
Server Properties Configuration
Edit the server.properties
file to configure basic server settings:
server-port=25565
- The port your server will run onmax-players=20
- Maximum number of concurrent playersdifficulty=normal
- Game difficultypvp=true
- Enable or disable player versus player combatview-distance=10
- Render distance in chunksonline-mode=true
- Verify player identities with Minecraft account serversmotd=A Minecraft Server with NeoEssentials
- Server description in the server list
Setting Up Permissions
NeoEssentials works best with a permissions system:
- Install LuckPerms in your
mods
folder - Configure LuckPerms according to their documentation
- Set up permission groups and assign permissions for NeoEssentials commands
- See our LuckPerms Integration guide for details
Next Steps
Once your server is set up:
- Configure economy, homes, and other systems
- Set up custom tablist templates for a professional server appearance
- Create warps and kits for your players
Troubleshooting
If you encounter issues during setup:
- Check the server logs for errors
- Verify that you're using a compatible version of NeoForge and NeoEssentials
- Visit our Troubleshooting page for common issues and solutions
- Join our Discord server for support
Performance Tips
For server performance recommendations, see our Performance Optimization guide.