Kafkatorio/modules/events-mod
Lazzexus 1e8ed08ca2 Fix invalid mod-setting prototype name (colon not allowed)
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>
2026-10-12 16:12:39 +02:00
..
src/main Fix invalid mod-setting prototype name (colon not allowed) 2026-10-12 16:12:39 +02:00
build.gradle.kts Port events-mod to Factorio 2.0.77, declare SE/Krastorio 2 compatibility 2026-10-12 15:06:30 +02:00
mod-portal-description.md big ol' refactor of the Gradle Factorio Mod 2022-12-18 01:41:14 +01:00
package-lock.json Fix compile errors surfaced by actually building against Factorio 2.0.77 2026-10-12 15:27:50 +02:00
package.json Fix compile errors surfaced by actually building against Factorio 2.0.77 2026-10-12 15:27:50 +02:00
tsconfig.json Fix mod zip layout: set tsconfig rootDir so control.lua lands at mod root 2026-10-12 15:53:03 +02:00