Ported from 1.20.1 source with 1.18.2 API changes (TextComponent, sendMessage w/ UUID, getPlayer).
Both compile clean on Java 17 + ForgeGradle 6.0 + Gradle 8.8.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Console /rules now fetches from Discord async (was returning hardcoded
fallback without attempting fetch). DIAG logging kept for observability.
All 6 builds at 1.0.5. CHANGELOG.md, INSTALL.md, ACTIVE_CONTEXT.md updated.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1.20.1: ModConfigEvent fires on mod bus, not MinecraftForge.EVENT_BUS.
Moved Loading/Reloading to FMLJavaModLoadingContext.getModEventBus().
Added config file header warning about preserving [section] headers.
Debug logging in RulesCommand prints token length + channel at runtime.
All 6 builds bumped to 1.0.3.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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>
- Added ModConfigEvent.Loading handler to detect default config on startup
- Warns clearly in logs when bot_token is still YOUR_TOKEN_HERE
- Bumped all 6 builds to 1.0.1 (3 firefrostrules + 3 discordrules)
- Created CHANGELOG.md and INSTALL.md with correct install procedure
- Updated CLAUDE.md with install procedure note
- 1.16.5 uses ModConfig.Loading (different class hierarchy from 1.20.1+)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Fork firefrost-rules into discord-rules with configurable colors,
emoji strip toggle, MIT license, and generic branding. All 3 versions
compiled: 1.21.1 (NeoForge/NC1), 1.20.1 (Forge), 1.16.5 (Forge).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Source code complete for all 3 versions (1.21.1, 1.20.1, 1.16.5).
1.20.1 and 1.16.5 jars built successfully. 1.21.1 NeoForge decompiler
needs >4GB RAM — this server only has ~4GB total.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>