League File - Game Configuration.json Cricket
Controls global match parameters.
| Parameter | Type | Description | Example |
| :--- | :--- | :--- | :--- |
| OverCount | int | Total overs per innings (1–50) | 10 |
| PowerPlayOvers | int | Mandatory field restriction overs | 2 |
| MaxFieldersOutside | int | Max fielders outside 30-yard circle | 4 |
| TargetScore | int | 0 = chase target (set dynamically) | 0 |
| TieBreaker | string | "SuperOver" / "BowlOut" | "SuperOver" |
"GameSettings":
"OverCount": 20,
"PowerPlayOvers": 4,
"MaxFieldersOutside": 5,
"TieBreaker": "SuperOver"
,
"MatchRules":
"Wides": "PenaltyRuns": 2, "ReplayBall": true ,
"NoBall": "PenaltyRuns": 2, "FreeHitNext": true
,
"Physics":
"BallBounceDecay": 0.85,
"GroundFriction": 0.96,
"AirDrag": 0.997,
"SpinDriftFactor": 2.5
,
"AI_Difficulty":
"Level": "Legend",
"RiskFactor": 0.55,
"RunningErrorRate": 0.02
Editing GameConfiguration.json is easy, but one misplaced comma will crash the game. Follow this guide.
Step 1: Backup the Original
Before changing anything, copy the original GameConfiguration.json to a separate folder. If you break the game, you can paste this back. Game Configuration.json Cricket League File
Step 2: Open with a JSON Validator Do not use Microsoft Word. Use a coding text editor like:
Step 3: Make Your Changes Let’s create a "Superpowered" player mod. Find these lines and edit them:
Step 4: Save and Validate
In VS Code, press Shift + Alt + F to format the document. This fixes indentation errors. Ensure every key has double quotes ("). Controls global match parameters
Step 5: Replace the Original
Copy your edited file back to the Cricket League directory. Overwrite the old one.
Step 6: Clear Cache (Crucial) The game often stores the old config in memory. Force-stop Cricket League and clear the cache (Settings > Apps > Cricket League > Storage > Clear Cache). When you relaunch, the game reads your new file.
For players annoyed by interruptions, this is the goldmine. Editing GameConfiguration
"AdConfig":
"InterstitialAdCooldown": 120,
"RewardedVideoCooldown": 300,
"ForceAdAfterMatch": true
Changing ForceAdAfterMatch to false removes post-game ads. Reducing InterstitialAdCooldown lets you watch ads more frequently for rewards (or set it to 9999 to never see them).
The game validates GameConfiguration.json on load. Common errors:
| Error | Cause | Fix |
| :--- | :--- | :--- |
| OverCount exceeds max | OverCount > 50 | Cap at 50 |
| Invalid PowerPlay | PowerPlayOvers > OverCount | Set ≤ OverCount |
| Negative drag | AirDrag > 1.0 | Use 0.98–0.999 |
If validation fails, the game falls back to a hardcoded default configuration and logs the error to cricket_league.log.
This is crucial for "Games as a Service" (GaaS) to control player retention.