Configuration

You can customize your server logo by replacing the image located at web/dist/logo/logo.png with your own.

Configuration file overview:

config.lua

scoreboardConfig = {}

-- Open key
scoreboardConfig.command = "scoreboard" -- set it false if you don't want to use it
scoreboardConfig.openKey = "F10" -- set it false if you don't want to use it

scoreboardConfig.settings = {
	displayRobberySection = true,
}

-- Server information
scoreboardConfig.serverName = "TEST ROLEPLAY"

-- Admin groups
-- Example ["group"] = {icon, color}
scoreboardConfig.adminGroups = {
	["owner"] = {
		icon = "fa-solid fa-crown",
		color = "#fcec03",
	},
	["admin"] = {
		icon = "fa-solid fa-user-shield",
		color = "#fc8803",
	},
}

scoreboardConfig.jobs = {
	["police"] = {
		label = "LSPD",
		styles = {
			backgroundColor = "#0670FF",
			textColor = "white",
		},
	},
	["ambulance"] = {
		label = "EMS",
		styles = {
			backgroundColor = "#FA4947",
			textColor = "white",
		},
	},
	["mechanic"] = {
		label = "Mechanic",
		styles = {
			backgroundColor = "#737375",
			textColor = "white",
		},
	},
}

-- Robberies (use exports)
scoreboardConfig.robberies = {
	-- Example
	-- ["ShopRobbery"] = export.esx_holdup:getStatus(),
}

scoreboardConfig.translations = {
	onlineJobs = "ONLINE JOBS",
	players = "Players",
}

Last updated

Was this helpful?