https://github.com/freyacodes/apbot
Discord webhook-based Archipelago tracker
https://github.com/freyacodes/apbot
Last synced: over 1 year ago
JSON representation
Discord webhook-based Archipelago tracker
- Host: GitHub
- URL: https://github.com/freyacodes/apbot
- Owner: freyacodes
- Created: 2023-02-06T09:09:33.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-23T17:21:00.000Z (over 3 years ago)
- Last Synced: 2025-01-21T06:29:10.030Z (over 1 year ago)
- Language: Kotlin
- Size: 64.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# apbot
Discord webhook-based Archipelago tracker
This tracker connects to an Archipelago multiworld and posts messages to a Discord webhook.

## Building
It can be compiled with `./gradlew build` (Unix-like) or `gradlew.bar build` (Windows).
The compiled application will be `build/libs/apbot-1.0-SNAPSHOT-all.jar`
## Configuration
The bot must be configured using a file called `config.properties` like so:
```properties
archipelagoUrl=ws://archipelago.gg:12345
webhookUrl=
whitelist=MyFactorioWorld, MyOtherWorld
name=MyFactorioWorld
game=Factorio
```
`archipelagoUrl`: URL of the Archipelago server, typically `ws://archipelago.gg` with a port specific to your multiworld
`webhookUrl`: Discord Webhook url. See https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks
`whitelist`: A comma-separated list of filters. If `foo, bar` is specified, then any message containing `foo` or `bar` are forwarded.
`name`: Player name that Archipelago will connect as. Can be any of the worlds in the multiworld
`game`: The game that matches the specified player name
## Running
Once configured, you can run the JAR file:
`java -jar apbot-1.0-SNAPSHOT-all.jar`