-
Notifications
You must be signed in to change notification settings - Fork 0
Introduction To Setting Configs
ItsMeNotJames edited this page Oct 21, 2023
·
1 revision
Setting configs are a type of config. They have set key-type pairs. Because of this, objects do NOT need to specify a type. Setting configs are located in ONE file that contains all of the values. If a key is not in the JSON file, it will be replaced by the default value.
Setting Configs can be synced from Server to Client, though this will not replace client files, just the config in memory.
You will want to use setting configs if these are true:
- You have a set amount of values
- There are no optional values
- You want this config to be settings
- There are default values
You will NOT want to use setting configs if these are true:
- You will have unbounded amounts values
- There will be no "required" values
- Your config will involve multiple files (you could use multiple setting configs if this is the case)