User Guide ‐ Main interface ‐ Others ‐ Scorebot - MarechJ/hll_rcon_tool GitHub Wiki
🧭 You are here : Wiki home / User Guide / Main interface / Others / Scorebot
Scorebot is a CRCON's plugin that displays game stats in a dedicated Discord channel.
[!NOTE] CRCON doesn't need Scorebot to work.
Configuration
If you want to enable it, there are 4 mandatory settings you have to configure :
In VISUAL mode
In CODE mode
-
author_name_text
:
The title displayed on the Discord embed."author_name_text": "Our server's current game stats",
-
base_api_url
:
The URL you use to connect to CRCON's user (private) interface.
If you only manage one game server (and didn't change the default ports values in thehll_rcon_tool/.env
file),
it should look like this :"base_api_url": "http://123.123.123.123:8010/",
-
base_scoreboard_url
:
Same as the previous one, but using the public port.
If you only manage one game server (and didn't change the default ports values in thehll_rcon_tool/.env
file),
it should look like this :"base_scoreboard_url": "http://123.123.123.123:7010/",
-
webhook_urls
:
One (or several) Discord webhook(s) that will display the game stats.
It should look like this :"webhook_urls": [ "https://discord.com/api/webhooks/..." ]
[!NOTE] If you dont know how to create a Discord webhook, you can have a look at this video.
Increase refresh delay (optional)
You also can increase the refresh delay of the bot,
thus avoiding it to spam your Discord channel and trigger the Discord rate limit :
Increase the refresh_time_secs
to something like 300
(5 minutes) :
"refresh_time_secs": 300,
Restart Scorebot service
The new parameters should be enabled as soon as Scorebot rereads its configuration.
That could take a minute or so. If you don't want to wait, just stop and restart Scorebot's service in Settings / Services.