0% found this document useful (0 votes)
144 views6 pages

Message

The document contains configuration settings for an admin duty system in a FiveM server. It defines options like enabled notifications, commands, permissions for commands, and default skins for different server roles. The locale is set to German and it configures notifications to be sent to Discord and shown in-game.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
144 views6 pages

Message

The document contains configuration settings for an admin duty system in a FiveM server. It defines options like enabled notifications, commands, permissions for commands, and default skins for different server roles. The locale is set to German and it configures notifications to be sent to Discord and shown in-game.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 6

Config, Locale = {}, {}

-- Locale-System >> For a language other than German or English, please read the
readme file. There you will learn how to add your own language.
Config.Locale = 'de' -- standard: de or en

Config.ingameAdutyEnabledNotif = true -- Send ingame notification


when aduty is activated?
Config.ingameAdutyDisabledNotif = true -- Send ingame notification
when aduty is disabled?

function CustomServerSideNotification(src, msg)


--TriggerClientEvent('okokNotify:Alert', src, "Adminduty", msg, 5000, 'info')
--TriggerClientEvent("ws_notify", src, "info", "Adminduty", msg, 5000)
src.showNotification(msg)
end

function CustomClientSideNotification(msg)
--exports['okokNotify']:Alert("Adminduty", msg, 5000, 'info')
--TriggerEvent("ws_notify", "info", "Adminduty", msg, 5000)
ESX.ShowNotification(msg)
end

function TeamChatNotification(msg)
--exports['okokNotify']:Alert("Adminduty", msg, 8000, 'info')
--TriggerEvent("ws_notify", "info", "Adminduty", msg, 8000)
exports['cs_hud']:showExtraNotification("Teamchat", msg)
--ESX.ShowNotification(msg, "info", 8000)
end

--Webhook Config
Config.discordLogAdutyEnabled = true -- Send discord log when aduty
enabled?
Config.discordLogAdutyDisabled = true -- Send discord log when aduty
disabled?

-- Options
Config.ShowBlips = false -- See the blips of all the
players on the map
Config.showPlayerIsTalking = true -- Display player is talking?
Config.showFiveMName = true -- Display FiveM name?
Config.showNameDistance = 100 -- Up to what distance should
the player data be displayed when aduty is activated?
Config.showHeadPoint = true -- Display Player Headpoint?
Config.showHealthBar = true -- Display player health bar?
Config.showArmorBar = true -- Display player armor bar?
Config.noclipSpeedMultiplier = 10 -- Multiplier of the speed if
"shift" is pressed in noclip mode (maximum is 15 so as not to become unrealistic)

Config.adutyCommand = 'ad' -- Toggle aduty command


Config.vanishCommand = 'v' -- Toggle vanish command
Config.noclipCommand = 'nc' -- Toggle noclip command

Config.keyMappingToggleAdutyKey = '' -- Keymapping toggle aduty key


