Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
DiscordTools
Request client log file from a Discord command
| Last updated | a week ago |
| Total downloads | 259 |
| Total rating | 1 |
| Categories | Mods Tools Server-side Client-side AI Generated |
| Dependency string | warpalicious-DiscordTools-1.1.0 |
| Dependants | 2 other packages depend on this package |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2333README
DiscordTools
DiscordTools is a client/server mod for sending a client LogOutput.log file to Discord.
Features
- Server command:
client-logs {playerNameOrSteamID} - Client log upload when a player logs out.
- Client log upload attempt when a player quits the game.
- Server archive folders include both player name and stable player ID.
- Server writes JSON metadata and lookup indexes.
How to use
- Requires a Discord bot with a compatible upload API if you want logs posted to Discord.
- Install DiscordTools on the dedicated server and on every client that should be able to send logs.
- Set
DISCORDTOOLS_BOT_API_URLandDISCORDTOOLS_BOT_API_KEYin the dedicated server config file. - Run
client-logs {playerNameOrSteamID}on the server to request that player's log. - Logs are saved on the server disk and, when configured, sent to Discord as a
.logattachment.
Server Storage
Logs are stored under BepInEx/client-logs by default:
client-logs/
players/{playerName}_{playerId}/
player.json
latest.json
logs/{yyyy-MM}/
{timestamp}_{reason}_{playerName}_LogOutput.log.gz
{timestamp}_{reason}_{playerName}_LogOutput.json
index/
players.json
recent.json
incoming/
bot-upload-failed/
Older archives stored under players/{playerId}/ remain readable.
Donations/Tips
I make mods because I enjoy it and want to make Valheim more enjoyable for everyone. If you feel like saying thanks you can tip me here.
| My Ko-fi: |
|---|
Source Code
Source code is available on Github.
| Github Repository: |
|---|