Server Hosting Guide
NOTE: For a hassle-free experience, you can host a pre-configured server from BisectHosting for 25% off using the code
PIXELDREAM
.
1. Install Java
- Download and install the appropriate Java version for your modpack:
- For Minecraft 1.17+: Java 17 or newer
- For Minecraft 1.16.5 and below: Java 8
- Always check your modpack's specific requirements
- Download Eclipse Temurin (recommended) or OpenJDK - both are free and fully compatible with Minecraft
- Verify your Java installation by running
java -version
in your terminal
2. Server Setup
Note for Mac/Linux Users: Ignore the Windows Setup section completely. Instead, make the
start.sh
script executable withchmod +x start.sh
and run it through your terminal using./start.sh
.
- Download the server pack for your modpack (usually found in "Additional Files" or "Server Files" section of the modpack page)
- Extract the compressed file using 7-Zip or equivalent
Windows Setup
- Run Windows PowerShell as administrator
- Enter:
Set-ExecutionPolicy RemoteSigned
- Type
Y
to accept and close PowerShell - Open PowerShell normally
- Navigate to your server directory:
cd path\to\server
- Run:
Unblock-File -Path .\start.ps1
- Execute:
.\start.ps1
All Operating Systems
- Accept the Minecraft EULA by entering
I agree
or manually editingeula.txt
- Wait for server initialization
- Follow the connection steps below
- To stop the server safely, always use the
stop
command
3. Connection Setup
Server Configuration
Edit server.properties
and configure these important settings:
server-ip
: Your local IP addressserver-port
: Default is 25565max-players
: Adjust based on your needsdifficulty
: peaceful, easy, normal, or hardgamemode
: survival, creative, adventure, or spectatormotd
: Server descriptionpvp
: true or falseview-distance
: Render distance in chunks (8-16 recommended)white-list
: true or false for enabling whitelist
Note: Server restart is required after modifying
server.properties
Connecting Locally (LAN)
- In Minecraft, click "Multiplayer" → "Add Server"
- Server Address: Use
localhost
or your local IP address
Connecting Remotely (WAN)
- Find your public IP address by searching "what is my IP" online
- In Minecraft: "Multiplayer" → "Add Server"
- Server Address:
your.public.ip:25565
Port Forwarding
Required for players connecting from different networks:
- Access your router's admin panel
- Find port forwarding settings
- Create a new rule:
- Protocol: TCP/UDP
- External Port: 25565
- Internal Port: 25565
- Internal IP: Your server's local IP
Performance Tips
- Allocate appropriate RAM in start script
- Set reasonable view-distance (8-12 chunks)
- Keep entity-broadcast-range-percentage at 100 or lower
- Monitor TPS (Ticks Per Second) for server health
Common Issues
- Connection Refused:
- Verify server is running
- Check port forwarding
- Confirm firewall settings
- Lag:
- Check allocated RAM
- Reduce view distance
- Monitor system resources
- Modpack Sync:
- Ensure all players have identical modpack versions
- Verify modpack compatibility