Tool for Discord PBEM

Moderator: Vic

Post Reply
LawhMods
Posts: 2
Joined: Thu Jan 30, 2025 3:52 pm

Tool for Discord PBEM

Post by LawhMods »

I made a tool that I use for PBEM games. It's "dumb", as in if something goes out of sync or if a player leaves or is defeated, you might have to restart it or change a setting. It doesn't rely on accessing any game processes. If anyone is interested in it I can upload it somewhere.

How it works:
- It reads a Discord channel, whether you have the Discord app running or not. If a file is posted onto the channel and the file name has your name tag and the correct game name, it will download the file and place it to the Shadow Empire saves folder.
- It plays a sound when a file is downloaded.
- If you are the first in your turn, it will increase the turn number automatically. It will swap your name with the one who is next in line. The syntax for a save file is "GAMENAME_Turn###_PLAYERNAME.se1"
- Once you load the file, play your turn, and then save the file, it will automatically be uploaded to the channel. It plays a sound when it has uploaded the file to the Discord channel.

If all players have use this tool, the save transfers are fully automated. If you weren't online when a message was sent to you, you can find it in the chat and download it normally. Once it is downloaded, the save will be sent to the Shadow Empire saves folder and the fully automated process can begin again.

The app requires a bot be placed into the Discord server who will handle everything.
Post Reply

Return to “War Room”