Altair altair · online

Altair RBW

liveour first project

A Discord bot for The Hive that runs ranked custom matches with no host. Eight players join a voice queue, the bot drafts the teams, opens a Hive custom server, watches every round live, then scores the game and updates everyone's Elo.

Code
100k+ lines
Edge cases
457 handled
Game modes
5 on Hive
Tests
96 files
Try Altair RBW
pythongodiscord.pybedrock protocolpostgresqldocker
Match result card for match 9939: Team 1 won 2 to 1
Altair RBW

Try the bot /yourself.

This is a working copy of Altair RBW's Discord channel. Run a command and the bot answers with the same cards it posts in our server.

tip: type / in the chat, or press 1–6
#ranked-bedwars· Altair RBW

Straight from Discord

Real cards Altair RBW draws for players, after every match and whenever someone asks. Click one to see it full size.

One match, zero hosts

What Altair RBW does during a single ranked game, straight from its log.

1Queue fills

8 players join a queue voice channel: scrim, NA, EU or Asia. Private role-locked queues and placement games are supported too.

2Draft & vote

Two captains take turns picking, or preset teams lock in. The lobby then votes on the region and the map.

3Server spins up

A Go worker logs in to Hive, creates the custom server, loads the preset, assigns teams and invites every player.

4Every round tracked

Kills, finals, beds and the best-of-3 series score update on a live control panel that staff can use mid-game.

5Scored & posted

Elo changes, ranks sync to Discord roles, and a result card posts with every player's stats. Replays settle any dispute.

Everything a ranked server needs

Built for players, and just as much for the staff who keep it fair.

Smart queues

Regional voice queues, role-locked private queues, and placement games before ranked.

/ping/leave

Elo & ranks

A tunable K-factor, ranks synced to roles, leaderboards for every stat and Elo graphs.

/leaderboard/graph

Rendered cards

Profile, history and match-result images drawn on the fly in Altair's broadcast style.

/profile/history

Live control panel

Staff can start, redo, void or sub players mid-series with Discord buttons.

/cs panel/substitute

Replay-accurate stats

Hive replays credit every bed, treasure, kill and final to the right player.

/replays

Fair play tools

Reports, disputes, queue bans, quit penalties and alt detection keep the ladder honest.

/report/dispute

More than BedWars

Each mode has its own profile for teams, objectives and how a result is scored.

MODEFORMATOBJECTIVESTATUS
BedWars Squads4v4 · rankedBeds & finalsACTIVE
Treasure Wars Squads4v4 · rankedTreasures & finalsACTIVE
Survival GamesDuosLast team standingBETA
SkyWarsSquadsLast team standingBETA
Capture the FlagTeamsFlag capturesBETA

Two bots, one system

A Python bot handles Discord. A pool of Go workers speaks Minecraft directly.

python-bot/

Discord bot PYTHON

The part players see: queues, matches, scoring, ranks and every card.

  • discord.py with Components V2 layouts
  • SQLAlchemy on PostgreSQL, run with Docker
  • image cards rendered with Pillow
  • 68 unit-test files covering match flow
go-bot/

Hive workers GO

Headless Minecraft Bedrock clients that run the custom servers.

  • built on gophertunnel + NetherNet
  • one worker per account, so matches run in parallel
  • reads forms, scoreboards and replays live
  • talks to the Python bot over a secured bridge

Built by

Special thanks to

Staff

  • dj dream
  • kelly
  • dusty
  • DarkGumball
  • Gren

Helped us gain our first few initial members

  • Hqroism

Supported us with a ton of boosts on Discord

  • corlayy

Got an idea? Let's build it.

Have something you'd like us to make next? Come say hi.