Merge pull request #85 from ControlPanel-gg/extra_config_options

added descriptions to config seeds
This commit is contained in:
AVMG 2021-06-22 17:27:18 +02:00 committed by GitHub
commit b4cba02f77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,6 +20,7 @@ class ConfigurationSeeder extends Seeder
], [
'value' => '250',
'type' => 'integer',
'description' => 'The initial amount of credits the user starts with.'
]);
Configuration::firstOrCreate([
@ -27,6 +28,7 @@ class ConfigurationSeeder extends Seeder
], [
'value' => '1',
'type' => 'integer',
'description' => 'The initial server limit the user starts with.'
]);
//verify email event
@ -35,6 +37,7 @@ class ConfigurationSeeder extends Seeder
], [
'value' => '250',
'type' => 'integer',
'description' => 'Increase in credits after the user has verified their email account.'
]);
Configuration::firstOrCreate([
@ -42,6 +45,7 @@ class ConfigurationSeeder extends Seeder
], [
'value' => '2',
'type' => 'integer',
'description' => 'Increase in server limit after the user has verified their email account.'
]);
//verify discord event
@ -50,6 +54,7 @@ class ConfigurationSeeder extends Seeder
] , [
'value' => '375',
'type' => 'integer',
'description' => 'Increase in credits after the user has verified their discord account.'
]);
Configuration::firstOrCreate([
@ -57,6 +62,7 @@ class ConfigurationSeeder extends Seeder
], [
'value' => '2',
'type' => 'integer',
'description' => 'Increase in server limit after the user has verified their discord account.'
]);
//other
@ -65,6 +71,16 @@ class ConfigurationSeeder extends Seeder
], [
'value' => '50',
'type' => 'integer',
'description' => 'The minimum amount of credits the user would need to make a server.'
]);
//purchasing
Configuration::firstOrCreate([
'key' => 'SERVER_LIMIT_AFTER_IRL_PURCHASE',
], [
'value' => '10',
'type' => 'integer',
'description' => 'Sets the users server limit to this amount after purchasing with money, set to 0 to ignore this.',
]);
}
}