For better version, check Deerclops
Ladies and gantleman,
I present you
It is not a boss. It is a bot.
Player just type .dst and the bot prints down online players. See:
- Invite bot to your server
- You need to create one Discord channel
#admin-dst-infowith permission for that bot. - Type
.dst server add {dst-ip}in#admin-dst-info - You can type
.dstanywhere channels in order to get the list of online players.
.dst
Prints list of your servers, with a brief information - day, season, name. Prints all players in the servers, player name, day, character If there is a DST version mismatch, the bot can print it below the list.
.dst [n]
where n is an integer (number), prints information of your n-th server in the "list".
.meow
prints 🐱
.help
Prints some smeggy help.
.smeg
Red dwarf!
.dst server
Prints saved server number, ip, Steam port and Klei row id.
.dst server add [IP]
Adds all servers having [IP] into your serverlist.
.dst server add [IP:PORT]
Adds single server having [IP:PORT] into your serverlist.
Note that Port is a game port.
.dst server clear
Remove all servers from the server list.
The bot parses Steam servers only which are NOT based in China region due to performace.
Solution: spam Klei boys! They haven't give me pernament client token, yet :(
- Download the source codes
- The project was programmed for Python 3.7.3
- Run
pip install discord, steam - You should run python ./version_checker/version.py in corn periodically (15 minutes is ok).
- Generate Discord token, spam Klei for pernament client token. Set it up in
config.py - Run
python ./bot.py
bot.py
Use discord API and parse user's input data
server_list.py
For each server, the script creates a list of game servers. The server is represented as (ip, steamPort, KleiRow_ID).
steam_list.py
Utilizes Steam API, doc: https://steam.readthedocs.io/en/stable/ Uses ip and steamPort
klei_list.py
Getting the list of lobbies does not require Klei token getServerRowID(ip, dstPort).
However if you would like to get the detailed information getServerInfoKlei(rowID), you need to set Klei's token at config.py.
config.py
Basic config.
const.py
Help strings.
./version_checker/
Older script that checks current version of DST.
