Skip to content

ChatBridge with ServerStats #56

Closed

Description

@svmotnik

Hello!

You're great guys! ^^

I hope it's not that much of a hussle!...

Chat Channel - only messages sent by people in the discord and bot that sends ingame message to this discord channel.
Monitoring Channel - system messages (not messages sent by players), deaths, joins, lefts, blood moon annoucements (the day it will be started, when it starts and when it ends) and server stats message that will be always on the bottom of the channel (tell me if it's not possible). If not tell me the easiest possiblity so players can always see server status in most static (same place) manner. Will information about server starting or offline could be possible also?

Can you make it in Polish?
"...died." -> "...nie żyje."
"...joined game." -> "...dołącza do gry."
"...left game." -> "...opuszcza grę."
"Blood Moon is starting..." is "Krwawy Księżyc wschodzi..."
"Blood Moon is ending..." will be "Krwawy Księżyc zachodzi..."
"Today is the Blood Moon day..." will be "Dzisiaj zapowiadają Krwawy Księżyc..."
"Server starting..." is "Serwer startuje..."
"Server is down." is "Serwer wyłączony."

Can I ask for Server Stats message to be in Polish language also?
(onlineplayersnumber) os. ⭒ Dzień (dayinthegame) ⭒ (timeingame) ⭒ (blood_drop_icon) [if there will be bloodmoon active]

5 os. ⭒ Dzień 60 ⭒ 14:43 ⭒ 🩸
Lista graczy:

"os." means "osoby" - "people" ; "Dzień" means "Day" ; "Lista graczy:" means "Players list:"

Image Something like that description.

EDIT: ...and maybe list of players under it.

In ideal world this would be fire if Server Stats will be shown as Discord Channel, but there are API limitations I guess and it's not that easy. In the screenshot I used mod called Server7 that I made Discord app and bot for and it displayed as bot description, but the need of installing mod onto server denied my console player access, so I had to delete it.

I can pay you if it will be troublesome, if not now in the future for sure. :)

Cheers!

Activity

  1. koji-assistant commented on Jul 18, 2026

    @koji-assistant
    Contributor

    Picked up by Harambe. I’ll build this as a module PR and test it against the active 7D2D testing server before marking it ready.

  2. El-Limon commented on Jul 21, 2026

    @El-Limon
    Contributor

    Implemented and pushed in PR #57: #57

    The pushed code scope is limited to modules/discord-7d2d-status-bridge/.

    The module now includes:

    • Separate Discord chat and monitoring channels.
    • English and Polish presets, including the requested Polish wording.
    • Optional custom wording for monitoring, Blood Moon, server-state, and status messages.
    • Join, leave, death, Blood Moon, server starting/offline, and chat-relay handling.
    • One persistent Discord server-status message that is edited in place with player count/list, game day/time, and Blood Moon indicator.
    • /serverstats for the same status information in game.

    Verification completed:

    • Build and TypeScript checks pass.
    • The focused real-Takaro integration suite passes: 13/13 tests.
    • Live Takaro MCP QA on a reachable 7D2D server with zero players verified status-message creation and update, English/Polish/custom Blood Moon phases, duplicate phase suppression, and server online/offline notifications.
    • Disposable QA modules, installations, and variables were removed afterward.

    The player-dependent /serverstats path could not be exercised with a real 7D2D player because nobody was online, but it is covered by the real-API integration suite.

    Current CI note: GitHub's build/typecheck job passed. The integration job did not reach the tests because the shared CI bootstrap cannot pull the missing ECR image takaro-app-api:latest. The same infrastructure error is affecting other branches and is unrelated to this module's changes.

  3. svmotnik commented on Jul 23, 2026

    @svmotnik
    Author

    Hello!

    ChatBridge is working as for now. Question - if I have set BloodMoon range 1 - there's no way to trigger BM messages precisely?
    Monitoring is not working. Monitor Channel ID - set. I even gave admin rights to Takaro bot - nothing (chat relay works). Can there be also separate per player (private) message about "Blood Moon Today", when player joins server and is the only player on the server?

    Image

    Log under
    message (1).txt

    EDIT: Everythings working - I've found out it's the Discord permission problem regarding monitoring bot... It's working!

    Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions