You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Set a default — only takes effect if key not already setconfig.setDefault('max_players',20);// Set a value explicitlyconfig.set('max_players',50);// Get — second argument is fallback if key doesn't existconfig.get('max_players');// → 50config.get('missing','default');// → 'default'config.has('max_players');// → trueconfig.delete('max_players');// remove key// Reset to default value (or delete if no default was set)config.reset('max_players');config.clear();// remove all entries (does not reset defaults)
// Merge an array of [key, value] pairs or Map entriesconfig.merge([['timeout',5000],['retries',3]]);// Enumerate all stored entriesconfig.entries();// → [['key', value], ...]config.list();// → [{ key, value }, ...]