-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
70 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
--- | ||
sidebar_position: 1 | ||
--- | ||
|
||
# Installation | ||
|
||
### Dependenceis | ||
- Pyhton: v3.9 | ||
- Node: v18 | ||
|
||
### Prepare JDK 21>= | ||
- For example, donwload the installation file from [https://www.oracle.com/java/technologies/downloads/#jdk22-mac](https://www.oracle.com/java/technologies/downloads/#jdk22-mac). | ||
|
||
### Download and Run Fabric Minecraft Server Launcher on local | ||
```sh | ||
chmod 751 scripts/*run*.sh | ||
|
||
# If a server isn't installed | ||
scripts/download_run_server.sh | ||
|
||
# IF a server is already install | ||
scripts/run_server.sh | ||
``` | ||
### Set world | ||
- seed: 637184628307790 | ||
- coordinate: 63 94 168 | ||
Set the x y z position on the server command | ||
``` | ||
/setworldspawn 63 94 168 | ||
``` | ||
|
||
server.properties: These settings will automatically set via download_run_server.sh. | ||
```txt | ||
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 | ||
``` | ||
### Prepare minecraft mods for client | ||
- Check the [fabric mods installation document](installation/fabric_mods_install.md) | ||
### Make python environment | ||
```sh | ||
conda create -n mw python=3.9 -y | ||
conda activate mw | ||
make install | ||
``` | ||
|
||
### Install mineflayer and additional minecraft interface library | ||
```sh | ||
npm install mineflayer | ||
|
||
cd voyager/env/mineflayer | ||
npm install -g npx | ||
npm install | ||
cd mineflayer-collectblock | ||
npm install | ||
npx tsc | ||
cd .. | ||
npm install | ||
``` | ||
|
||
### Set environment variables | ||
Make `.env` file and set environment variables like `.env.sample`. |
This file was deleted.
Oops, something went wrong.