N.cache — Shared Server-Client Cache
`N.cache` is a lightweight key-value storage system that keeps synchronized data between the **server** and **clients** in real time. It’s used to store and update global or player-specific values s
Side
Role
Description
N.cache.set(key, value, player?)N.cache.set("weather", "EXTRASUNNY");
N.cache.set("serverTime", { hour: 12, minute: 0 });
N.cache.set("playerStats", { kills: 10, deaths: 2 }, player);Parameter
Type
Description
[N.cache] [SERVER] set weather = "EXTRASUNNY"Parameter
Type
Description
⚠️ Notes
Last updated