From 81adeef01de76b95ab65943c57fbc5704440e03a Mon Sep 17 00:00:00 2001 From: slawkens Date: Sat, 22 Jul 2023 09:52:06 +0200 Subject: [PATCH] add last_kills_limit + move shop --- system/config.php | 3 --- system/settings.php | 26 ++++++++++++++++++++------ 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/system/config.php b/system/config.php index 5c780334..c292be68 100644 --- a/system/config.php +++ b/system/config.php @@ -83,9 +83,6 @@ $config = array( //'Some Quest Two' => 456, ), // quests list (displayed in character view), name => storage - // last kills - 'last_kills_limit' => 50, // max. number of deaths shown on the last kills page - // other 'email_lai_sec_interval' => 60, // time in seconds between e-mails to one account from lost account interface, block spam 'google_analytics_id' => '', // e.g.: UA-XXXXXXX-X diff --git a/system/settings.php b/system/settings.php index bf592e7b..8ded7d26 100644 --- a/system/settings.php +++ b/system/settings.php @@ -968,13 +968,13 @@ Sent by MyAAC,
], [ 'type' => 'section', - 'title' => 'Gifts/shop system' + 'title' => 'Last Kills Page' ], - 'gifts_system' => [ - 'name' => 'Enable gifts system', - 'desc' => 'Plugin needs to be installed', - 'type' => 'boolean', - 'default' => false, + 'last_kills_limit' => [ + 'name' => 'Last Kills Limit', + 'type' => 'number', + 'desc' => 'Max. number of kills shown on the last kills page', + 'default' => 50, ], [ 'type' => 'section', @@ -1199,6 +1199,20 @@ Sent by MyAAC,
}, ], ], + [ + 'type' => 'category', + 'title' => 'Shop', + ], + [ + 'type' => 'section', + 'title' => 'Gifts/shop system' + ], + 'gifts_system' => [ + 'name' => 'Enable gifts system', + 'desc' => 'Plugin needs to be installed', + 'type' => 'boolean', + 'default' => false, + ], ], 'callbacks' => [ 'beforeSave' => function(&$settings, &$values) {