Friend Artifact
Friend Data Artifact
Persistent artifact storing all friend data, keyed by player UUID. Relationships are serialized as {uuid: name} objects so both the stable identity and the display name survive a restart. Backed by [AssetManager] (local file or MySQL depending on the MySQL extension).
フィールド
| フィールド | 型 | デフォルト | 説明 |
|---|---|---|---|
artifactId | String | friend_data | Unique artifact identifier |
How to use it
Create one Friend Artifact on a static page and publish it. The extension uses the first one it finds. Without it, friends and requests only live in memory and are lost at restart.
The artifact is stored through the active asset storage: a file under plugins/Typewriter/ by default, or the shared database when the MySQL bridge is enabled. Keep artifactId at its default friend_data unless you run several friend systems side by side.