Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instructions for running a dedicated minecraft server. Fixes #76 #100

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions installation/minecraft_instance_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,26 @@ After you install official Minecraft, you should have a Minecraft official launc
5. Select `Allow cheats: ON` and press `Start LAN World`.
6. You will see a port number in the chat log, that is your `mc-port`, use this number to instantiate Voyager later.

## Option 3: Run a dedicated Minecraft server
Install the Fabric minecraft server following the instructions at https://fabricmc.net/use/server/, or use the below:
```
curl -OJ https://meta.fabricmc.net/v2/versions/loader/1.19/0.14.18/0.11.2/server/jar
java -Xmx2G -jar fabric-server-mc.1.19-loader.0.14.18-launcher.0.11.2.jar nogui
```

This will start the server, creating the necessary folder structure. You should now kill the server by typing `stop`

You should now copy the mods into the mods directory as per https://github.com/MineDojo/Voyager/blob/main/installation/fabric_mods_install.md

Edit the `server.properties` file, changing the following values
```
difficulty=peaceful
gamemode=survival
online-mode=false
enable-rcon=true # Only needed if you wish to use RCON features
rcon.password=hunter2
rcon.port=25575
spawn-protection=0 # This is important, otherwise the bot can't do anything near the spawn
```

You can now start the server again. Now you can start Voyager, and have it connect with `mc_port=25565`. Once `bot` has joined the minecraft server, run `op bot` in the minecraft server console.