2021-06-05 09:26:32 +00:00
< ? php
2021-06-22 15:13:24 +00:00
namespace Database\Seeders\Seeds ;
2021-06-05 09:26:32 +00:00
2022-01-05 07:57:41 +00:00
use App\Models\Settings ;
2021-06-05 09:26:32 +00:00
use Illuminate\Database\Seeder ;
2022-01-05 07:57:41 +00:00
class SettingsSeeder extends Seeder
2021-06-05 09:26:32 +00:00
{
/**
* Run the database seeds .
*
* @ return void
*/
public function run ()
{
//initials
2022-01-05 07:57:41 +00:00
Settings :: firstOrCreate ([
'key' => 'SETTINGS::USER:INITIAL_CREDITS' ,
2021-06-07 15:30:19 +00:00
], [
2021-06-27 13:53:49 +00:00
'value' => '250' ,
'type' => 'integer' ,
2021-06-22 15:26:42 +00:00
'description' => 'The initial amount of credits the user starts with.'
2021-06-05 09:26:32 +00:00
]);
2022-01-05 07:57:41 +00:00
Settings :: firstOrCreate ([
2022-06-07 15:26:17 +00:00
'key' => 'SETTINGS::USER:INITIAL_SERVER_LIMIT' ,
2021-06-07 15:30:19 +00:00
], [
2021-06-27 13:53:49 +00:00
'value' => '1' ,
'type' => 'integer' ,
2021-06-22 15:26:42 +00:00
'description' => 'The initial server limit the user starts with.'
2021-06-05 09:26:32 +00:00
]);
//verify email event
2022-01-05 07:57:41 +00:00
Settings :: firstOrCreate ([
'key' => 'SETTINGS::USER:CREDITS_REWARD_AFTER_VERIFY_EMAIL' ,
2021-06-07 15:30:19 +00:00
], [
2021-06-27 13:53:49 +00:00
'value' => '250' ,
'type' => 'integer' ,
2021-06-22 15:26:42 +00:00
'description' => 'Increase in credits after the user has verified their email account.'
2021-06-05 09:26:32 +00:00
]);
2022-01-05 07:57:41 +00:00
Settings :: firstOrCreate ([
'key' => 'SETTINGS::USER:SERVER_LIMIT_REWARD_AFTER_VERIFY_EMAIL' ,
2021-06-07 15:30:19 +00:00
], [
2021-06-27 13:53:49 +00:00
'value' => '2' ,
'type' => 'integer' ,
2021-06-22 15:26:42 +00:00
'description' => 'Increase in server limit after the user has verified their email account.'
2021-06-05 09:26:32 +00:00
]);
//verify discord event
2022-01-05 07:57:41 +00:00
Settings :: firstOrCreate ([
'key' => 'SETTINGS::USER:CREDITS_REWARD_AFTER_VERIFY_DISCORD' ,
2021-06-27 13:53:49 +00:00
], [
'value' => '375' ,
'type' => 'integer' ,
2021-06-22 15:26:42 +00:00
'description' => 'Increase in credits after the user has verified their discord account.'
2021-06-05 09:26:32 +00:00
]);
2022-01-05 07:57:41 +00:00
Settings :: firstOrCreate ([
'key' => 'SETTINGS::USER:SERVER_LIMIT_REWARD_AFTER_VERIFY_DISCORD' ,
2021-06-07 15:30:19 +00:00
], [
2021-06-27 13:53:49 +00:00
'value' => '2' ,
'type' => 'integer' ,
2021-06-22 15:26:42 +00:00
'description' => 'Increase in server limit after the user has verified their discord account.'
2021-06-05 09:26:32 +00:00
]);
//other
2022-01-05 07:57:41 +00:00
Settings :: firstOrCreate ([
'key' => 'SETTINGS::USER:MINIMUM_REQUIRED_CREDITS_TO_MAKE_SERVER' ,
2021-06-07 15:30:19 +00:00
], [
2021-06-27 13:53:49 +00:00
'value' => '50' ,
'type' => 'integer' ,
2021-06-22 15:26:42 +00:00
'description' => 'The minimum amount of credits the user would need to make a server.'
]);
//purchasing
2022-01-05 07:57:41 +00:00
Settings :: firstOrCreate ([
'key' => 'SETTINGS::USER:SERVER_LIMIT_AFTER_IRL_PURCHASE' ,
2021-06-22 15:26:42 +00:00
], [
2021-06-27 13:53:49 +00:00
'value' => '10' ,
'type' => 'integer' ,
2021-06-22 19:25:04 +00:00
'description' => 'updates the users server limit to this amount (unless the user already has a higher server limit) after making a purchase with real money, set to 0 to ignore this.' ,
2021-06-05 09:26:32 +00:00
]);
2021-06-26 20:04:23 +00:00
2021-06-27 13:53:49 +00:00
//force email and discord verification
2022-01-05 07:57:41 +00:00
Settings :: firstOrCreate ([
'key' => 'SETTINGS::USER:FORCE_EMAIL_VERIFICATION' ,
2021-06-27 13:53:49 +00:00
], [
'value' => 'false' ,
'type' => 'boolean' ,
2021-06-26 20:04:23 +00:00
'description' => 'Force an user to verify the email adress before creating a server / buying credits.'
]);
2022-01-05 07:57:41 +00:00
Settings :: firstOrCreate ([
'key' => 'SETTINGS::USER:FORCE_DISCORD_VERIFICATION' ,
2021-06-27 13:53:49 +00:00
], [
'value' => 'false' ,
'type' => 'boolean' ,
2021-06-26 20:04:23 +00:00
'description' => 'Force an user to link an Discord Account before creating a server / buying credits.'
]);
2021-06-27 13:53:49 +00:00
//disable ip check on register
2022-01-05 07:57:41 +00:00
Settings :: firstOrCreate ([
'key' => 'SETTINGS::SYSTEM:REGISTER_IP_CHECK' ,
2021-06-27 13:53:49 +00:00
], [
'value' => 'true' ,
'type' => 'boolean' ,
'description' => 'Prevent users from making multiple accounts using the same IP address'
]);
2021-07-05 18:47:29 +00:00
//per_page on allocations request
2022-01-05 07:57:41 +00:00
Settings :: firstOrCreate ([
'key' => 'SETTINGS::SERVER:ALLOCATION_LIMIT' ,
2021-07-05 18:47:29 +00:00
], [
'value' => '200' ,
'type' => 'integer' ,
'description' => 'The maximum amount of allocations to pull per node for automatic deployment, if more allocations are being used than this limit is set to, no new servers can be created!'
]);
2021-08-02 17:25:33 +00:00
//credits display name
2022-01-05 07:57:41 +00:00
Settings :: firstOrCreate ([
'key' => 'SETTINGS::SYSTEM:CREDITS_DISPLAY_NAME' ,
2021-08-02 17:25:33 +00:00
], [
'value' => 'Credits' ,
'type' => 'string' ,
'description' => 'Set the display name of your currency :)'
]);
2021-09-15 06:37:43 +00:00
//credits display name
2022-01-05 07:57:41 +00:00
Settings :: firstOrCreate ([
'key' => 'SETTINGS::SYSTEM:SERVER_CREATE_CHARGE_FIRST_HOUR' ,
2021-09-15 06:37:43 +00:00
], [
'value' => 'true' ,
'type' => 'boolean' ,
'description' => 'Charges the first hour worth of credits upon creating a server.'
]);
2021-11-05 06:43:57 +00:00
//sales tax
2022-01-05 07:57:41 +00:00
Settings :: firstOrCreate ([
'key' => 'SETTINGS::PAYMENTS:SALES_TAX' ,
2021-11-05 06:43:57 +00:00
], [
'value' => '0' ,
'type' => 'integer' ,
'description' => 'The %-value of tax that will be added to the product price on checkout'
]);
2022-01-15 16:52:19 +00:00
//Invoices enabled
Settings :: firstOrCreate ([
'key' => 'SETTINGS::INVOICE:ENABLED' ,
], [
'value' => 'false' ,
'type' => 'boolean' ,
2022-01-23 22:42:24 +00:00
'description' => 'Enables or disables the invoice feature for payments'
2022-01-15 16:52:19 +00:00
]);
2022-01-05 09:32:17 +00:00
//Invoice company name
Settings :: firstOrCreate ([
'key' => 'SETTINGS::INVOICE:COMPANY_NAME' ,
], [
'value' => '' ,
'type' => 'string' ,
'description' => 'The name of the Company on the Invoices'
]);
//Invoice company address
Settings :: firstOrCreate ([
'key' => 'SETTINGS::INVOICE:COMPANY_ADDRESS' ,
], [
'value' => '' ,
'type' => 'string' ,
'description' => 'The address of the Company on the Invoices'
]);
//Invoice company phone
Settings :: firstOrCreate ([
'key' => 'SETTINGS::INVOICE:COMPANY_PHONE' ,
], [
'value' => '' ,
'type' => 'string' ,
'description' => 'The phone number of the Company on the Invoices'
]);
//Invoice company mail
Settings :: firstOrCreate ([
'key' => 'SETTINGS::INVOICE:COMPANY_MAIL' ,
], [
'value' => '' ,
'type' => 'string' ,
'description' => 'The email address of the Company on the Invoices'
]);
//Invoice VAT
Settings :: firstOrCreate ([
'key' => 'SETTINGS::INVOICE:COMPANY_VAT' ,
], [
'value' => '' ,
'type' => 'string' ,
'description' => 'The VAT-Number of the Company on the Invoices'
]);
//Invoice Website
Settings :: firstOrCreate ([
'key' => 'SETTINGS::INVOICE:COMPANY_WEBSITE' ,
], [
'value' => '' ,
'type' => 'string' ,
'description' => 'The Website of the Company on the Invoices'
]);
//Invoice Website
Settings :: firstOrCreate ([
'key' => 'SETTINGS::INVOICE:PREFIX' ,
], [
'value' => 'INV' ,
'type' => 'string' ,
'description' => 'The invoice prefix'
]);
2022-01-05 12:30:05 +00:00
//Locale
Settings :: firstOrCreate ([
'key' => 'SETTINGS::LOCALE:DEFAULT' ,
], [
'value' => 'en' ,
'type' => 'string' ,
'description' => 'The default Language the dashboard will be shown in'
]);
//Dynamic locale
Settings :: firstOrCreate ([
'key' => 'SETTINGS::LOCALE:DYNAMIC' ,
], [
'value' => 'false' ,
'type' => 'boolean' ,
'description' => 'If this is true, the Language will change to the Clients browserlanguage or default.'
]);
//User can change Locale
Settings :: firstOrCreate ([
'key' => 'SETTINGS::LOCALE:CLIENTS_CAN_CHANGE' ,
], [
'value' => 'false' ,
'type' => 'boolean' ,
'description' => 'If this is true, the clients will be able to change their Locale.'
]);
//Locale
Settings :: firstOrCreate ([
'key' => 'SETTINGS::LOCALE:AVAILABLE' ,
], [
2022-01-10 19:46:36 +00:00
'value' => '' ,
2022-01-05 12:30:05 +00:00
'type' => 'string' ,
'description' => 'The available languages'
]);
//Locale
Settings :: firstOrCreate ([
'key' => 'SETTINGS::LOCALE:DATATABLES' ,
], [
'value' => 'en-gb' ,
'type' => 'string' ,
'description' => 'The Language of the Datatables. Grab the Language-Codes from here https://datatables.net/plug-ins/i18n/'
]);
2022-01-07 08:54:01 +00:00
Settings :: firstOrCreate ([
'key' => 'SETTINGS::PAYMENTS:PAYPAL:SECRET' ,
], [
2022-01-26 10:38:56 +00:00
'value' => env ( 'PAYPAL_SECRET' , '' ),
2022-01-07 08:54:01 +00:00
'type' => 'string' ,
'description' => 'Your PayPal Secret-Key ( https://developer.paypal.com/docs/integration/direct/rest/)'
]);
Settings :: firstOrCreate ([
'key' => 'SETTINGS::PAYMENTS:PAYPAL:CLIENT_ID' ,
], [
2022-01-26 10:38:56 +00:00
'value' => env ( 'PAYPAL_CLIENT_ID' , '' ),
2022-01-07 08:54:01 +00:00
'type' => 'string' ,
'description' => 'Your PayPal Client_ID'
]);
Settings :: firstOrCreate ([
'key' => 'SETTINGS::PAYMENTS:PAYPAL:SANDBOX_SECRET' ,
], [
2022-01-26 10:38:56 +00:00
'value' => env ( 'PAYPAL_SANDBOX_SECRET' , '' ),
2022-01-07 08:54:01 +00:00
'type' => 'string' ,
'description' => 'Your PayPal SANDBOX Secret-Key used for testing '
]);
Settings :: firstOrCreate ([
'key' => 'SETTINGS::PAYMENTS:PAYPAL:SANDBOX_CLIENT_ID' ,
], [
2022-01-26 10:38:56 +00:00
'value' => env ( 'PAYPAL_SANDBOX_CLIENT_ID' , '' ),
2022-01-07 08:54:01 +00:00
'type' => 'string' ,
'description' => 'Your PayPal SANDBOX Client-ID used for testing '
]);
Settings :: firstOrCreate ([
'key' => 'SETTINGS::PAYMENTS:STRIPE:SECRET' ,
], [
2022-01-26 10:38:56 +00:00
'value' => env ( 'STRIPE_SECRET' , '' ),
2022-01-07 08:54:01 +00:00
'type' => 'string' ,
'description' => 'Your Stripe Secret-Key ( https://dashboard.stripe.com/account/apikeys )'
]);
Settings :: firstOrCreate ([
'key' => 'SETTINGS::PAYMENTS:STRIPE:ENDPOINT_SECRET' ,
], [
2022-01-26 10:38:56 +00:00
'value' => env ( 'STRIPE_ENDPOINT_SECRET' , '' ),
2022-01-07 08:54:01 +00:00
'type' => 'string' ,
'description' => 'Your Stripe endpoint secret-key'
]);
Settings :: firstOrCreate ([
'key' => 'SETTINGS::PAYMENTS:STRIPE:TEST_SECRET' ,
], [
2022-01-26 10:38:56 +00:00
'value' => env ( 'STRIPE_TEST_SECRET' , '' ),
2022-01-07 08:54:01 +00:00
'type' => 'string' ,
'description' => 'Your Stripe test secret-key'
]);
Settings :: firstOrCreate ([
'key' => 'SETTINGS::PAYMENTS:STRIPE:ENDPOINT_TEST_SECRET' ,
], [
2022-01-26 10:38:56 +00:00
'value' => env ( 'STRIPE_ENDPOINT_TEST_SECRET' , '' ),
2022-01-07 08:54:01 +00:00
'type' => 'string' ,
'description' => 'Your Stripe endpoint test secret-key'
]);
Settings :: firstOrCreate ([
'key' => 'SETTINGS::PAYMENTS:STRIPE:METHODS' ,
], [
2022-01-29 03:21:48 +00:00
'value' => env ( 'STRIPE_METHODS' , 'card,sepa_debit' ),
2022-01-07 08:54:01 +00:00
'type' => 'string' ,
'description' => 'Comma seperated list of payment methods that are enabled (https://stripe.com/docs/payments/payment-methods/integration-options)'
]);
Settings :: firstOrCreate ([
'key' => 'SETTINGS::DISCORD:CLIENT_ID' ,
], [
2022-01-26 10:38:56 +00:00
'value' => env ( 'DISCORD_CLIENT_ID' , '' ),
2022-01-07 08:54:01 +00:00
'type' => 'string' ,
'description' => 'Discord API Credentials - https://discordapp.com/developers/applications/'
]);
Settings :: firstOrCreate ([
'key' => 'SETTINGS::DISCORD:CLIENT_SECRET' ,
], [
2022-01-26 10:38:56 +00:00
'value' => env ( 'DISCORD_CLIENT_SECRET' , '' ),
2022-01-07 08:54:01 +00:00
'type' => 'string' ,
'description' => 'Discord API Credentials - https://discordapp.com/developers/applications/'
]);
Settings :: firstOrCreate ([
'key' => 'SETTINGS::DISCORD:BOT_TOKEN' ,
], [
2022-01-26 10:38:56 +00:00
'value' => env ( 'DISCORD_BOT_TOKEN' , '' ),
2022-01-07 08:54:01 +00:00
'type' => 'string' ,
'description' => 'Discord API Credentials - https://discordapp.com/developers/applications/'
]);
Settings :: firstOrCreate ([
'key' => 'SETTINGS::DISCORD:GUILD_ID' ,
], [
2022-01-26 10:38:56 +00:00
'value' => env ( 'DISCORD_GUILD_ID' , '' ),
2022-01-07 08:54:01 +00:00
'type' => 'string' ,
'description' => 'Discord API Credentials - https://discordapp.com/developers/applications/'
]);
Settings :: firstOrCreate ([
'key' => 'SETTINGS::DISCORD:ROLE_ID' ,
], [
2022-01-26 10:38:56 +00:00
'value' => env ( 'DISCORD_ROLE_ID' , '' ),
2022-01-07 08:54:01 +00:00
'type' => 'string' ,
'description' => 'Discord role that will be assigned to users when they register'
]);
Settings :: firstOrCreate ([
'key' => 'SETTINGS::DISCORD:INVITE_URL' ,
], [
2022-01-26 10:38:56 +00:00
'value' => env ( 'DISCORD_INVITE_URL' , '' ),
2022-01-07 08:54:01 +00:00
'type' => 'string' ,
'description' => 'The invite URL to your Discord Server'
]);
Settings :: firstOrCreate ([
'key' => 'SETTINGS::SYSTEM:PTERODACTYL:TOKEN' ,
], [
2022-01-26 10:38:56 +00:00
'value' => env ( 'PTERODACTYL_TOKEN' , '' ),
2022-01-07 08:54:01 +00:00
'type' => 'string' ,
'description' => 'Admin API Token from Pterodactyl Panel - necessary for the Panel to work. The Key needs all read&write permissions!'
]);
Settings :: firstOrCreate ([
'key' => 'SETTINGS::SYSTEM:PTERODACTYL:URL' ,
], [
2022-01-26 10:38:56 +00:00
'value' => env ( 'PTERODACTYL_URL' , '' ),
2022-01-07 08:54:01 +00:00
'type' => 'string' ,
'description' => 'The URL to your Pterodactyl Panel. Must not end with a / '
]);
2022-08-19 17:18:44 +00:00
Settings :: firstOrCreate ([
'key' => 'SETTINGS::SYSTEM:PTERODACTYL:PER_PAGE_LIMIT' ,
], [
'value' => 200 ,
'type' => 'integer' ,
'description' => 'The Pterodactyl API perPage limit. It is necessary to set it higher than your server count.'
]);
2022-01-07 08:54:01 +00:00
Settings :: firstOrCreate ([
'key' => 'SETTINGS::MISC:PHPMYADMIN:URL' ,
], [
2022-01-26 10:38:56 +00:00
'value' => env ( 'PHPMYADMIN_URL' , '' ),
2022-01-07 08:54:01 +00:00
'type' => 'string' ,
'description' => 'The URL to your PHPMYADMIN Panel. Must not end with a /, remove to remove database button'
]);
2022-01-07 11:29:21 +00:00
Settings :: firstOrCreate ([
2022-01-14 20:17:36 +00:00
'key' => 'SETTINGS::RECAPTCHA:SITE_KEY' ,
2022-01-07 11:29:21 +00:00
], [
2022-01-26 10:38:56 +00:00
'value' => env ( 'RECAPTCHA_SITE_KEY' , '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI' ),
2022-01-07 11:29:21 +00:00
'type' => 'string' ,
'description' => 'Google Recaptcha API Credentials - https://www.google.com/recaptcha/admin - reCaptcha V2 (not v3)'
]);
Settings :: firstOrCreate ([
2022-01-14 20:17:36 +00:00
'key' => 'SETTINGS::RECAPTCHA:SECRET_KEY' ,
2022-01-07 11:29:21 +00:00
], [
2022-01-26 10:38:56 +00:00
'value' => env ( 'RECAPTCHA_SECRET_KEY' , '6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe' ),
2022-01-07 11:29:21 +00:00
'type' => 'string' ,
'description' => 'Google Recaptcha API Credentials - https://www.google.com/recaptcha/admin - reCaptcha V2 (not v3)'
]);
2022-01-14 20:17:36 +00:00
Settings :: firstOrCreate ([
'key' => 'SETTINGS::RECAPTCHA:ENABLED' ,
], [
'value' => 'true' ,
'type' => 'boolean' ,
2022-01-21 16:20:23 +00:00
'description' => 'Enables or disables the ReCaptcha feature on the registration/login page'
]);
Settings :: firstOrCreate ([
'key' => 'SETTINGS::MAIL:MAILER' ,
], [
2022-01-26 10:38:56 +00:00
'value' => env ( 'MAIL_MAILER' , 'smtp' ),
2022-01-21 16:20:23 +00:00
'type' => 'string' ,
'description' => 'Selected Mailer (smtp, mailgun, sendgrid, mailtrap)'
]);
Settings :: firstOrCreate ([
'key' => 'SETTINGS::MAIL:HOST' ,
], [
2022-01-26 10:38:56 +00:00
'value' => env ( 'MAIL_HOST' , 'localhost' ),
2022-01-21 16:20:23 +00:00
'type' => 'string' ,
'description' => 'Mailer Host Adress'
]);
Settings :: firstOrCreate ([
'key' => 'SETTINGS::MAIL:PORT' ,
], [
2022-01-26 10:38:56 +00:00
'value' => env ( 'MAIL_PORT' , '25' ),
2022-01-21 16:20:23 +00:00
'type' => 'string' ,
'description' => 'Mailer Server Port'
]);
Settings :: firstOrCreate ([
'key' => 'SETTINGS::MAIL:USERNAME' ,
], [
2022-01-26 10:38:56 +00:00
'value' => env ( 'MAIL_USERNAME' , '' ),
2022-01-21 16:20:23 +00:00
'type' => 'string' ,
'description' => 'Mailer Username'
]);
Settings :: firstOrCreate ([
'key' => 'SETTINGS::MAIL:PASSWORD' ,
], [
2022-01-26 10:38:56 +00:00
'value' => env ( 'MAIL_PASSWORD' , '' ),
2022-01-21 16:20:23 +00:00
'type' => 'string' ,
'description' => 'Mailer Password'
]);
Settings :: firstOrCreate ([
'key' => 'SETTINGS::MAIL:ENCRYPTION' ,
], [
2022-01-26 10:38:56 +00:00
'value' => env ( 'MAIL_ENCRYPTION' , 'tls' ),
2022-01-21 16:20:23 +00:00
'type' => 'string' ,
'description' => 'Mailer Encryption (tls, ssl)'
]);
Settings :: firstOrCreate ([
'key' => 'SETTINGS::MAIL:FROM_ADDRESS' ,
], [
2022-01-26 10:38:56 +00:00
'value' => env ( 'MAIL_FROM_ADDRESS' , '' ),
2022-01-21 16:20:23 +00:00
'type' => 'string' ,
'description' => 'Mailer From Address'
]);
Settings :: firstOrCreate ([
'key' => 'SETTINGS::MAIL:FROM_NAME' ,
], [
2022-02-02 10:58:16 +00:00
'value' => env ( 'APP_NAME' , 'Controlpanel' ),
2022-01-21 16:20:23 +00:00
'type' => 'string' ,
'description' => 'Mailer From Name'
2022-01-14 20:17:36 +00:00
]);
2022-06-02 14:11:24 +00:00
Settings :: firstOrCreate ([
'key' => 'SETTINGS::REFERRAL::ENABLED' ,
], [
'value' => " true " ,
'type' => 'string' ,
'description' => 'Enable or disable the referral system'
]);
2022-10-18 21:33:33 +00:00
Settings :: firstOrCreate ([
'key' => 'SETTINGS::REFERRAL::ALWAYS_GIVE_COMMISSION' ,
], [
'value' => " false " ,
'type' => 'string' ,
'description' => 'Whether referrals get percentage commission only on first purchase or on every purchase'
]);
2022-06-02 14:11:24 +00:00
Settings :: firstOrCreate ([
'key' => 'SETTINGS::REFERRAL::REWARD' ,
], [
'value' => 100 ,
'type' => 'integer' ,
'description' => 'Credit reward a user should receive when a user registers with his referral code'
]);
2022-06-02 16:41:08 +00:00
Settings :: firstOrCreate ([
'key' => 'SETTINGS::REFERRAL::ALLOWED' ,
], [
'value' => " client " ,
'type' => 'string' ,
'description' => 'Who should be allowed to to use the referral code. all/client'
]);
2022-06-07 08:05:19 +00:00
Settings :: firstOrCreate ([
'key' => 'SETTINGS::REFERRAL:MODE' ,
], [
'value' => " sign-up " ,
'type' => 'string' ,
'description' => 'Whether referrals get Credits on User-Registration or if a User buys credits'
]);
Settings :: firstOrCreate ([
'key' => 'SETTINGS::REFERRAL:PERCENTAGE' ,
], [
'value' => 100 ,
'type' => 'integer' ,
'description' => 'The Percentage Value a referred user gets'
]);
2022-08-12 10:50:29 +00:00
Settings :: firstOrCreate ([
'key' => 'SETTINGS::SYSTEM:PTERODACTYL:ADMIN_USER_TOKEN' ,
], [
'value' => " " ,
'type' => 'string' ,
'description' => 'The Client API Key of an Pterodactyl Admin Account'
]);
2022-08-16 20:37:40 +00:00
Settings :: firstOrCreate ([
'key' => 'SETTINGS::SYSTEM:ENABLE_UPGRADE' ,
], [
2022-11-04 17:15:16 +00:00
'value' => " false " ,
'type' => 'boolean' ,
2022-08-16 20:37:40 +00:00
'description' => 'Enables the updgrade/downgrade feature for servers'
]);
2022-11-03 22:15:06 +00:00
Settings :: firstOrCreate ([
2022-11-04 17:15:16 +00:00
'key' => 'SETTINGS::SYSTEM:CREATION_OF_NEW_SERVERS' ,
2022-11-03 22:15:06 +00:00
], [
2022-11-04 17:15:16 +00:00
'value' => " true " ,
2022-11-03 22:15:06 +00:00
'type' => 'boolean' ,
'description' => 'Enable/disable the creation of new servers'
]);
Settings :: firstOrCreate ([
2022-11-04 17:15:16 +00:00
'key' => 'SETTINGS::SYSTEM:CREATION_OF_NEW_USERS' ,
2022-11-03 22:15:06 +00:00
], [
2022-12-22 21:28:52 +00:00
'value' => " false " ,
2022-11-03 22:15:06 +00:00
'type' => 'boolean' ,
'description' => 'Enable/disable the creation of new users'
]);
2022-12-22 21:28:52 +00:00
Settings :: firstOrCreate ([
'key' => 'SETTINGS::SYSTEM:SHOW_IMPRINT' ,
], [
'value' => " true " ,
'type' => 'boolean' ,
'description' => 'Enable/disable imprint in footer'
]);
Settings :: firstOrCreate ([
'key' => 'SETTINGS::SYSTEM:SHOW_PRIVACY' ,
], [
'value' => " true " ,
'type' => 'boolean' ,
'description' => 'Enable/disable privacy policy in footer'
]);
2021-06-05 09:26:32 +00:00
}
}