ChronosWS / asma

Ark Server Manager: Ascended
46 stars 4 forks source link

FEATURE: (QoL) simple settings validation #54

Open Lacoi opened 9 months ago

Lacoi commented 9 months ago

some settings (strings, vector) can't be empty. Leaving them empty, results in wrong config files.

ChronosWS commented 9 months ago

For strings, these are probably choices which should be enums. Enums only allow the specified values and no others so you can always guarantee there is a valid setting there. Dinos, item names, etc.

For Vectors, we will need a validation rule that says you must have at least 1 entry - that is additional work on my side.