Go to file
2024-07-27 21:49:23 -04:00
assets/common Clean up assets 2024-07-27 21:16:49 -04:00
src Clean up 2024-07-27 21:49:23 -04:00
.gitignore Clone from trade_bot; Remove trading features 2024-07-27 20:36:12 -04:00
Cargo.lock Clone from trade_bot; Remove trading features 2024-07-27 20:36:12 -04:00
Cargo.toml Clone from trade_bot; Remove trading features 2024-07-27 20:36:12 -04:00
config.toml Clean up assets 2024-07-27 21:16:49 -04:00
Dockerfile Fix Dockerfile 2024-06-12 19:06:51 -04:00
README.md Add README.md 2024-06-13 05:57:34 -04:00
rust-toolchain Initial commit 2024-06-11 19:51:46 -04:00

Veloren Group Bot

Group management bot for Veloren

Usage

If you choose to run this but with Docker or Podman, you only need to create a local config.toml. But if you choose to compile you must clone this repository.

Step 1: Create config.toml

Create a config.toml file in the project root.

# config.toml
username = "YOUR_USERNAME"
password = "YOUR_PASSWORD"
admin_list = []
ban_list = []

Step 2: Run via Docker/Podman

Use Podman (or Docker) to run the release build without exposing secrets. First, create the secret.

podman secret create config.toml config.toml

Then run the container.

podman run \
    --secret config.toml \
    --env CONFIG_PATH=/run/secrets/config.toml \
    git.jeffa.io/jeff/group_bot

Step 2 (Alternate): Run via cargo

Install rustup and use cargo to compile and run the bot.

CONFIG_PATH=config.toml cargo run