u/Aggravating-Ad9838

OpenTTD Admin Bot – Auto-pause, goal tracking, company cleanup and more [Open Source]
▲ 20 r/openttd

OpenTTD Admin Bot – Auto-pause, goal tracking, company cleanup and more [Open Source]

Hey fellow server hosts!

Tired of babysitting your OpenTTD server? I built a lightweight async Python bot that handles the tedious stuff automatically so you don't have to stay glued to the admin console.

https://preview.redd.it/ngh7eceat9wg1.png?width=564&format=png&auto=webp&s=5a336ea821d17166e6f830331ba5b2934ef44dcc

https://preview.redd.it/b1cm6nw0t9wg1.png?width=1032&format=png&auto=webp&s=b7c83a35f059a60cdabefc449dd9e60778a9c486

**Admin Bot features:**

**Auto-pause/unpause** — Server pauses when no companies exist, resumes the moment someone starts one. No more wasted ticks on an empty map.

**Goal tracking & winner announcement** — Set a company value target. When someone hits it, the bot announces the winner, counts down 20 seconds, and automatically loads a fresh map.

**Auto-clean idle companies** — Configurable age + value thresholds. Stale low-value companies get swept out automatically, keeping the game competitive.

**Self-service `!reset`** — Players can reset their own company without bugging you. Type `!reset`, move to spectator within 15s to confirm, done.

**In-game leaderboard** — `!cv` shows a live company value ranking in chat, with optional auto-broadcast on a timer.

**Multi-server from a single process** — Add `[server2]`, `[server3]`, etc. to the config. One bot, many servers.

**Auto-reconnect** — Bot reconnects automatically if a server goes down.

GitHub: https://github.com/nelbin4/openttd-admin-bot

Requires Python 3.10+ and OpenTTD 14.0+ with the admin port enabled. Docker support included.

---

**Gamescipt used: Production Booster**

https://preview.redd.it/eq6qurv3v9wg1.png?width=740&format=png&auto=webp&s=4388e986aa8c391d175a7fa8fbc598f32b402324

I also made a gamescript I pair with this setup — Production Booster. Industries grow when you serve them well and shrink when you neglect them, making transport efficiency actually matter. All thresholds are adjustable in-game without restarting.

It's available directly from the in-game content browser (BaNaNaS) — just search "Production Booster" under Gamescripts.

GitHub: https://github.com/nelbin4/openttdprodboost

---

Both are open source and free to use. Happy to help with setup in the comments!

reddit.com
u/Aggravating-Ad9838 — 1 day ago