diff --git a/app/Classes/Settings/System.php b/app/Classes/Settings/System.php index 66202ed6..872f2401 100644 --- a/app/Classes/Settings/System.php +++ b/app/Classes/Settings/System.php @@ -33,6 +33,7 @@ class System "credits-reward-amount-email" => "required|min:0|integer", "server-limit-discord" => "required|min:0|integer", "server-limit-email" => "required|min:0|integer", + "server-limit-purchase" => "required|min:0|integer", "pterodactyl-api-key" => "required|string", "pterodactyl-url" => "required|string", @@ -59,6 +60,7 @@ class System "SETTINGS::USER:CREDITS_REWARD_AFTER_VERIFY_EMAIL" => "credits-reward-amount-email", "SETTINGS::USER:SERVER_LIMIT_REWARD_AFTER_VERIFY_DISCORD" => "server-limit-discord", "SETTINGS::USER:SERVER_LIMIT_REWARD_AFTER_VERIFY_EMAIL" => "server-limit-email", + "SETTINGS::USER:SERVER_LIMIT_AFTER_IRL_PURCHASE" => "server-limit-purchase", "SETTINGS::MISC:PHPMYADMIN:URL" => "phpmyadmin-url", "SETTINGS::SYSTEM:PTERODACTYL:URL" => "pterodactyl-url", "SETTINGS::SYSTEM:PTERODACTYL:TOKEN" => "pterodactyl-api-key", diff --git a/resources/views/admin/settings/tabs/system.blade.php b/resources/views/admin/settings/tabs/system.blade.php index aece6bee..052e6d55 100644 --- a/resources/views/admin/settings/tabs/system.blade.php +++ b/resources/views/admin/settings/tabs/system.blade.php @@ -150,6 +150,13 @@ value="{{ config('SETTINGS::USER:SERVER_LIMIT_REWARD_AFTER_VERIFY_EMAIL') }}" class="form-control @error('server-limit-email') is-invalid @enderror" required> +