Configuration
Contenu de config.lua
Config = {}
Config.Cache = {
isMenuOpen = false, -- État du menu
playerGroup = nil, -- Groupe du joueur actuel
staffRanking = {}, -- Classement des staffs
isStaffOutfitActive = false -- État de la tenue staff
}
-- Touches pour ouvrir le menu
Config.DefaultKey = 'F6' -- Touche par défaut
Config.Command = 'areport' -- Commande pour ouvrir le menu
Config.Outfit = true -- On désactive temporairement la tenue staff car vous avez pas fait les packs de vêtement pour le moment.
-- Configuration du No-Clip
Config.NoClip = {
defaultKey = 'F4',
command = 'noclip',
speeds = {
slow = 0.2,
normal = 0.5,
fast = 3.0
}
}
-- Configuration unifiée des tenues staff
Config.StaffOutfits = {
illeniumAppearance = {
male = { -- Tenue Homme
mask = { item = 0, texture = 0 },
arms = { item = 31, texture = 0 },
tshirt = { item = 15, texture = 0 },
torso2 = { item = 178, texture = 0 },
pants = { item = 77, texture = 0 },
shoes = { item = 55, texture = 0 },
glass = { item = 0, texture = 0 },
ear = { item = -1, texture = 0 },
bag = { item = 0, texture = 0 },
hat = { item = 91, texture = 0 },
watch = { item = -1, texture = 0 },
bracelet = { item = -1, texture = 0 }
},
female = { -- Tenue Femme
mask = { item = 0, texture = 0 },
arms = { item = 36, texture = 0 },
tshirt = { item = 15, texture = 0 },
torso2 = { item = 180, texture = 0 },
pants = { item = 79, texture = 0 },
shoes = { item = 58, texture = 0 },
glass = { item = 0, texture = 0 },
ear = { item = -1, texture = 0 },
bag = { item = 0, texture = 0 },
hat = { item = 90, texture = 0 },
watch = { item = -1, texture = 0 },
bracelet = { item = -1, texture = 0 }
}
},
esxSkin = {
male = { -- Tenue Homme
tshirt_1 = 15,
tshirt_2 = 0,
torso_1 = 178,
arms = 31,
pants_1 = 77,
shoes_1 = 55,
mask_1 = 0,
mask_2 = 0,
bproof_1 = 0,
bproof_2 = 0,
chain_1 = 0,
chain_2 = 0,
helmet_1 = 91,
glasses_1 = 0,
glasses_2 = 0
},
female = { -- Tenue Femme
tshirt_1 = 15,
tshirt_2 = 0,
torso_1 = 180,
arms = 36,
pants_1 = 79,
shoes_1 = 58,
mask_1 = 0,
mask_2 = 0,
bproof_1 = 0,
bproof_2 = 0,
chain_1 = 0,
chain_2 = 0,
helmet_1 = 90,
glasses_1 = 0,
glasses_2 = 0
}
}
}
-- Configuration unifiée des groupes admin
Config.AdminGroupsPerms = {
{gradeName = "support", color = 6, name = "Bleu", label = "Support", bypass = false},
{gradeName = "modo", color = 2, name = "Orange", label = "Modérateur", bypass = false},
{gradeName = "admin", color = 3, name = "Violet", label = "Administrateur", bypass = false},
{gradeName = "responsablelegal", color = 1, name = "Vert", label = "Resp. Légal", bypass = false},
{gradeName = "responsableillegal", color = 5, name = "Rouge", label = "Resp. Illégal", bypass = false},
{gradeName = "responsablestaff", color = 8, name = "Gris Foncé", label = "Resp. Staff", bypass = false},
{gradeName = "fondateur", color = 10, name = "Noir", label = "Fondateur", bypass = true}
}
-- Temps minimum entre chaque report (en secondes)
Config.CooldownTime = 1
-- Autoriser les staffs à faire des reports
Config.AllowStaffReports = true
-- Nombre maximum de reports actifs par joueur
Config.MaxActiveReports = 1
-- Configuration des webhooks Discord
Config.Webhooks = {
newReport = '', -- Webhook pour les nouveaux reports
resolvedReport = '', -- Webhook pour les reports résolus
pausedReport = '', -- Webhook pour les reports mis en pause
staffAction = '' -- Webhook pour les actions staff (téléportation, spectate, etc.)
}
Config.DiscordColors = {
newReport = 15105570, -- Orange
resolvedReport = 3066993, -- Vert
takenReport = 3447003, -- Bleu
staffAction = 10181046, -- Purple
}
--[[ Tableau des couleurs :
1 = Vert
2 = Orange
3 = Violet
4 = Rose
5 = Rouge
6 = Bleu
7 = Gris Clair
8 = Gris Foncé
9 = Blanc
10 = Noir
]]
Dernière mise à jour