add last_kills_limit + move shop

This commit is contained in:
slawkens
2023-07-22 09:52:06 +02:00
parent b92b642078
commit 81adeef01d
2 changed files with 20 additions and 9 deletions

View File

@@ -968,13 +968,13 @@ Sent by MyAAC,<br/>
],
[
'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,<br/>
},
],
],
[
'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) {