to allow for adding a configuration facility later, the default balance should probably be a constant at the start somewhere so we can replace it later with a config setting from a file -
Eg - probably allow it to be set with an admin command.
Although cannot be done until the admin detection enh is functional, i should at least set a constant somewhere until then.
ie const defaultbal=100;
then everywhere we create a new balance record refer to defaultbal instead of "100" so we can universally configure the default starting balance centrally..
in the case of a config file, this const could be populated from a value set by the server operator there.. although said config file should create itself first if it doesnt exist yet, populating default values anyway..
to allow for adding a configuration facility later, the default balance should probably be a constant at the start somewhere so we can replace it later with a config setting from a file -
Eg - probably allow it to be set with an admin command. Although cannot be done until the admin detection enh is functional, i should at least set a constant somewhere until then.
ie const defaultbal=100;
then everywhere we create a new balance record refer to defaultbal instead of "100" so we can universally configure the default starting balance centrally..
in the case of a config file, this const could be populated from a value set by the server operator there.. although said config file should create itself first if it doesnt exist yet, populating default values anyway..