Creating your own leagues

Regional leagues

Keep clubs in their home region – a North League for northern clubs, a South League for southern clubs – set up step by step.

What regional leagues do

Normally, clubs relegated into a level with two parallel leagues are simply handed out in file order (see Several leagues on one level). A northern club can then end up in the South League.

With regional leagues the game looks at where each club comes from. At the end of every season it places every club of the level in the league of its region:

North League

accepts clubs with the home area “North”

  • Polar Bear United, relegated from the Premier League
  • Igloo Inter, who stayed

South League

accepts clubs with the home area “South”

  • Sunburn United, relegated from the Premier League
  • Flip-Flop Rovers, who stayed

You decide which areas exist and give every club its home area. Optionally the game also adjusts the following season's promotion and relegation places so that the regional leagues keep a healthy size.

  • The clubs you list under a league are its members in the first season. The first regional sorting happens at the end of season 1.
  • Regional settings never fill a league by themselves and never create new leagues.
  • Cups are not affected.
  • Worlds without regional settings – such as the included standard world – work exactly as before.

Step by step: a North League and a South League

This example adds regional leagues below a national league. It was played for ten seasons in the game without a single warning.

Step 1: choose the areas

Footlandia gets two areas, North and South. Their names are simple words that you choose yourself – here "North" and "South".

Step 2: give every club its home area

Add one line to the club file, directly below its name:

Data/Team/Polar Bear United.txt
! Name "Polar Bear United"
! Reputation 12
#@cs regions "North"

Do this for every club that could ever play on the regional level, including the clubs of the Premier League, which might be relegated one day. Southern clubs get #@cs regions "South".

Step 3: turn the two leagues into regional leagues

Each regional league needs three extra lines: which home area it accepts, how it sorts and which leagues sort together.

Data/League/Footlandia.txt – the two regional leagues
: Footlandia - North League
+ division 2
+ promotions 1
+ relegations 0
+ reputation 8
#@cs regions "North"
#@cs regional-allocation fixed-regions
#@cs allocation-group "Second level"
Sledgehammer Wanderers
Avalanche Albion
Reindeer Rangers
Igloo Inter
Blizzard Borough
Frostbite Forest
Woolly Hat Harriers

: Footlandia - South League
+ division 2
+ promotions 1
+ relegations 0
+ reputation 8
#@cs regions "South"
#@cs regional-allocation fixed-regions
#@cs allocation-group "Second level"
Beach Ball Wanderers
Ice Cream Inter
Palm Tree Albion
Lobster Red FC
Sunscreen Borough
Hammock Hotspurs
Sombrero Saints

Step 4: let the league above take part

Add one line to the Premier League. It allows the game to balance club numbers between the Premier League and the regional leagues below it:

In the Premier League, below + reputation
#@cs promotion-relegation compensate-team-count

This line is recommended in any case and required as soon as the regional leagues promote different numbers of clubs (see Switching regional leagues on).

Step 5: balance the numbers

The Premier League relegates 2 clubs, each regional league promotes 1. Two go down, two come up.

Step 6: test

Run the Team Editor's Check, then a Dataset test over several seasons, then start a normal new career (see Testing your world).

Result in the testOver ten seasons every relegated northern club went to the North League and every southern club to the South League. The two leagues varied between five and nine clubs around their starting size of seven.

The complete league file of this example
Data/League/Footlandia.txt
! Country "Footlandia"
! Names "Data/Names/Footlandia_1st.txt" "Data/Names/Footlandia_2nd.txt"

: Footlandia - Premier League
+ division 1
+ promotions 0
+ relegations 2
+ reputation 12
#@cs promotion-relegation compensate-team-count
Icicle Town FC
Sunburn United
Snowdrift Rovers
Flip-Flop Rovers
Polar Bear United
Sandcastle City
Frozen Herring Athletic
Siesta Sporting
Mitten City
Coconut Athletic

