Repository navigation
Season Reset
Rebuilt in 2026.3.14.0
A season reset wipes progression so everyone starts fresh. You choose exactly what goes; everything else carries over.
In game: /xprison → SEASON RESET. Every entry shows how many records it would remove. Red
entries are wiped, green ones kept - click to switch. RESET SEASON asks for confirmation, then runs
in the background and reports what happened in chat.
Console:
| Command | Description |
|---|---|
/xprison season list |
Every entry, and which are wiped by default |
/xprison season dryrun [--include=a,b] |
Count what would be removed. Deletes nothing |
/xprison season reset [--include=a,b] confirm |
Run the reset. Without --include it uses the default selection |
Example: /xprison season reset --include=currencies,ranks,prestiges,blocks confirm
| Entry | Wiped by default |
|---|---|
currencies - currency balances, except the ones in keep-currencies (Credits) |
yes |
ranks, prestiges, rebirths
|
yes |
blocks - blocks mined |
yes |
autominer - AutoMiner time and tiers |
yes |
multipliers - personal and global multipliers |
yes |
gangs |
yes |
quests, battlepass, dailyrewards, milestones
|
yes |
nicknames - name cache, rebuilt as players join |
yes |
history - the player history log |
no |
boosters - queued boosters, often paid for |
no |
Add-ons that support the season reset add their own entries. Loaded add-ons that do not are shown greyed out - their data is kept.
| Add-on (version) | Entry | Notes |
|---|---|---|
| Coinflip 1.1.0+ | coinflip |
Runs before currencies and refunds every open wager first. Open games and payouts still owed are never deleted |
| Casino 1.1.0+ | casino |
Skipped - nothing deleted - while a Crash round still holds a wager |
| Crystals 1.1.0+ | crystals |
Stored and equipped crystals. Crystal items in inventories are kept |
| Attachments 1.1.0+ | attachments |
Stored attachments. Attachment items and attachments on pickaxes are kept |
Items are never touched. Pickaxes keep their enchants, levels, quality and skins, and add-on items (crystals, pets, attachments...) stay in inventories. Pair the reset with an inventory wipe for a clean season.
Each module's data can also be reset on its own from the Module Manager - it goes through the same safe path.
In config.yml:
season:
id: '1'
name: 'Season 1'
start-date: ''
roll-battlepass: true
max-online-players: 0
keep-currencies:
- credits| Option | Description |
|---|---|
id, name, start-date
|
Shown in the menu and as %xprison_season_id%, %xprison_season_name%, %xprison_season_start%. Update them yourself when a season starts |
roll-battlepass |
When Battle Pass is reset, start the next Battle Pass season (season-1 → season-2) |
max-online-players |
How many other players may be online during a reset - the admin running it does not count. 0 by default; -1 disables the check (not recommended) |
keep-currencies |
Currencies whose balances the reset never touches - balances players paid real money for. credits (the store currency) by default. Add any other premium currency, or set [] to wipe every balance. Added in 2026.3.14.1
|
- Refuses while too many players are online, or while another reset is running.
- Fires
SeasonResetStartEvent- another plugin can cancel it. - Waits for player saves still in progress, so a player who quit seconds ago cannot write old data back afterwards.
- Runs the selected entries in order. One that fails does not stop the others; every result is reported and logged.
- Waits for every database write to finish, then reloads the data of anyone online.
- Rolls the Battle Pass, refreshes leaderboards and fires
SeasonResetCompleteEvent.
XPrisonAPI.getInstance().getSeasonApi().registerParticipant(new SeasonResetParticipant() {
public String getId() { return "coinflip"; }
public String getDisplayName() { return "Coinflip games and stats"; }
public int getResetPriority() { return 50; } // before currencies (100)
public long countRecords() { return repository.countAll(); }
public SeasonResetResult reset() {
refundOpenGames();
repository.deleteAll();
return SeasonResetResult.done(-1);
}
});countRecords() and reset() run off the main thread. Return SeasonResetResult.skipped(reason)
when it is not safe to reset (for example money is on the table). A participant that holds currency
for players should run before currencies (priority below 100) and give it back first. See
Developer API.
- Home
- Features
- Setup
- Commands & Permissions
- Placeholders
- Logging
- Season Reset
- Translations
- Item Models & Tooltips
- Changelog
- Currencies
- Ranks
- Prestiges
- Rebirths
- Mines
- AutoSell
- AutoMiner
- Enchants
- Pickaxe Levels
- Pickaxe Skins
- Pickaxe Quality
- Pickaxe Settings
- Gangs
- Multipliers
- Blocks
- Bombs
- History
- Mining Stats
- Nicknames
- Battle Pass
- Quests
- Daily Rewards
- Milestones
- Leaderboards
- Boosters
- config.yml
- autominer.yml
- autosell.yml
- block-rewards.yml
- enchants.yml
- currencies.yml
- multipliers.yml
- ranks.yml
- prestiges.yml
- pickaxe-levels.yml
- pickaxe-skins.yml
- pickaxe-quality.yml
- gangs.yml
- mines.yml
- bombs.yml
- blocks.yml
- history.yml
- logging.yml
- mining-stats.yml
- rebirths.yml
- battlepass.yml
- quests.yml
- dailyrewards.yml
- milestones.yml
- leaderboards.yml
- boosters.yml
- efficiency.json
- fortune.json
- unbreaking.json
- haste.json
- speed.json
- fly.json
- nightvision.json
- jumpboost.json
- autosell.json
- tokenfinder.json
- gemfinder.json
- salary.json
- charity.json
- blessing.json
- gangvaluefinder.json
- prestigefinder.json
- explosive.json
- nuke.json
- layer.json
- laserbeam.json
- second-hand.json
- sixth-hand.json
- doomfall.json
- prism-break.json
- gem-merchant.json
- token-merchant.json
- super-token-miner.json
- double-strike.json
- prodigy.json
- blockbooster.json
