mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-30 11:19:21 +02:00
Change name to settings
This commit is contained in:
parent
df0ad6e277
commit
a6e20fa62c
4
.gitignore
vendored
4
.gitignore
vendored
@ -37,8 +37,8 @@ plugins/*
|
||||
!plugins/example.json
|
||||
!plugins/account-create-hint.json
|
||||
!plugins/account-create-hint
|
||||
!plugins/example-options-plugin.json
|
||||
!plugins/example-options-plugin
|
||||
!plugins/example-settings-plugin.json
|
||||
!plugins/example-settings-plugin
|
||||
landing
|
||||
|
||||
# others/rest
|
||||
|
@ -1,35 +0,0 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'name' => 'gesior_shop',
|
||||
'options' => [
|
||||
'donation_type' => [
|
||||
'name' => 'Donation Type',
|
||||
'type' => 'options',
|
||||
'options' => ['points' => 'Points', 'coins' => 'Coins'],
|
||||
'default' => 'points',
|
||||
'desc' => 'What should be added to player account?',
|
||||
],
|
||||
'default_outfit_colors' => [
|
||||
'name' => 'Default Outfit Colors',
|
||||
'type' => 'text',
|
||||
'default' => '4,38,87,114',
|
||||
'desc' => "Default colors of outfits/addons in addons category<br/>
|
||||
doesn't matter for othire and other servers without addons<br/>
|
||||
you can use this outfit generator: http://sleqqus.idl.pl/tlg<br/>
|
||||
Format: head,body,legs,feet",
|
||||
],
|
||||
'just_testing_boolean' => [
|
||||
'name' => 'Just Testing Boolean',
|
||||
'type' => 'boolean',
|
||||
'default' => false,
|
||||
'desc' => "Some description.",
|
||||
],
|
||||
'just_testing_number' => [
|
||||
'name' => 'Just Testing Number',
|
||||
'type' => 'number',
|
||||
'default' => 999,
|
||||
'desc' => "Some description.",
|
||||
],
|
||||
],
|
||||
];
|
@ -1,12 +1,12 @@
|
||||
{
|
||||
"enabled": 1,
|
||||
"name": "Example Options Plugin",
|
||||
"name": "Example Settings Plugin",
|
||||
"description": "This is just an example of a Plugin for MyAAC.",
|
||||
"version": "1.0",
|
||||
"author": "nobody",
|
||||
"contact": "nobody@example.org",
|
||||
"require": {
|
||||
"myaac": "0.8.0"
|
||||
"myaac": "0.9.0"
|
||||
},
|
||||
"options": "plugins/example-options-plugin/options.php"
|
||||
"settings": "plugins/example-settings-plugin/settings.php"
|
||||
}
|
32
plugins/example-settings-plugin/settings.php
Normal file
32
plugins/example-settings-plugin/settings.php
Normal file
@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'donation_type' => [
|
||||
'name' => 'Donation Type',
|
||||
'type' => 'options',
|
||||
'options' => ['points' => 'Points', 'coins' => 'Coins'],
|
||||
'default' => 'points',
|
||||
'desc' => 'What should be added to player account?',
|
||||
],
|
||||
'default_outfit_colors' => [
|
||||
'name' => 'Default Outfit Colors',
|
||||
'type' => 'text',
|
||||
'default' => '4,38,87,114',
|
||||
'desc' => "Default colors of outfits/addons in addons category<br/>
|
||||
doesn't matter for othire and other servers without addons<br/>
|
||||
you can use this outfit generator: http://sleqqus.idl.pl/tlg<br/>
|
||||
Format: head,body,legs,feet",
|
||||
],
|
||||
'just_testing_boolean' => [
|
||||
'name' => 'Just Testing Boolean',
|
||||
'type' => 'boolean',
|
||||
'default' => false,
|
||||
'desc' => "Some description.",
|
||||
],
|
||||
'just_testing_number' => [
|
||||
'name' => 'Just Testing Number',
|
||||
'type' => 'number',
|
||||
'default' => 999,
|
||||
'desc' => "Some description.",
|
||||
],
|
||||
];
|
Loading…
x
Reference in New Issue
Block a user