: Footlandia - North League
+ division 2
+ promotions 1
+ relegations 0
+ reputation 8
#@cs regions "North"
#@cs regional-allocation fixed-regions
#@cs allocation-group "Second level"
Sledgehammer Wanderers
Avalanche Albion
Reindeer Rangers
Igloo Inter
Blizzard Borough
Frostbite Forest
Woolly Hat Harriers

: Footlandia - South League
+ division 2
+ promotions 1
+ relegations 0
+ reputation 8
#@cs regions "South"
#@cs regional-allocation fixed-regions
#@cs allocation-group "Second level"
Beach Ball Wanderers
Ice Cream Inter
Palm Tree Albion
Lobster Red FC
Sunscreen Borough
Hammock Hotspurs
Sombrero Saints

Every club named here needs its own club file with #@cs regions "North" or #@cs regions "South".

Giving clubs a home area

A club's home areas are written in its club file, below the name and before any player details:

A club with two home areas
! Name "Sunburn United"
#@cs regions "South" "South Coast"
  • Your own words. Areas are words you invent, such as “North”, “Snow Valley” or “South Coast”. The game does not know what they mean; it only compares them.
  • Quotes around each area. "South Coast" is one area. Without quotes, South Coast would be two areas, “South” and “Coast”.
  • One line with the complete list. A club can have several areas, for example one for each level it could reach. If you write the line twice, only the last one counts.
  • Exact words. Capital and small letters do not matter (“north” = “North”), but spelling does: “Nort” is not “North”, and “Süd” is not “Sud”. Parts of words never match: “South” is not “South Coast”.
  • No hidden meanings. “Moose Valley” does not mean “North”, even if the valley lies in the north, and “North” is not the opposite of “South”. Write every area the club should belong to.
  • Every level a club could reach. A club in the national league needs the area of the regional league it could drop into. A club in a local league needs the area of the regional league it could rise to.

An empty line #@cs regions removes all areas. In the Team Editor the field is called Region keywords.

Switching regional leagues on

A league only sorts clubs regionally when it has all three of these lines:

LineMeaning
#@cs regions "North"Which home area belongs to this league. (Instead of an area, a league may also have a centre on the map, see Towns and GPS.)
#@cs regional-allocation fixed-regionsThe way of sorting: fixed-regions or annual-geography (see Fixed regions or yearly regrouping?).
#@cs allocation-group "Second level"The name of the group of leagues that share clubs. Use the same name for all regional leagues of the same level.

If one of the three is missing, the league stays a normal league, and the Team Editor's Check reports that its regional settings are incomplete. Home areas, GPS positions or a group name alone switch nothing on.

The league above must join in when the numbers differ

Regional leagues of one level may promote different numbers of clubs – for example the North League 1 and the South League 2. The league directly above must then have the line #@cs promotion-relegation compensate-team-count. Without it the game treats the leagues like normal parallel leagues, and the career cannot be started. With it, the same world was played for ten seasons without a single message.

Good habits

  • Give every league of a regional level the regional lines. Do not mix regional and normal leagues on the same level.
  • Start with balanced numbers: as many clubs go down from the level above as come up from the regional leagues together.

All settings for regional leagues

These lines belong into the league, below its name line. All of them are optional, except the three switch-on lines described above.

