-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
.
- Download and Install Temurin
- Verify the Java version you are running is correct
Mac OS and Linux users should ignore steps 3-7, and instead run the start.sh file through their terminal.
- Download the server pack from the Additional Files section
- Extract the compressed file using 7-Zip (or something equivalent)
- Run Windows PowerShell as administrator, enter the command
Set-ExecutionPolicy RemoteSigned
, accept the prompt by enteringY
then close Windows PowerShell - Run Windows PowerShell normally
- Navigate to the directory of the server pack using
cd path\to\directory
(e.g.cd Downloads\fantasymc_fabric_1.0.0_server_pack
) - Run the following command:
Unblock-File -Path .\start.ps1
- Then run this command:
.\start.ps1
- Enter
I agree
to the EULA agreement - Wait for the server to start
- Follow the steps below regarding How to Connect
- When you are done playing, run
stop
and wait for the world to save
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
- Click Add Server in Minecraft
- Type
localhost
or your local IP address, in the Server Address box
- Search what is my IP with Google to find your public IP address
- 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 - You also need to enable port-forwarding for your friends to be able to connect from a different network
- This is a guide on how to enable port-forwarding for Minecraft: How to Port-Forward a Minecraft Server