Config Visibility
Live Config separates values into client-safe and server-only output.
Visibility modes
| Visibility | Who should fetch it | Contains |
|---|---|---|
| Client | Code that can safely replicate to players | Public values only |
| Server | Roblox server code with a runtime key | Public and private values |
Public values
Use public values for anything that players may be allowed to observe.
Examples:
{
"event": {
"name": "Double XP",
"enabled": true
}
}Private values
Use private values for server-only behavior. Do not put secrets in Live Config unless your runtime path and project key handling are locked down.
Examples:
{
"economy": {
"adminDropRate": 0.02,
"serverRewardCap": 5000
}
}Rule of thumb
If revealing a value to a player would create an exploit or spoil a private operation, mark it private and fetch it only from server code.