Skip to main content

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

  1. 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
  2. Download Eclipse Temurin (recommended) or OpenJDK - both are free and fully compatible with Minecraft
  3. 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 with chmod +x start.sh and run it through your terminal using ./start.sh.

  1. Download the server pack for your modpack (usually found in "Additional Files" or "Server Files" section of the modpack page)
  2. Extract the compressed file using 7-Zip or equivalent

Windows Setup

  1. Run Windows PowerShell as administrator
  2. Enter: Set-ExecutionPolicy RemoteSigned
  3. Type Y to accept and close PowerShell
  4. Open PowerShell normally
  5. Navigate to your server directory: cd path\to\server
  6. Run: Unblock-File -Path .\start.ps1
  7. Execute: .\start.ps1

All Operating Systems

  1. Accept the Minecraft EULA by entering I agree or manually editing eula.txt
  2. Wait for server initialization
  3. Follow the connection steps below
  4. 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 address
  • server-port: Default is 25565
  • max-players: Adjust based on your needs
  • difficulty: peaceful, easy, normal, or hard
  • gamemode: survival, creative, adventure, or spectator
  • motd: Server description
  • pvp: true or false
  • view-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)

  1. In Minecraft, click "Multiplayer" → "Add Server"
  2. Server Address: Use localhost or your local IP address

Connecting Remotely (WAN)

  1. Find your public IP address by searching "what is my IP" online
  2. In Minecraft: "Multiplayer" → "Add Server"
  3. Server Address: your.public.ip:25565

Port Forwarding

Required for players connecting from different networks:

  1. Access your router's admin panel
  2. Find port forwarding settings
  3. 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

  1. Connection Refused:
    • Verify server is running
    • Check port forwarding
    • Confirm firewall settings
  2. Lag:
    • Check allocated RAM
    • Reduce view distance
    • Monitor system resources
  3. Modpack Sync:
    • Ensure all players have identical modpack versions
    • Verify modpack compatibility