This is a standalone service with similar concept as twilight-dispatch, meant to be used with Andesite. It mainly serves as a middleman to manage cache with Redis, publishes and receives events to and from RabbitMQ.
If you encounter issues while running the service, feel free to contact CHamburr#2591 on Discord, either through Direct Message or on the Twilight server.
- Low CPU and RAM footprint
- Resumable after restart
- Prometheus metrics
- State cache with Redis
- Docker container support
Gateway events are forwarded to and from RabbitMQ.
Events are sent to a topic exchange player
, with the event name as the routing key. By default,
there is a player.recv
channel bound to all messages from the exchange. To send events to
Andesite, connect to the channel player.send
, then publish the raw event as you normally would.
State caching with Redis is supported out of the box.
The objects available are in the table below. All values are stored in the plain text form.
Key | Description |
---|---|
player:guild_id |
Player information for a guild. |
player_id |
Andesite connection ID. |
player_stats |
Andesite statistics. |
The installation steps are similar to that of twilight-dispatch. Please refer to that instead.
This project is licensed under ISC.