LineWhat it doesName in the Team Editor
#@cs regions "North"The home areas this league accepts. Several areas are possible: #@cs regions "Coast" "Hills".Region keywords
#@cs region-match anyWith several areas: any (the usual choice) accepts clubs with at least one of them, all only clubs with every one of them. Never use all for areas that exclude each other, such as “North” and “South”: nobody would fit.Region match: Any keyword / All keywords
#@cs regional-allocation fixed-regionsSorting by home area. The alternative annual-geography regroups the level every season and also uses distances.Regional allocation: Fixed regions / Annual geographical allocation
#@cs allocation-group "Second level"Leagues with the same group name share clubs. Write the name in exactly the same way in every league of the group.Allocation group
#@cs target-teams 18The ideal number of clubs (2 to 24). Without the line, the number of clubs at the start of the career is the ideal.Target number of clubs
#@cs preferred-team-range 16 20The sizes you are happy with (2 to 24). Without the line: the ideal size, two clubs more or two clubs less. It is a wish, not a strict limit.Preferred club range
#@cs promotion-relegation compensate-team-countFor the normal league above regional leagues: lets the game adjust its relegation places together with the regional leagues' promotion places.Promotion and relegation: Balance club numbers
#@cs forecast offPlanning ahead is on unless you switch it off (see League sizes and next season's places).Planning ahead for club numbers
#@cs allocation-branch "South" "Coast"Where the league sits in a region with its own lower levels (see Regions with different depths).allocation-branch (the field carries the name of the line)
#@cs allocation-fallback-regions "Moose Valley"Second-choice areas (see Second-choice areas).allocation-fallback-regions (the field carries the name of the line)
#@cs allocation-centre-gps 50.6 2.0The centre of the league on the map, for sorting by distance (see Towns and GPS).Allocation centre (GPS)
#@cs allocation-centre-place "Namur"The centre as a town name. Always write it with #@cs.Place
#@cs allocation-centre-country "Belgium"The country of that town, if it is not the league's own country. Always write it with #@cs.Location country

An empty line, such as #@cs target-teams on its own, removes that setting. A wrong value is ignored and reported by the Team Editor's Check.

Fixed regions or yearly regrouping?

Fixed regions fixed-regionsYearly regrouping annual-geography
How clubs are placedEvery club plays in the league of its home area.Every season the whole level is shared out again: home areas first, then the distance to each league's centre and the league sizes.
League sizesCan vary quite a lot: a region with many relegated clubs grows.Stay close to the ideal size.
Clubs change league sidewaysOnly when their area's league is full (24 clubs) or another league would have fewer than two.Clubs near the border between two areas may change league from one season to the next.
Needs locationsNo. Locations only help when a club fits several leagues or none.Yes, for good results: club locations and league centres (see Towns and GPS).
Best forReal football regions, stable derbies, clear rules for players.Splitting a level into groups by distance, many clubs without areas, worlds without fixed borders.
Seen in testsLeagues starting with 7 clubs: between 5 and 9 clubs over ten seasons. In a very small world one league dropped from 6 to 3 clubs within five seasons.Leagues starting with 7 clubs: between 6 and 8 clubs over ten seasons.

Both ways can be combined in one country, for example fixed regions on level 4 and yearly regrouping for local leagues on level 6.

In detail: how strongly distance and size count

With yearly regrouping, a league that is one club away from its ideal size weighs about as much as 100 km of extra travel for a club. The second club away from the ideal weighs about 300 km more, and every club outside the preferred range about 1000 km. Clubs without a location count as far away from every centre and fill whichever league needs clubs. These are rough guides that show the balance; they are not fixed promises.

What happens at the end of each season

  1. The announced places are played out. Promoted and relegated clubs move to their new level first.
  2. The level is sorted. All clubs of a regional level – those who stayed, those who came up and those who came down – are shared out among the leagues of their group again.
  3. The game follows clear priorities. Reserve team rules are never broken. A club stays in its group and its branch. It goes to a league that accepts its home area, otherwise to a league that lists it as a second choice. Only then do distance and league size count. If everything else is equal, a club stays where it was.
  4. Limits always hold. Every league keeps between 2 and 24 clubs, and no club is lost or counted twice.
  5. Next season's promotion and relegation places are planned (see the next section).

If a club has to play outside its area – for example because its own league is already full – its manager reads: “To complete the divisions, your club will play outside its usual region next season.” With fixed regions the club returns to its own league as soon as there is room again. The Dataset test lists every such case.

League sizes and next season's places

