🎯 Need Help?

Get Premium Support

Priority assistance from the developer

⬆️ Upgrade

Unlock all features

More from ANWP

AnWP Club Kit

7 ready-made club site designs for Football Leagues

Learn more →

Sports API Hub

Live sports data integration for WordPress

Learn more →

Tennis API Hub

Live tennis and table tennis data for WordPress

Learn more →

Sports Leagues Premium

Multi-sport league management with advanced statistics

Learn more →

Generate Matches

Pro Feature

Generate Matches creates the whole schedule of a round-robin stage for you: in each group every club plays every other club, one matchday after another, with dates and a kickoff time. A 20-club league that plays home and away is 380 matches – entered by hand that takes days, here it takes a minute.

The matches it creates are ordinary unfinished matches. You can edit, move or delete any of them afterwards, like a match you added yourself.

🎯 What It Creates

  • Every pairing of a group – each pair of clubs meets once, or twice with home and away swapped. With an odd number of clubs, one club has no match on each matchday.
  • Matchdays – each match gets its matchday number (the MatchWeek), so matchweek sliders and the Matches list show them.
  • Dates and kickoff – the first matchday on the date you pick, then one matchday every N days. All groups of a stage share the matchdays: matchday 5 is the same date in every group.
  • Balanced home and away – every club plays as many matches at home as away (or one more, when each pair meets once), and never three in a row at home or away.

It doesn’t set a stadium, a referee or a result, and it doesn’t check clashes between clubs, stadiums or other competitions. Standings don’t change: they count finished matches only, so every club shows 0 played until results come in.

🚀 Generate a Schedule

Before you start, add the clubs to the groups of the stage in the competition editor and save the competition. Generate Matches works with round-robin stages only (see Round-Robin Competitions).

Step 1: Open Generate Matches

Two ways in:

  • In the competition editor, click Generate Matches at the right of the stage’s Groups header. The page opens with that stage picked.
  • Or go to Settings & Tools → More Tools and click Open Generate Matches, then pick the stage.

The page reads the saved groups. While the competition has unsaved changes, the button is greyed out with “Save the competition first”.

Step 2: Set the Schedule

SettingWhat it does
StageThe round-robin stage to schedule. In a competition with round-robin and knockout stages, the knockout stages are listed greyed out: their match-ups come from the bracket.
Each pair of clubs playsOnce, or Twice, Home and Away (the second half with home and away swapped). Starts from the stage’s own format.
First matchdayThe date of matchday 1. Leave it empty to create the matches with no date.
KickoffThe kickoff time of every match. Leave it empty and the time is saved as 00:00. Times are in the site time zone (Settings → General).
Days betweenDays from one matchday to the next: 7 = weekly, 14 = every two weeks.
Club orderGroup Order follows the order of the clubs in the group; Shuffled mixes it. Shuffle Again gives another draw.
GroupsGroups with 2 or more clubs and no matches yet are ticked (when that’s every group, the list folds to one line: click Change to open it). Untick a group to leave it out. Groups and their clubs can’t be edited here: use Edit Groups to go back to the competition editor.

Step 3: Check the Preview

The right side shows exactly what will be created: each matchday with its date and matches. Above the button, a summary counts the matchdays and matches and the home / away balance.

  • Move one matchday – click a matchday’s date and pick another. Every match of that matchday moves together; the other matchdays keep the schedule. Single matches can be moved after generating.
  • Several groups – use Show to see one group at a time.
  • Long seasons – Jump to matchday appears above 10 matchdays.

Step 4: Generate

Click Generate N Matches. A progress bar counts the matches as they’re saved, group by group. When it’s done you’ll see “N matches created in {stage}.” with three ways on:

  • Open in Matches List – the Matches list filtered to this stage.
  • Back to the Competition
  • Undo: Delete These N Matches – see Undo a run below.

If It Stops Part-Way

Big schedules are saved in small batches, so a closed tab or a server timeout doesn’t lose the run. You can also click Stop. Open Generate Matches for that stage again and you’ll see “Generating stopped at X of Y matches.” Click Continue Generating: it writes the rest with the same settings, and nothing is created twice. To drop the run instead, click Delete the N Matches in the same banner.

While a run is stopped, its settings are locked and no other run can start on that stage. To change the settings, delete its matches first.

Run It Again Safely

Generate Matches remembers which matches it created. When you open a stage that already has a schedule, each group shows what’s in it:

The group hasWhat you can do
Generated matches (“Generated on {date}: N matches.”)Choose Keep, Add Missing or Replace (below).
Finished matchesNothing: the group is locked. A group with results is a season in progress and is never scheduled again.
Matches you added by handYou can still generate. New matches come on top of yours, so check for pairs that would play twice.
Fewer than 2 clubsNothing to schedule: add clubs in the competition editor.

Keep, Add Missing or Replace

ChoiceWhat happens
Keep (default)Nothing changes in this group.
Add MissingCreates the generated matches that were deleted since, with the matchdays and dates of the earlier run (not the dates set on the page now). Shown only when some generated matches were deleted, all the group’s generated matches come from one run, and the group’s clubs and their order haven’t changed.
ReplaceDeletes the untouched matches and creates the group again with the new settings. Edited matches stay, and their pairs aren’t created again. From then on they count as matches added by hand.

Your edits are safe

A generated match counts as edited once anything was changed on it: a result, a new date, a stadium, a referee, coaches, a lineup, events, attendance, or a save in the match editor. Undo and Delete never touch an edited match: they list it with a link instead. Replace keeps edited matches too. Matches you added by hand are left alone, and Add Missing and Replace don’t create their pairs.

Undo a Run

Right after a run, click Undo: Delete These N Matches in the banner and confirm. It deletes only the matches this run created, and only the untouched ones. When it’s done you’ll see “N matches deleted.” and, if some were kept, the list of edited matches with links. Undo is offered only in that banner: after you leave or reload the page, it’s gone.

Undo after a Replace deletes the new matches only. The matches Replace deleted don’t come back.

Deleted for good

Undo, Delete the N Matches and Replace delete matches permanently – they don’t go to the Trash. That’s safe because only matches nobody has edited are deleted.

Later on, use Replace to redo a group, or remove games in bulk to clear a stage.

Limits

  • Up to 1,000 matches per run. For more, tick fewer groups and run it twice.
  • Administrators only.
  • Round-robin stages only. For knockout rounds and one-off matches, use the Import Matches Tool.

🆘 Troubleshooting

No Generate Matches button in the competition editor

The button shows on a saved round-robin stage with at least one group of 2 or more clubs, for administrators. Add the clubs, save the competition, and it appears.

The stage is greyed out in the stage list

It’s a knockout stage, or no group has 2 clubs yet (“no group with 2 clubs yet”).

“The clubs of a group changed since this run started.”

A club was added, removed or moved in a group while a run was stopped part-way. Continuing would no longer match the matches already saved. Click Delete the N Matches in the stopped banner, then generate again.

“A group has finished matches: a season in progress.”

A result was entered in a group of a run that stopped part-way, so the run can’t continue. Click Delete the N Matches in the stopped banner (the finished match is kept), then generate again with that group left out.

“No matches were created.”

Every ticked group already held matches from another run. Delete those matches first, or tick other groups.