zRivals Duels logozRivals Duels

Seasons

Season lengths, what happens when a season ends, catching up after downtime, and the three MMR reset modes.

Seasons give ranked play a finish line. When a season ends, the final leaderboard is saved for good, the top players get their titles and rewards, and MMR is reset so the next season starts fresh.

seasons.yml

# Turns seasons on or off
enabled: true

# How long a season lasts: MONTHLY (ends at the start of each calendar month), MONTHS or CUSTOM
length: MONTHLY

# Number of months per season when length is MONTHS
months: 3

# Season length when length is CUSTOM, for example 45d or 6w
custom: "30d"

# Date and time the first season starts, format yyyy-MM-dd HH:mm, leave empty to start on first run
start: ""

# Time zone used for season dates, for example UTC, Europe/Paris or Asia/Kolkata
time-zone: "UTC"

# Season name shown to players, %number% is the season number
name-format: "Season %number%"

# Seconds between checks for a season that should end
check-interval-seconds: 30

# Broadcast the top players when a season ends
broadcast: true

# Number of top players listed in the season end broadcast
broadcast-top: 3
KeyWhat it doesDefault
enabledfalse means seasons never end, and /duel season end is refusedtrue
lengthMONTHLY, MONTHS or CUSTOM, see belowMONTHLY
monthsMonths per season with MONTHS3
customLength with CUSTOM. Use w weeks, d days, h hours, m minutes, s seconds. A plain number means days30d
startWhen the very first season starts, as 2026-10-01 00:00. Empty starts it on the first runempty
time-zoneTime zone for season dates and month boundaries. An invalid zone falls back to UTCUTC
name-formatSeason name, %number% is the season numberSeason %number%
check-interval-secondsHow often the plugin checks whether the season should end30
broadcastAnnounce the top players to the server when a season endstrue
broadcast-topHow many top players the announcement lists3

Season lengths

lengthWhen the season ends
MONTHLYAt midnight on the first day of the next calendar month, in time-zone
MONTHSmonths months after the season started
CUSTOMcustom after the season started, for example 45d or 6w

When a season ends

The end is checked on a timer, on startup, and when staff force it.

The season end order from pausing ranked and taking the final leaderboard, through saving results, lifetime stats, reward grants, the MMR reset and the next season in one database transaction, to the broadcast and reward notices.
  1. Ranked is paused for the few seconds it takes. No new ranked results can come in.
  2. The final leaderboard is taken. Players with at least leaderboard.min-ranked-games ranked games this season, in leaderboard order.
  3. Season history is saved. The season's number, name, start and end, and every ranked player's final position, MMR, rank, wins and losses.
  4. Lifetime stats are updated. A season win for #1, a top 3 finish for the top three, and best position ever.
  5. Reward grants are created, see Season rewards.
  6. MMR is reset for the next season, see below.
  7. The next season starts.
  8. The result is announced. The broadcast goes out, and every ranked player who is online is told where they finished.
  9. Reward notices go out and ranked is unpaused.

Steps 3 to 7 are saved together in one database transaction. Either all of it is saved or none of it is. A season is marked finalised as part of that transaction, so the same season can never be ended twice. If something fails, nothing is saved, the console says which step failed, and the end is tried again on the next check.

Catching up after downtime

If the server was offline when a season should have ended, it ends on the first check after startup. The next season then starts from that moment.

MMR reset modes

Three cards comparing the FULL, SOFT and TABLE reset modes with the same three players at 2600, 1400 and 900 MMR.
reset:
  # How MMR is reset when a season ends: FULL, SOFT or TABLE
  mode: TABLE
  # MMR everyone goes to with FULL
  full-value: 1000
  # Base MMR used by SOFT, MMR below it goes to it
  soft-base: 1000
  # Share of MMR above the base kept by SOFT, 0.5 keeps half
  soft-factor: 0.5
  # MMR brackets used by TABLE, a player gets the value of the highest bracket they reach
  table:
    - min: 2400
      value: 1500
    - min: 1800
      value: 1300
    - min: 1200
      value: 1100
    - min: 0
      value: 1000

FULL

Everyone goes to full-value.

SOFT

Everyone keeps part of what they earned above a base: new MMR = soft-base + (old MMR minus soft-base) x soft-factor. MMR at or below the base goes to the base. With the defaults, 2600 becomes 1800 and 1400 becomes 1200.

TABLE (default)

Each player gets the value of the highest bracket their MMR reaches.

Final MMRNext season starts at
2400 and above1500
1800 and above1300
1200 and above1100
Anything lower1000

If a player's MMR reaches no bracket at all, they start at mmr.starting.

The reset applies to every player who has an MMR in the ending season, including players below min-ranked-games. A player with no rating that season starts the next one at mmr.starting. Lifetime stats, best MMR and best rank are never reset.

Season commands

CommandWhoWhat it does
/duel seasonzrivalsduels.seasonThe current season's top players and time left
/duel season <number>zrivalsduels.seasonA finished season's top players, with its start and end dates
/duel season infozrivalsduels.admin.seasonNumber, state, start, end, time left, ranked player count and reset mode
/duel season endzrivalsduels.admin.seasonEnd the season now. Asks you to run /duel season end confirm within 30 seconds
/duel season history [season] [page]zrivalsduels.admin.seasonFull results of a finished season, paged. With no season, the latest finished one

The top lists use leaderboard.page-size entries per page. The season name and time left are also available as %duel_current_season% and %duel_season_time_left%, see Placeholders.

On this page