Skip to content

Installation and Usage

plun1331 edited this page May 5, 2026 · 3 revisions

Initial Setup

Follow these instructions to start a new bridge bot instance:

  1. Install Docker: Instructions Here

  2. Copy the Docker Compose File:

    curl https://raw.githubusercontent.com/SkyKings-Network/GuildBridgeBot/refs/heads/main/compose.yml > compose.yml
  3. Update the settings for your compose file as needed:

    nano compose.yml
  4. Start the Bot:

    docker compose -f compose.yml up -d

If you are running the bot for the first time, you will need to log in with a Minecraft account. To do this, check the logs of the bot container to get the link to log in:

docker compose logs -n 50

Running multiple bridge bots

To run multiple bridge bots, you will need to add on to your docker compose file. Each bot will need its own service definition.

  1. Open your compose file:

    nano compose.yml
  2. Add a new service for each additional bot:

    bot2:
        image: skykingsnetwork/guildbridgebot:latest
        container_name: guildbridgebot2
        restart: unless-stopped
        environment:
          - BRIDGE_USE_ENV_CONFIG=true
          - BRIDGE_ACCOUNT_EMAIL=
          - BRIDGE_DISCORD_TOKEN=
          - BRIDGE_DISCORD_CHANNEL=
  3. Update the environment variables for each bot accordingly.

  4. Save and exit the file.

  5. Restart the docker compose setup:

    docker compose -f compose.yml up -d

Configuration

The bot can be configured using environment variables. For all options, see the configuration page.

Updating the Bot

To update the bot to the latest version, run the following commands:

docker compose -f compose.yml pull
docker compose -f compose.yml up -d

Clone this wiki locally