Reference
Players
The named players of the world: the base game’s hundreds of professionals and county players, and any your pack adds. Generated players fill the rest of each tier (see Population). Your first data pack walks through adding two.
- Content type
players- Files
data/players/- Shape
- A list of records, each with its own
id - Patch target
player:<id>, for exampleplayer:core.player.julien-van-den-broeck- In the base game
- 652 records
- Guide
- Quick-match players, Population
Fields#
Indented fields belong to the field above them. [] marks the items of a list. A field that is not required may be left out; the default is used.
| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
id | id | Yes | Namespaced id, e.g. "core.player.rory-calder" | |
firstName | text | Yes | ||
lastName | text | Yes | ||
nickname | text | Yes | ||
nationality | nation code | Yes | 3-letter nationality code | |
residence | nation code | 3-letter nationality code | ||
born | date, YYYY-MM-DD | Yes | ||
gender | one of the options | Yes | Options: m, f. | |
hand | one of the options | "R" | Options: R, L. | |
tier | whole number, 1 to 5 | Yes | ||
tourCardUntil | whole number, 1900 to 3000 | |||
colour | colour, #rrggbb | Yes | ||
attributes | object | Yes | ||
attributes.scoring | number, 0 to 100 | Yes | ||
attributes.finishing | number, 0 to 100 | Yes | ||
attributes.checkoutKnowledge | number, 0 to 100 | Yes | ||
attributes.consistency | number, 0 to 100 | Yes | ||
attributes.tempoControl | number, 0 to 100 | Yes | ||
attributes.bullAccuracy | number, 0 to 100 | Yes | ||
attributes.composure | number, 0 to 100 | Yes | ||
attributes.resilience | number, 0 to 100 | Yes | ||
attributes.crowdHandling | number, 0 to 100 | Yes | ||
attributes.concentration | number, 0 to 100 | Yes | ||
attributes.stamina | number, 0 to 100 | Yes | ||
attributes.fitness | number, 0 to 100 | Yes | ||
attributes.eyesight | number, 0 to 100 | Yes | ||
traits | object | see example | ||
traits.aspect | number, 0.75 to 1.3 | 1 | ||
traits.scoringBed | one of 20 or 19 | 20 | ||
traits.favouriteDouble | whole number, 1 to 20 | null | May be null. | |
traits.bullLover | true or false | false | ||
personality | object | Yes | ||
personality.media | one of the options | Yes | Options: humble, confident, showman, reserved, fiery. | |
personality.temperament | one of the options | Yes | Options: calm, steady, volatile. | |
walkonId | id | Namespaced id, e.g. "core.player.rory-calder" Names a walk-on track record. | ||
bio | text | |||
rivalIds | list | [] | ||
portrait | file path | A file in your pack: see Images, sound and models. |
Example#
A record from the base game’s data/players/belgica.json.
{
"id": "core.player.julien-van-den-broeck",
"firstName": "Julien",
"lastName": "Van den Broeck",
"nationality": "BEL",
"residence": "BEL",
"born": "1998-03-09",
"gender": "m",
"hand": "R",
"tier": 4,
"colour": "#f2a900",
"attributes": {
"scoring": 58,
"finishing": 58,
"checkoutKnowledge": 64,
"consistency": 62,
"tempoControl": 56,
"bullAccuracy": 57,
"composure": 62,
"resilience": 58,
"crowdHandling": 59,
"concentration": 64,
"stamina": 53,
"fitness": 68,
"eyesight": 66
},
"hidden": {
"potential": 62,
"ambition": 90,
"professionalism": 53
},
"traits": {
"aspect": 1.08,
"scoringBed": 20,
"favouriteDouble": 16,
"bullLover": false
},
"personality": {
"media": "fiery",
"temperament": "steady"
},
"bio": "Julien Van den Broeck is a lorry driver from Charleroi who lives on the twenties and trusts double sixteen. He turned down a day job promotion to keep the weekends free.",
"nickname": "The Pilot"
}In your pack the record’s id starts with your pack’s id instead of core, unless you mean to replace this one.