[DiscordArchive] TC Loads the conf file before it does anything else, no?
[DiscordArchive] TC Loads the conf file before it does anything else, no?
Archived author: Kitzunu • Posted: 2023-01-21T18:31:45.874000+00:00
Original source
TC Loads the conf file before it does anything else, no?
Archived author: Foe • Posted: 2023-01-21T18:33:23.102000+00:00
Original source
I believe so
Archived author: Nyeriah • Posted: 2023-01-21T19:15:33.162000+00:00
Original source
we also do that, there are however certain configs that are not created in an optimal way and rely on file IO
Archived author: Nyeriah • Posted: 2023-01-21T19:16:06.752000+00:00
Original source
module configs for example, the vast majority reads the file whenever used
Archived author: Bench • Posted: 2023-01-21T19:21:30.134000+00:00
Original source
I need to figure out how to load stuff like that in on startup
Archived author: Nyeriah • Posted: 2023-01-21T19:26:19.912000+00:00
Original source
fairly simple, there's a world start up hook, you just store the configs into variables there
Archived author: Nyeriah • Posted: 2023-01-21T19:26:55.677000+00:00
Original source
then you use the config reload hook to update them
Archived author: Bench • Posted: 2023-01-21T19:28:05.175000+00:00
Original source
Yea but then I have to figure out variables and scopes and all that funky stuff
Archived author: Bench • Posted: 2023-01-21T19:28:13.369000+00:00
Original source
I'll figure it out when I fix bank stuff
Archived author: Bench • Posted: 2023-01-21T19:36:57.307000+00:00
Original source
*If* I fix bank stuff