Regional leagues can change size from season to season. To keep them healthy, the game may adjust the promotion and relegation places of the next season. The places of the running season never change, also not when a saved game is loaded. Managers see the new numbers in the season review: “Next season, North League will have 8 clubs, 2 promotion places and 0 relegation places.”

  • Who takes part: all regional leagues, and normal leagues with #@cs promotion-relegation compensate-team-count. Places between two levels only change if every league on both sides takes part.
  • The goal: every league stays within its preferred range, with as few and as small changes to your original numbers as possible. Going from 3 to 4 places is a small change; doubling 1 place to 2 is a big one. A slightly too large or too small league is often accepted for a season instead.
  • Always at least one: between two connected levels every league keeps at least one promotion place and one relegation place. A level that you closed with 0 and 0 stays closed.
  • Planning ahead: by default the game also considers where next season's relegated clubs will probably come from. #@cs forecast off makes it react only to sizes that are already outside the range. One “off” in any league of the country switches planning ahead off for the whole country's league system.
  • Hard limits: 2 to 24 clubs per league, no club is lost. If no better plan is found, the current places simply stay.

Seen in a testPremier League relegating 3, North League promoting 1, South League promoting 2, all leagues ideally 7 clubs. Whenever the North League had grown to 10 clubs, the game gave the next season 4 relegations in the Premier League and 2 promotions in the North League, and later went back to 3 and 1.

To measure your own design, look at the Dataset test report: Summary.txt lists the smallest and largest size and the fewest and most promotion and relegation places of every league, LeagueBalanceSeasons.csv every single season.

Regions with different depths

Sometimes only one region has further leagues below it. In this example the South has two local leagues on level 3, the North has none:

Level 1
Premier Leagueno branch line
2 go down1 + 1 come up
Level 2
North Leaguebranch "North"
South Leaguebranch "South"
2 go down from the South League1 + 1 come up
Level 3
no level 3 in the Norththe North League does not relegate
Coast Leaguebranch "South" "Coast"
Hills Leaguebranch "South" "Hills"
Branch lines tell the game which leagues are connected. The local leagues on level 3 only belong to the South.

Without branch lines every league of one level is connected to every league of the next level. Branch lines describe the path from the broad area to the narrow one:

Branch lines of the five leagues
; in the North League
#@cs allocation-branch "North"
; in the South League
#@cs allocation-branch "South"
; in the Coast League
#@cs allocation-branch "South" "Coast"
; in the Hills League
#@cs allocation-branch "South" "Hills"
  • How leagues connect: two leagues on neighbouring levels are connected when one path is the beginning of the other. “South” connects to “South” “Coast” and to “South” “Hills”, but not to anything that begins with “North”. A league without a branch line, like the Premier League here, connects to everything.
  • The end of a branch: a league with no connected league below does not relegate. The game sets its relegations to 0 itself – also when a career loads fewer levels than the branch has.
  • Branches are not home areas. They describe how leagues are connected. The clubs still need home areas: in this example southern clubs carry “South” and their local area, for example #@cs regions "South" "South Coast", and the two local leagues accept “South Coast” and “South Hills”.
  • No changes between branches: a club coming from a southern league is never placed in a northern league of the same level.
  • Shorter paths: if the parent league's path is “Footlandia” “South”, its child may simply write “South” “Coast”. The game completes it to “Footlandia” “South” “Coast” when exactly one parent fits.
  • Count each connection separately: here the Premier League relegates 2 = 1 + 1 promoted from North and South, and the South League relegates 2 = 1 + 1 promoted from Coast and Hills.

This example was played for fifteen seasons in the game without any message. The North League stayed between 5 and 8 clubs, the South League between 6 and 9, the local leagues between 5 and 7. If a promoting league has no connected league above it, the Check reports: “There is no promotion route from … to a higher division. The division remains playable, but without promotion.”

Second-choice areas

