-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathshared.lua
More file actions
57 lines (52 loc) · 2.04 KB
/
Copy pathshared.lua
File metadata and controls
57 lines (52 loc) · 2.04 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
shared = {}
-- Text configuration for localization purposes
shared.locales = {
textConfig = {
buttons = { -- Make sure to add this nested object
players = "Players",
hotkeys = "Hotkeys",
rules = "Rules"
},
playersList = {
searchBarPlaceholder = "Search players...",
noPlayersFound = "No players found.",
onlinePlayersCount = "Online Players",
searchPlayer = "Search players..."
},
roles = {
police = "Police" ,
mechanic = "Mechanic",
ambulance = "Ambulance"
}
}
}
shared.MenuKey = {
keyMapping = 'z', -- Default key mapping
}
-- Configuration for various UI and feature settings
shared.config = {
searchBar = true, --Enable / Disable search bar for scoreboard category
totalPlayerCount = true, -- Enable Disable Total player online count for scoreboard category
logo = true, -- Enable /Disable the logo
maxPlayer = 100, --Put here your slots of your server
rules = true, --Enable / Disable rules category
hotkeys = true, --Enable / Disable hotkey category
playersList = true, -- Enable / Disable scoreboard category
police = true, --Enable / Disable police informations in scoreboard category
mechanic = true, --Enable / Disable mechanic informations in scoreboard category
ambulance = true, --Enable / Disable ambulance informations in scoreboard category
logoLink = "https://i.imgur.com/Gp8KNHf.png" -- Set here your logo link if "logo" is set to = true
}
-- Rules configuration
shared.rules = { --Add rules here if rules in shared.config are set to true
{ id = 1, text = "Rule 1" },
{ id = 2, text = "Rule 2" },
{ id = 3, text = "Enjoy the trip!" },
-- Add more rules here as needed
}
-- Hotkeys configuration
shared.hotkeys = { --Add hotkeys here if hotkeys in shared.config are set to true
{ id = 1, key = "F1", action = "Open menu" },
{ id = 2, key = "F2", action = "Open inventory" },
-- Add more hotkeys here as needed
}