Add VIP presence themes and custom greetings

This commit is contained in:
2026-04-11 15:44:30 +08:00
parent 9fb7710079
commit 4eba9dfc12
21 changed files with 1126 additions and 49 deletions
+2
View File
@@ -29,6 +29,8 @@ class UserFactory extends Factory
'password' => static::$password ??= Hash::make('password'),
'remember_token' => Str::random(10),
'sex' => 1,
'custom_join_message' => null,
'custom_leave_message' => null,
'user_level' => 1,
];
}
+5
View File
@@ -29,6 +29,11 @@ class VipLevelFactory extends Factory
'jjb_multiplier' => 1.2,
'join_templates' => null,
'leave_templates' => null,
'join_effect' => 'none',
'leave_effect' => 'none',
'join_banner_style' => 'aurora',
'leave_banner_style' => 'farewell',
'allow_custom_messages' => true,
'sort_order' => fake()->numberBetween(1, 20),
'price' => fake()->numberBetween(10, 99),
'duration_days' => 30,