Move user scripts gui config to admin, cleanup

This commit is contained in:
emanuele-f 2020-01-03 15:16:46 +01:00
parent d037f9a9a4
commit ad9c386bb3
44 changed files with 241 additions and 289 deletions

View file

@ -24,8 +24,7 @@ local script = {
i18n_title = "entity_thresholds.syn_attacker_title",
i18n_description = "entity_thresholds.syn_attacker_description",
i18n_field_unit = user_scripts.field_units.syn_sec,
input_builder = user_scripts.threshold_cross_input_builder,
post_handler = user_scripts.threshold_cross_post_handler,
input_builder = "threshold_cross",
field_max = 65535,
field_min = 1,
field_operator = "gt";

View file

@ -24,8 +24,7 @@ local script = {
i18n_title = "entity_thresholds.syn_victim_title",
i18n_description = "entity_thresholds.syn_victim_description",
i18n_field_unit = user_scripts.field_units.syn_sec,
input_builder = user_scripts.threshold_cross_input_builder,
post_handler = user_scripts.threshold_cross_post_handler,
input_builder = "threshold_cross",
field_max = 65535,
field_min = 1,
field_operator = "gt";

View file

@ -19,8 +19,7 @@ local script = {
i18n_title = "entity_thresholds.syn_victim_title",
i18n_description = "entity_thresholds.syn_victim_description",
i18n_field_unit = user_scripts.field_units.syn_sec,
input_builder = user_scripts.threshold_cross_input_builder,
post_handler = user_scripts.threshold_cross_post_handler,
input_builder = "threshold_cross",
field_max = 65535,
field_min = 1,
field_operator = "gt";