Headjack - Rust Matrix wrapped - https://docs.rs/headjack/0.4.0/headjack/index.html
Copy config.example.yml and rename to config.yml. Set up the config.yml as required.
If you have no rooms specified the bot will respond in ALL rooms.
To Build: docker build --progress=plain -t text-rpg .
Add --no-cache if you need to test modifying the docker image.
docker images to list the available images.
To run: docker run -p 443:443 -v /etc/ssl:/etc/ssl:ro -v .:/data --rm --name text-rpg1 text-rpg
For more info refer to: https://dev.to/rogertorres/first-steps-with-docker-rust-30oi
compose.yml is provided to help setup the docker image and supply the appropriate files needed.
Build the docker image first.
Copy config.yml into ~/Docker/text-rpg.
docker-compose -f compose.yml up --build.
Note that once you run docker-compose, the container will start and will be started when ever docker is started on your machine.
cargo build --release
cargo run --release
- .start - Start a new game with joined players.
- .join - Join the adventure party lobby.
- .leave - Leave the adventure party lobby.
- .act {text} - Perform an action.
- .ask {text} - Ask a question.
- .set {key} {value} - Set a game setting (e.g. .set timeout 30s).
- .end - End the current game.
- .help - Show this help message.
- .dump - Dump the game state for debugging.
- Some end game story prompt for when all objectives are met
- Ensure players can't 'invent stuff'
- Stop players who are dead from acting.
- Clean up error handling - add an error and Result type
- AI image generation (https://dashboard.getimg.ai/api-keys)