Configuration API
ImagineWave opened this issue · 5 comments
What feature do you want to see added?
Override configuration settings through API
for example I need to override login/register message interval
Are there any alternatives?
Right now it's possible only though reflection dark magic
Anything else?
No response
You could use reflections to obtain the AuthMe.injector instance and then invoke injector.getSingleton(SettingsManager) to interact with our settings manager.
How to set Property MESSAGE_INTERVAL? I should use ur ch.jalu.configme.properties.Property ?
The properties’ values can be changed in config.yml
BRUH
are u suggesting as a solution that I corrupt user configs?
I'm trying to do integration plugin