Skip to content

Host a Server

Kyber edited this page Oct 31, 2023 · 9 revisions

NOTE: If this is too much of a hassle, you can host a pre-configured server from BisectHosting for 25% off using the code PIXELDREAM.

1. Install Correct Java Version

  1. Download and Install Temurin
  2. Verify the Java version you are running is correct

2. Server Pack

Mac OS and Linux users should ignore steps 3-7, and instead run the start.sh file through their terminal.

  1. Download the server pack from the Additional Files section
  2. Extract the compressed file using 7-Zip (or something equivalent)
  3. Run Windows PowerShell as administrator, enter the command Set-ExecutionPolicy RemoteSigned, accept the prompt by entering Y then close Windows PowerShell
  4. Run Windows PowerShell normally
  5. Navigate to the directory of the server pack using cd path\to\directory (e.g. cd Downloads\fantasymc_fabric_1.0.0_server_pack)
  6. Run the following command: Unblock-File -Path .\start.ps1
  7. Then run this command: .\start.ps1
  8. Enter I agree to the EULA agreement
  9. Wait for the server to start
  10. Follow the steps below regarding How to Connect
  11. When you are done playing, run stop and wait for the world to save

3. How to Connect

Edit server.properties

First and foremost, you need to fill in your local IP address in the server-ip field. Keep in mind that you have to restart your server for any changes made in server.properties to take effect.

Example of a server.properties file
#Minecraft server properties
#Wed Dec 23 23:04:12 CET 2020
allow-flight=true
allow-nether=true
broadcast-console-to-ops=true
broadcast-rcon-to-ops=true
difficulty=normal
enable-command-block=true
enable-jmx-monitoring=false
enable-query=false
enable-rcon=false
enable-status=true
enforce-whitelist=true
entity-broadcast-range-percentage=100
force-gamemode=false
function-permission-level=2
gamemode=survival
generate-structures=true
generator-settings=
hardcore=false
level-name=world
level-seed=
level-type=bclib\:normal
max-build-height=256
max-players=10
max-tick-time=120000
max-world-size=29999984
motd=A Fantasy MC Fabric Server
network-compression-threshold=256
online-mode=true
op-permission-level=4
player-idle-timeout=0
prevent-proxy-connections=false
pvp=true
query.port=25565
rate-limit=0
rcon.password=
rcon.port=25575
resource-pack=
resource-pack-sha1=
server-ip=#FILL IN YOUR LOCAL IP-ADDRESS HERE
server-port=25565
snooper-enabled=false
spawn-animals=true
spawn-monsters=true
spawn-npcs=true
spawn-protection=16
sync-chunk-writes=true
text-filtering-config=
use-native-transport=true
view-distance=10
white-list=false

LAN

  1. Click Add Server in Minecraft
  2. Type localhost or your local IP address, in the Server Address box

WAN

  1. Search what is my IP with Google to find your public IP address
  2. Click Add Server in Minecraft and type the public IP address followed by a colon and the Minecraft port (e.g. 172.217.22.14:25565) in the Server Address box
  3. You also need to enable port-forwarding for your friends to be able to connect from a different network
  4. This is a guide on how to enable port-forwarding for Minecraft: How to Port-Forward a Minecraft Server
Clone this wiki locally