Config.keyMappingToggleNoclipKey = 'X' -- Keymapping toggle noclip key
Config.enableTeamchat = true -- Enable teamchat? If true,
please set the allowed server groups at >> Config.allowedGroupsTC
Config.teamChatCommand = 'tc' -- Teamchat command
Config.allowedGroupsTC = { -- Groups that are allowed to
use the teamchat Command >> Config.teamChatCommand
"owner",
"superadmin",
"admin",
"mod",
"dev",
"support",
"supporter",
"guide",
"rang",
"rang",
"rang",
"rang",
"rang",
"rang",
"rang"

Config.giveSkinCommand = 'giveskin' -- Giveskin command


Config.enableGiveskin = false -- Enable giveskin? If true,
please set the allowed server groups at >> Config.allowedGroupsGiveSkin
Config.allowedGroupsGiveSkin = { -- Groups allowed to use the
giveskin Command >> Config.giveSkinCommand
"owner",
"teamleitung",
"superadmin",
"admin",
"mod",
"dev",
"support",
"supporter",
"guide",
"rang",
"rang",
"rang",
"rang",
"rang",
"rang",
"rang"
}

Config.Ranks = {
owner = {
male = {
['tshirt_1'] = -1, ['tshirt_2'] = 0,
['torso_1'] = 398, ['torso_2'] = 0,
['decals_1'] = 0, ['decals_2'] = 0,
['arms'] = 10,
['pants_1'] = 215, ['pants_2'] = 0,
['shoes_1'] = 172, ['shoes_2'] = 0,
['helmet_1'] = -1, ['helmet_2'] = 0,
['mask_1'] = 174, ['mask_2'] = 0,
['chain_1'] = 0, ['chain_2'] = 0,
['ears_1'] = 0, ['ears_2'] = 0,
['bags_1'] = 0, ['bags_2'] = 0,
['hair_1'] = 0, ['hair_2'] = 0,
['bproof_1'] = 0, ['bproof_2'] = 0
},
female = {
['tshirt_1'] = 15, ['tshirt_2'] = 0,
['torso_1'] = 300, ['torso_2'] = 9,
['decals_1'] = 0, ['decals_2'] = 0,
['arms'] = 8,
['pants_1'] = 121, ['pants_2'] = 9,
['shoes_1'] = 82, ['shoes_2'] = 9,
['helmet_1'] = 23, ['helmet_2'] = 0,
['mask_1'] = 153, ['mask_2'] = 9,
['chain_1'] = 0, ['chain_2'] = 0,
['ears_1'] = 0, ['ears_2'] = 0,
['bags_1'] = 0, ['bags_2'] = 0,
['hair_1'] = 0, ['hair_2'] = 0,
['bproof_1'] = 0, ['bproof_2'] = 0
}
},
manager = {
male = {
['tshirt_1'] = -1, ['tshirt_2'] = 0,
['torso_1'] = 398, ['torso_2'] = 1,
['decals_1'] = 0, ['decals_2'] = 0,
['arms'] = 10,
['pants_1'] = 215, ['pants_2'] = 1,
['shoes_1'] = 172, ['shoes_2'] = 1,
['helmet_1'] = -1, ['helmet_2'] = 0,
['mask_1'] = 174, ['mask_2'] = 1,
['chain_1'] = 0, ['chain_2'] = 0,
['ears_1'] = 0, ['ears_2'] = 0,
['bags_1'] = 0, ['bags_2'] = 0,
['hair_1'] = 0, ['hair_2'] = 0,
['bproof_1'] = 0, ['bproof_2'] = 0
},
female = {
['tshirt_1'] = 15, ['tshirt_2'] = 0,
['torso_1'] = 300, ['torso_2'] = 9,
['decals_1'] = 0, ['decals_2'] = 0,
['arms'] = 8,
['pants_1'] = 121, ['pants_2'] = 9,
['shoes_1'] = 82, ['shoes_2'] = 9,
['helmet_1'] = 23, ['helmet_2'] = 0,
['mask_1'] = 153, ['mask_2'] = 9,
['chain_1'] = 0, ['chain_2'] = 0,
['ears_1'] = 0, ['ears_2'] = 0,
['bags_1'] = 0, ['bags_2'] = 0,
['hair_1'] = 0, ['hair_2'] = 0,
['bproof_1'] = 0, ['bproof_2'] = 0
}
},
teamleitung = {
male = {
['tshirt_1'] = -1, ['tshirt_2'] = 0,
['torso_1'] = 398, ['torso_2'] = 3,
['decals_1'] = 0, ['decals_2'] = 0,
['arms'] = 10,
['pants_1'] = 215, ['pants_2'] = 3,
['shoes_1'] = 172, ['shoes_2'] = 3,
['helmet_1'] = -1, ['helmet_2'] = 0,
['mask_1'] = 174, ['mask_2'] = 3,
['chain_1'] = 0, ['chain_2'] = 0,
['ears_1'] = 0, ['ears_2'] = 0,
['bags_1'] = 0, ['bags_2'] = 0,
['hair_1'] = 0, ['hair_2'] = 0,
['bproof_1'] = 0, ['bproof_2'] = 0
},
female = {
['tshirt_1'] = 15, ['tshirt_2'] = 0,
['torso_1'] = 300, ['torso_2'] = 9,
['decals_1'] = 0, ['decals_2'] = 0,
['arms'] = 8,
['pants_1'] = 121, ['pants_2'] = 9,
['shoes_1'] = 82, ['shoes_2'] = 9,
['helmet_1'] = 23, ['helmet_2'] = 0,
['mask_1'] = 153, ['mask_2'] = 9,
['chain_1'] = 0, ['chain_2'] = 0,
['ears_1'] = 0, ['ears_2'] = 0,
['bags_1'] = 0, ['bags_2'] = 0,
['hair_1'] = 0, ['hair_2'] = 0,
['bproof_1'] = 0, ['bproof_2'] = 0
}
},
admin = {
male = {
['tshirt_1'] = -1, ['tshirt_2'] = 0,
['torso_1'] = 398, ['torso_2'] = 2,
['decals_1'] = 0, ['decals_2'] = 0,
['arms'] = 10,
['pants_1'] = 215, ['pants_2'] = 2,
['shoes_1'] = 172, ['shoes_2'] = 2,
['helmet_1'] = -1, ['helmet_2'] = 0,
['mask_1'] = 174, ['mask_2'] = 2,
['chain_1'] = 0, ['chain_2'] = 0,
['ears_1'] = 0, ['ears_2'] = 0,
['bags_1'] = 0, ['bags_2'] = 0,
['hair_1'] = 0, ['hair_2'] = 0,
['bproof_1'] = 0, ['bproof_2'] = 0
},
female = {
['tshirt_1'] = 15, ['tshirt_2'] = 0,
['torso_1'] = 300, ['torso_2'] = 13,
['decals_1'] = 0, ['decals_2'] = 0,
['arms'] = 8,
['pants_1'] = 121, ['pants_2'] = 13,
['shoes_1'] = 82, ['shoes_2'] = 13,
['helmet_1'] = -1, ['helmet_2'] = 0,
['mask_1'] = 135, ['mask_2'] = 13,
['chain_1'] = 0, ['chain_2'] = 0,
['ears_1'] = 0, ['ears_2'] = 0,
['bags_1'] = 0, ['bags_2'] = 0,
['hair_1'] = 0, ['hair_2'] = 0,
['bproof_1'] = 0, ['bproof_2'] = 0
}
},
dev = {
male = {
['tshirt_1'] = -1, ['tshirt_2'] = 0,
['torso_1'] = 398, ['torso_2'] = 12,
['decals_1'] = 0, ['decals_2'] = 0,
['arms'] = 10,
['pants_1'] = 215, ['pants_2'] = 12,
['shoes_1'] = 172, ['shoes_2'] = 12,
['helmet_1'] = -1, ['helmet_2'] = 0,
['mask_1'] = 174, ['mask_2'] = 12,
['chain_1'] = 0, ['chain_2'] = 0,
['ears_1'] = 0, ['ears_2'] = 0,
['bags_1'] = 0, ['bags_2'] = 0,
['hair_1'] = 0, ['hair_2'] = 0,
['bproof_1'] = 0, ['bproof_2'] = 0
},
female = {
['tshirt_1'] = 15, ['tshirt_2'] = 0,
['torso_1'] = 300, ['torso_2'] = 9,
['decals_1'] = 0, ['decals_2'] = 0,
['arms'] = 8,
['pants_1'] = 121, ['pants_2'] = 9,
['shoes_1'] = 82, ['shoes_2'] = 9,
['helmet_1'] = 23, ['helmet_2'] = 0,
['mask_1'] = 153, ['mask_2'] = 9,
['chain_1'] = 0, ['chain_2'] = 0,
['ears_1'] = 0, ['ears_2'] = 0,
['bags_1'] = 0, ['bags_2'] = 0,
['hair_1'] = 0, ['hair_2'] = 0,
['bproof_1'] = 0, ['bproof_2'] = 0
}
},
mod = {
male = {
['tshirt_1'] = -1, ['tshirt_2'] = 0,
['torso_1'] = 398, ['torso_2'] = 4,
['decals_1'] = 0, ['decals_2'] = 0,
['arms'] = 10,
['pants_1'] = 215, ['pants_2'] = 4,
['shoes_1'] = 172, ['shoes_2'] = 4,
['helmet_1'] = -1, ['helmet_2'] = 0,
['mask_1'] = 174, ['mask_2'] = 4,
['chain_1'] = 0, ['chain_2'] = 0,
['ears_1'] = 0, ['ears_2'] = 0,
['bags_1'] = 0, ['bags_2'] = 0,
['hair_1'] = 0, ['hair_2'] = 0,
['bproof_1'] = 0, ['bproof_2'] = 0
},
female = {
['tshirt_1'] = 15, ['tshirt_2'] = 0,
['torso_1'] = 300, ['torso_2'] = 9,
['decals_1'] = 0, ['decals_2'] = 0,
['arms'] = 8,
['pants_1'] = 121, ['pants_2'] = 9,
['shoes_1'] = 82, ['shoes_2'] = 9,
['helmet_1'] = 23, ['helmet_2'] = 0,
['mask_1'] = 153, ['mask_2'] = 9,
['chain_1'] = 0, ['chain_2'] = 0,
['ears_1'] = 0, ['ears_2'] = 0,
['bags_1'] = 0, ['bags_2'] = 0,
['hair_1'] = 0, ['hair_2'] = 0,
['bproof_1'] = 0, ['bproof_2'] = 0
}
},
support = {
male = {
['tshirt_1'] = -1, ['tshirt_2'] = 0,
['torso_1'] = 398, ['torso_2'] = 5,
['decals_1'] = 0, ['decals_2'] = 0,
['arms'] = 10,
['pants_1'] = 215, ['pants_2'] = 5,
['shoes_1'] = 172, ['shoes_2'] = 5,
['helmet_1'] = -1, ['helmet_2'] = 0,
['mask_1'] = 174, ['mask_2'] = 5,
['chain_1'] = 0, ['chain_2'] = 0,
['ears_1'] = 0, ['ears_2'] = 0,
['bags_1'] = 0, ['bags_2'] = 0,
['hair_1'] = 0, ['hair_2'] = 0,
['bproof_1'] = 0, ['bproof_2'] = 0
},
female = {
['tshirt_1'] = 15, ['tshirt_2'] = 0,
['torso_1'] = 300, ['torso_2'] = 1,
['decals_1'] = 0, ['decals_2'] = 0,
['arms'] = 8,
['pants_1'] = 121, ['pants_2'] = 1,
['shoes_1'] = 82, ['shoes_2'] = 1,
['helmet_1'] = 23, ['helmet_2'] = 0,
['mask_1'] = 153, ['mask_2'] = 9,
['chain_1'] = 0, ['chain_2'] = 0,
['ears_1'] = 0, ['ears_2'] = 0,
['bags_1'] = 0, ['bags_2'] = 0,
['hair_1'] = 0, ['hair_2'] = 0,
['bproof_1'] = 0, ['bproof_2'] = 0
}
}
}

You might also like