Aller au contenu principal

Battle Pass Data Artifact

Store battle pass runtime data

Artifact storing runtime battle pass data such as selected quests and dates.

Champs

ChampTypePar défautDescription
artifactIdString——
storageBattlePassArtifactStorage——
BattlePassArtifactStorage (2)
ChampTypePar défautDescription
modeStorageModePLAYERControls how runtime data is segmented inside the artifactValeurs :PLAYERGROUP
groupRef<GroupEntry>—Group used when storage mode is set to GROUP

How to use it​

Create one artifact per battle pass and link it in the definition's data field. artifactId is generated by the web panel as a UUID: do not edit it, as it names the stored data. storage.mode is PLAYER for individual progress, or GROUP to share progress through the TypeWriter group in storage.group.

Data goes through the MySQL extension's asset storage and is cached in memory for five minutes. On a network, a change on one server invalidates the cache of the others over Redis.