Arcadia Lib

Arcadia Lib is the shared foundation required by all Arcadia Pets, Prestige and AH. It provides the database layer, player data management and debug mode.

File Details

arcadia-lib-1.2.12

  • R
  • Jun 1, 2026
  • 2.57 MB
  • 3.3K
  • 1.21.1
  • NeoForge

File Name

arcadia-lib-1.2.12.jar

Supported Versions

  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:arcadia-lib-1493170:8179915"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

## [1.2.12] - 2026-06-01 (latest)

### Added

- **`PlayerDataHandler.setStreak(uuid, streak)`** — New admin/debug entry point that forcibly sets a player's daily streak (the "day count" on the daily snake path) to an arbitrary value and resets the claim cooldown so their next daily is claimable immediately (`lastClaim` is pushed back one full cooldown window). Persists to the in-memory cache, the world SavedData (singleplayer / in-memory mode) and the MySQL row, matching the persistence model of `claimDaily`. The value is clamped to `>= 0`. Consumed by arcadia-prestige's `/arcadia_prestige daily setstreak` command (≥ 1.2.13).

### Ajouts

- **`PlayerDataHandler.setStreak(uuid, streak)`** — Nouveau point d'entrée admin/debug qui force le streak journalier d'un joueur (le « nombre de jours » sur le chemin du daily) à n'importe quelle valeur et réinitialise le cooldown pour que son prochain daily soit réclamable immédiatement (`lastClaim` est reculé d'une fenêtre de cooldown complète). Persiste dans le cache mémoire, la SavedData du monde (solo / mode en mémoire) et la ligne MySQL, selon le même modèle de persistance que `claimDaily`. La valeur est bornée à `>= 0`. Utilisé par la commande `/arcadia_prestige daily setstreak` d'arcadia-prestige (≥ 1.2.13).