mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 01:39:22 +02:00
Move monsters page settings to other tab + some small adjustments
This commit is contained in:
parent
8b5464f8f8
commit
9ffb7f5fa9
@ -45,7 +45,7 @@ return [
|
|||||||
'name' => 'Date Timezone',
|
'name' => 'Date Timezone',
|
||||||
'type' => 'options',
|
'type' => 'options',
|
||||||
'options' => '$timezones',
|
'options' => '$timezones',
|
||||||
'desc' => 'Timezone of the server, more info at http://php.net/manual/en/timezones.php',
|
'desc' => 'Timezone of the server, more info at https://php.net/manual/en/timezones.php',
|
||||||
'default' => 'Europe/Warsaw',
|
'default' => 'Europe/Warsaw',
|
||||||
],
|
],
|
||||||
'friendly_urls' => [
|
'friendly_urls' => [
|
||||||
@ -289,7 +289,7 @@ return [
|
|||||||
'vocations' => [
|
'vocations' => [
|
||||||
'name' => 'Vocation Names',
|
'name' => 'Vocation Names',
|
||||||
'type' => 'textarea',
|
'type' => 'textarea',
|
||||||
'desc' => 'Separated by comma ,',
|
'desc' => 'Separated by comma. Must be in the same order as in vocations.xml, starting with id: 0.',
|
||||||
'default' => 'None, Sorcerer, Druid, Paladin, Knight, Master Sorcerer, Elder Druid,Royal Paladin, Elite Knight',
|
'default' => 'None, Sorcerer, Druid, Paladin, Knight, Master Sorcerer, Elder Druid,Royal Paladin, Elite Knight',
|
||||||
'callbacks' => [
|
'callbacks' => [
|
||||||
'get' => function ($value) {
|
'get' => function ($value) {
|
||||||
@ -939,7 +939,7 @@ Sent by MyAAC,<br/>
|
|||||||
'news_date_format' => [
|
'news_date_format' => [
|
||||||
'name' => 'News Date Format',
|
'name' => 'News Date Format',
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
'desc' => 'Check php manual date() function for more info about this',
|
'desc' => 'Check php manual date() - https://www.php.net/manual/de/datetime.format.php function for more info about this',
|
||||||
'default' => 'j.n.Y',
|
'default' => 'j.n.Y',
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
@ -1260,6 +1260,28 @@ Sent by MyAAC,<br/>
|
|||||||
'desc' => '',
|
'desc' => '',
|
||||||
'default' => true,
|
'default' => true,
|
||||||
],
|
],
|
||||||
|
[
|
||||||
|
'type' => 'section',
|
||||||
|
'title' => 'Monsters Page'
|
||||||
|
],
|
||||||
|
'monsters_images_preview' => [
|
||||||
|
'name' => 'Monsters Images Preview',
|
||||||
|
'type' => 'boolean',
|
||||||
|
'desc' => 'Set to yes to allow picture previews for creatures',
|
||||||
|
'default' => false,
|
||||||
|
],
|
||||||
|
'monsters_items_url' => [
|
||||||
|
'name' => 'Monsters Items URL',
|
||||||
|
'type' => 'text',
|
||||||
|
'desc' => 'Set to website which shows details about items',
|
||||||
|
'default' => 'https://tibia.fandom.com/wiki/',
|
||||||
|
],
|
||||||
|
'monsters_loot_percentage' => [
|
||||||
|
'name' => 'Monsters Loot Percentage',
|
||||||
|
'type' => 'boolean',
|
||||||
|
'desc' => 'Set to yes to show the loot tooltip percent',
|
||||||
|
'default' => true,
|
||||||
|
],
|
||||||
[
|
[
|
||||||
'type' => 'section',
|
'type' => 'section',
|
||||||
'title' => 'Bans Page'
|
'title' => 'Bans Page'
|
||||||
@ -1394,24 +1416,6 @@ Sent by MyAAC,<br/>
|
|||||||
'desc' => '',
|
'desc' => '',
|
||||||
'default' => '.gif',
|
'default' => '.gif',
|
||||||
],
|
],
|
||||||
'monsters_images_preview' => [
|
|
||||||
'name' => 'Monsters Images Preview',
|
|
||||||
'type' => 'boolean',
|
|
||||||
'desc' => 'Set to yes to allow picture previews for creatures',
|
|
||||||
'default' => false,
|
|
||||||
],
|
|
||||||
'monsters_items_url' => [
|
|
||||||
'name' => 'Monsters Items URL',
|
|
||||||
'type' => 'text',
|
|
||||||
'desc' => 'Set to website which shows details about items',
|
|
||||||
'default' => 'https://tibia.fandom.com/wiki/',
|
|
||||||
],
|
|
||||||
'monsters_loot_percentage' => [
|
|
||||||
'name' => 'Monsters Items URL',
|
|
||||||
'type' => 'boolean',
|
|
||||||
'desc' => 'Set to yes to show the loot tooltip percent',
|
|
||||||
'default' => true,
|
|
||||||
],
|
|
||||||
// this is hidden, because no implemented yet
|
// this is hidden, because no implemented yet
|
||||||
'multiworld' => [
|
'multiworld' => [
|
||||||
'hidden' => true,
|
'hidden' => true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user