promotional bannermobile promotional banner

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.
Back to Files

arcadia-lib-1.2.12

File namearcadia-lib-1.2.12.jar
Uploader
vyrrioxvyrriox
Uploaded
Jun 1, 2026
Downloads
3.4K
Size
2.6 MB
Mod Loaders
NeoForge
File ID
8179915
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:arcadia-lib-1493170:8179915"

Learn more about Curse Maven

What's new

## [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).