Module 13 · In Studio · challenge 3 of 3 in this lesson

For the inspector extension, validateZones enforces unique lowercase-kebab-case id, non-empty displayName, integer spawnCap 1..20, finite coinMultiplier 0.5..5.0 and positive sizeX/sizeZ

A test in Studio grades it and prints a pass code.

Open

Level 3, Professional

Challenge

Complete challenges/work/team_tooling.luau so the shared zone validator, recording guard, upload planner and manifest renderer pass every check. Run game.ServerScriptService.RunGameTests:Invoke("team-tooling", "team-tooling-pipeline") in Studio (or test in the pure Luau runner). Written solution: challenges/solutions/team-tooling.md.

Start from
The game at milestone m14 (download)
Grade it
In Studio, press Play, then run game.ServerScriptService.RunGameTests:Invoke("team-tooling", "team-tooling-pipeline") in the server command bar. Copy the pass code from Output.

Done means

  • For the inspector extension, validateZones enforces unique lowercase-kebab-case id, non-empty displayName, integer spawnCap 1..20, finite coinMultiplier 0.5..5.0 and positive sizeX/sizeZ
  • withRecording returns false, 'recording_busy' when TryBeginRecording returns nil, commits on success and cancels on error via pcall
  • planUploads rejects bytes <= 0 or > 20 MB into errors, skips unchanged hashes, queues new or changed files into upload, and sorts all three lists
  • renderManifestLuau starts with --!strict, includes a DO NOT EDIT header, sorts keys alphabetically and wraps the table in table.freeze
  • challenges/team-tooling.luau prints TEST PASS for all 10 checks

The Course Runner prints this code when the test passes.