Open realkarmakun opened 2 years ago
Would probably make sense not to save switch status between restarts and default it to disabled. If user can restart the server he might as well change config file to fit his needs.
After further research I came to conclusion that my math was wrong, and CPS on instances can be either much higher or much lower. This could be solved other way around by delegating statistics to database of some sorts (redis sync in LibmoFilter Pog) and acting upon unified stats. Though run time means to enable/disable still would be nice.
@hevav Кеш капчи в редисе чтобы облегчить жизнь мультиинстансам? Было бы мило иметь стату там же, но это второстепенно (учитывая формат хранения статистики не уверен что редис подойдет)
Пингую, потому что никто не отвечает :(
Редис подойдет в этом случае Видел эту идею в дискорде Будет реализовано
Describe the feature you'd like to have implemented It would be nice to have a command or Java code API means to enable "protection" on a server.
Is your feature request related to an existing problem? Please describe. Right now I have around 8 velocity instances. Using
filter-toggle
options is not really beneficial since under normal loads we have 8 Connections per second to frontend, and less than 1 connection per second on each instance. I could setup it in a way to be enabled on a slightest load change but our project has a "wipe every n days" kind of gameplay. So essentially players log in all at once one time in two weeks or so. Enabling captcha at this time is undesirable.I am aware of
/bf reload
command, but I just don't want to redact configs on all 8 instances :9Additional context Command would be enough for me personally and there is no need for full featured API.