mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-20 20:43:26 +02:00
add last_kills_limit + move shop
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user