Skip to content

v0.1.2 - graceful config errors + inline token

Latest

Choose a tag to compare

@HamzaQaz HamzaQaz released this 04 May 04:03

Two improvements over v0.1.1.

Changes

  • No more server crash on missing token. If DMCL_DISCORD_TOKEN is unset, dmcl.toml is missing fields, or any other DMCL init error happens, the mod now logs a clear error and disables itself. The rest of your server keeps running normally.
  • Inline token supported. The default config/dmcl.toml ships with a PASTE_YOUR_DISCORD_BOT_TOKEN_HERE placeholder so you can paste your bot token directly into the file. The env:DMCL_DISCORD_TOKEN form still works if you prefer env vars.

Compatibility unchanged

Minecraft 1.21.1, 1.21.2, 1.21.3 with Fabric Loader >= 0.16.0 and Fabric API.