Sometimes a small area has no league of its own. A league can then name second-choice areas: clubs from these areas come to this league when no league accepts them directly. Earlier names in the list count more than later ones.

Two local leagues with second choices
: Footlandia - Hills League
+ division 3
#@cs regions "South Hills"
#@cs allocation-fallback-regions "Moose Valley" "South"

: Footlandia - Coast League
+ division 3
#@cs regions "South Coast"
#@cs allocation-fallback-regions "Pebble Bay" "South"
The club's home areasWhere it playsWhy
“South Hills”Hills LeagueThe league accepts this area directly.
“South” and “Moose Valley”Hills LeagueThe Hills League lists “Moose Valley” first. The Coast League only lists “South”, in second place.
“South” and “Pebble Bay”Coast LeagueThe Coast League lists “Pebble Bay” first.
only “South”the more suitable of the twoBoth leagues list “South” in second place, so distance and league size decide.

Use second choices only for second choices. If an area should always belong to a league, add it to that league's areas instead, for example #@cs regions "South Hills" "Moose Valley". The game does not know that Moose Valley lies in the South; the list only tells it what to prefer. Both leagues also need the three switch-on lines.

More examples

Regional leagues with different promotion numbers

Take the step-by-step example and let the Premier League relegate 3 clubs, the North League promote 1 and the South League promote 2. Keep #@cs promotion-relegation compensate-team-count in the Premier League. In a ten-season test there was no message, and the game adjusted the places whenever a league became too large (see League sizes and next season's places). Without the compensate line, the same world could not be started.

Fewer areas to write

In the branch example, southern clubs can carry only their local area (“South Coast” or “South Hills”) if the South League accepts both:

In the South League
#@cs regions "South Coast" "South Hills"
#@cs region-match any

A new local area must then also be added to the South League's list. Write the areas on one line; a second regions line would replace the first.

Sorting by distance instead of areas

Leagues can also be split purely by the clubs' map positions, without any home areas. This is explained with a complete example in Towns and GPS.

Tips for giving clubs their areas

  • Plan the areas first: which areas exist on which level, and which local areas lie in which regional area.
  • When the areas differ from level to level, one area per level is easiest to maintain, for example “North” for level 2 and “Snow Valley” for level 3.
  • Alternatively give clubs only their smallest area and let the broader league list all of its local areas, as in “Fewer areas to write”.
  • Give areas to clubs on every level, including the national leagues. A relegated club without an area is placed by distance if it has a location, otherwise wherever clubs are needed, and the Dataset test reports it.
  • Extra areas never hurt. But a club that fits two parallel leagues of one level is placed between them by distance and size.
  • Copy area names instead of typing them again. The game does not correct “Nort” to “North”.
  • Try a small version over several seasons before you give areas to a whole world.
  • Also test a career that loads fewer levels than your regional leagues need.

If something does not work

What you seeWhat to do
Check: the regional allocation needs an allocation group and either regions or an allocation centre.One of the three switch-on lines is missing.
Check: an allocation group has no regional-allocation method.Add #@cs regional-allocation fixed-regions or annual-geography.
Check: a club does not match its initial regional criteria.A club is listed in a regional league whose area it does not carry. Move the club or correct its areas.
Check or Dataset test: a club has no suitable home region for the regional divisions at certain levels.The club could reach a regional level, for example by relegation, but no league there accepts its areas. Add the right area.
Information: the home regions of a club allow several regional areas.Only a hint. Check whether the club should really fit two parallel leagues.
Check: no usable home location for sorting by distance.Yearly regrouping or a league without areas needs club locations. Add GPS coordinates or a clear town name.
There is no promotion route to a higher division.A league promotes clubs, but no league above is connected to its branch. Correct the branch lines.
The career cannot be started because the promotion and relegation numbers between two levels do not fit.Parallel leagues use different numbers although the league above does not take part. Add #@cs promotion-relegation compensate-team-count to the league above, or use equal numbers.

More messages are listed in Settings, tests and help.