Caught by actually running the mod on a real Factorio 2.0.77 server:
Error while loading mod-setting prototype
"kafkatorio:cache-expiration-seconds_kafkatorio-packet-keyed-PlayerUpdate"
(double-setting): Invalid prototype name. Only characters
A-Z a-z 0-9 _- are allowed.
cacheDurationSettingName() built names with a ":" separator
("kafkatorio:cache-expiration-seconds_..."), which Factorio 2.0
rejects outright. Replaced it with "-", matching the mod-name-prefix
convention the engine's own docs recommend. This is a pure runtime
validation issue invisible to the TypeScript compiler - exactly the
kind of thing only actually loading the mod in-game catches.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| src/main | ||
| build.gradle.kts | ||
| mod-portal-description.md | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||