Files
firefrost-services/services/rules-mod/CHANGELOG.md
Claude (Chronicler #83 - The Compiler) 60740386ac v1.0.2: Fix config reset — switch from SERVER to COMMON config type
SERVER configs in world/serverconfig/ are tied to the world load/unload
lifecycle, causing Forge to overwrite edited values on every restart.
COMMON configs in config/ load once at startup and persist reliably.

Config location changed:
  firefrostrules: config/firefrostrules-common.toml
  discordrules:   config/discordrules-common.toml

All 6 builds updated (3 firefrostrules + 3 discordrules).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 17:22:39 -05:00

1.8 KiB

Rules Mod Changelog

[1.0.2] - 2026-04-13

Fixed

  • Config reset on restart — switched from ModConfig.Type.SERVER to ModConfig.Type.COMMON
  • SERVER configs live in world/serverconfig/ and are tied to world load/unload lifecycle, causing Forge to overwrite edited values on every restart
  • COMMON configs live in config/ and load once at startup — values persist reliably

Changed

  • Config location: world/serverconfig/firefrostrules-server.tomlconfig/firefrostrules-common.toml
  • Config location (generic): world/serverconfig/discordrules-server.tomlconfig/discordrules-common.toml
  • Updated INSTALL.md with new config path

Breaking

  • Old config file at world/serverconfig/ will be ignored — must re-enter values in new config/ location

Applies To

  • firefrostrules 1.0.2 (FFG branded, all 3 MC versions)
  • discordrules 1.0.2 (generic/CurseForge fork, all 3 MC versions)

[1.0.1] - 2026-04-13

Fixed

  • Config values no longer reset to defaults on server restart (Forge config spec timing issue)
  • Added ModConfigEvent.Loading handler with clear warnings when default config is detected

Added

  • Install procedure documentation in INSTALL.md
  • Loading event handler logs channel ID on successful config read

Applies To

  • firefrostrules 1.0.1 (FFG branded, all 3 MC versions)
  • discordrules 1.0.1 (generic/CurseForge fork, all 3 MC versions)

[1.0.0] - 2026-04-12

Added

  • Initial release
  • /rules command fetches rules from a Discord message via bot token
  • 30-minute cache with fallback to defaults
  • 60-second per-player cooldown
  • Configurable via world/serverconfig/firefrostrules-server.toml
  • discordrules generic fork for CurseForge distribution (no FFG branding, configurable colors)