-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
149 lines (142 loc) · 3.98 KB
/
config.js
File metadata and controls
149 lines (142 loc) · 3.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
/**
* pxLoadingScreen Configuration
* ============================================
* Edit this file to customize your loading screen.
* After editing the configuration, make sure to restart your FiveM server to see the changes take effect.
*
* For detailed documentation on each configuration option, visit:
* - https://cmap.lol/docs/pxLoadingScreen/configuration
*/
window.CONFIG = {
General: {
enableAudio: true,
audioVolume: 0.3,
audioFadeOut: 3000,
enableVideo: true,
loopVideo: true,
allowSkip: false,
skipKeyBinding: 'ENTER',
},
Theme: {
colors: {
accent: '#7235ff',
accentRGB: '114, 53, 255',
secondary: '#6f00ff',
secondaryRGB: '111, 0, 255',
success: '#06d6a0',
warning: '#ffd700',
danger: '#ef476f',
},
branding: {
enabled: true,
icon: {
show: true,
url: 'https://cmap.lol/icon.svg',
size: 120,
showGlow: true,
},
title: 'Your Server Name',
subtitle: 'Prepare for an awesome experience.',
},
},
Content: {
loadingText: 'Initializing Server',
loadingDescription: 'Please wait while we get things ready...',
cards: [
{
title: 'Welcome',
icon: 'wrench',
description: 'Welcome to our server!',
bgColor: 'rgba(255, 107, 53, 0.1)',
borderColor: 'rgba(255, 107, 53, 0.3)',
},
{
title: 'Features',
icon: 'tools',
description: 'Tons of custom content',
bgColor: 'rgba(0, 212, 255, 0.1)',
borderColor: 'rgba(0, 212, 255, 0.3)',
},
{
title: 'Community',
icon: 'person',
description: 'Join our growing community',
bgColor: 'rgba(6, 214, 160, 0.1)',
borderColor: 'rgba(6, 214, 160, 0.3)',
},
],
tips: [
'Explore the city and discover hidden locations',
'Join our Discord for updates and support',
'Check out the controls in the settings menu',
'Report bugs to help us improve',
],
},
Media: {
backgroundVideo: 'media/LoadingScreenTwo.mp4',
backgroundImage: 'media/PixelWallpaper.gif',
audioFile: 'media/KeysNKrates_TreatMeRightNCS.mp3',
audioPlaylist: [
'media/KeysNKrates_DumDeeDumNCS.mp3',
'media/KeysNKrates_DreamynessNCS.mp3'
],
},
Progress: {
showProgressBar: true,
progressColor: '#3d0399',
simulateProgress: true,
minDuration: 5000,
checkpoints: [
{ label: 'Initializing Core', progress: 10 },
{ label: 'Loading Resources', progress: 25 },
{ label: 'Connecting to Server', progress: 50 },
{ label: 'Syncing Data', progress: 75 },
{ label: 'Finalizing Setup', progress: 90 },
],
},
Tabs: {
enabled: true,
position: 'bottom',
tabs: [
{
id: 'features',
label: 'Features',
icon: 'star',
content: [
'Vehicle Customization',
'Professional Tuning',
'Paint & Cosmetics',
'Work Orders System',
'Advanced Diagnostics',
'Inventory Management',
],
},
{
id: 'control',
label: 'Controls',
icon: 'gamepad2',
content: [
'E - Interact with NPCs',
'Right Click - Open Menu',
'WASD - Move Around',
'ESC - Close Menus',
'Mouse - Navigate UI',
],
},
{
id: 'support',
label: 'Support',
icon: 'question',
content: [
'Discord: https://discord.gg/BsEhHBTbXw',
'Documentation: https://cmap.lol/docs/pxLoadingScreen',
'Report Issues: https://github.com/CodeMeAPixel/pxLoadingScreen/issues',
'Visit our shop: https://cmap.lol/shop',
],
},
],
},
Layout: {
fontFamily: 'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',
},
};