2024-10-30 09:31:21 +01:00
|
|
|
Use this service to connect your bot to an unsupported minecraft server versions.
|
2024-10-29 11:58:11 +01:00
|
|
|
|
|
|
|
Run:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
docker-compose --profile viaproxy up
|
|
|
|
```
|
|
|
|
|
2024-10-29 12:04:56 +01:00
|
|
|
After first start it will create config file `services/viaproxy/viaproxy.yml`.
|
2024-10-29 11:58:11 +01:00
|
|
|
|
|
|
|
Edit this file, and change your desired target `target-address`,
|
|
|
|
|
2024-10-30 09:31:21 +01:00
|
|
|
then point your `settings.js` `host` and `port` to viaproxy endpoint:
|
2024-10-29 11:58:11 +01:00
|
|
|
|
|
|
|
```javascript
|
|
|
|
"host": "host.docker.internal",
|
|
|
|
"port": 25568,
|
|
|
|
```
|
|
|
|
|
|
|
|
This easily works with "offline" servers.
|
|
|
|
|
2024-10-30 09:31:21 +01:00
|
|
|
Connecting to "online" servers via viaproxy involves more effort: see `auth-method` in `services/viaproxy/viaproxy.yml` (TODO describe)
|
2024-10-29 11:58:11 +01:00
|
|
|
|
|
|
|
|
|
|
|
|