ctrlpanel/app/Settings/GeneralSettings.php
2023-02-24 14:02:28 +01:00

29 lines
No EOL
784 B
PHP

<?php
namespace App\Settings;
use Spatie\LaravelSettings\Settings;
class GeneralSettings extends Settings
{
//instead of showing Credits, show something like example 'Emeralds'
public string $credits_display_name;
//url to the main site
public string $main_site;
//check the ip during register for dupes
public bool $register_ip_check;
//the initial amount of credits given to the user on register
public float $initial_user_credits;
//the initial amount of credits given to the user on register
public float $initial_server_limit;
//the initial role given to the user on register
//public int $initial_user_role; wait for Roles & Permissions PR.
public static function group(): string
{
return 'general';
}
}