-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathconfig.lua
99 lines (92 loc) · 4.65 KB
/
config.lua
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
Config = {}
--GENERAL
Config.Lang = 'fr' --Set lang (fr-en)
Config.Permission = "admin" --Permission need to use FiveM-BanSql commands (mod-admin-superadmin)
Config.ForceSteam = true --Set to false if you not use steam auth
Config.MultiServerSync = false --This will check if a ban is add in the sql all 30 second, use it only if you have more then 1 server (true-false)
--WEBHOOK
Config.EnableDiscordLink = false --Turn this true if you want link the log to a discord (true-false)
Config.webhookban = "https://discordapp.com/api/webhooks/473571126690316298/oJZBU9YLz9ksOCG_orlf-wpMZ2pkFedfpEsC34DN_iHO0CBBp6X06W3mMJ2RvMMK7vIO"
Config.webhookunban = "https://discordapp.com/api/webhooks/473571126690316298/oJZBU9YLz9ksOCG_orlf-wpMZ2pkFedfpEsC34DN_iHO0CBBp6X06W3mMJ2RvMMK7vIO"
--LANGUAGE
Config.TextFr = {
start = "La BanList et l'historique a ete charger avec succes",
starterror = "ERREUR : La BanList ou l'historique n'a pas ete charger nouvelle tentative.",
banlistloaded = "La BanList a ete charger avec succes.",
historyloaded = "La BanListHistory a ete charger avec succes.",
loaderror = "ERREUR : La BanList n a pas été charger.",
cmdban = "/sqlban (ID) (Durée en jours) (Raison)",
cmdbanoff = "/sqlbanoffline (Permid) (Durée en jours) (Raison)",
cmdhistory = "/sqlbanhistory (Steam name) ou /sqlbanhistory 1,2,2,4......",
noreason = "Raison Inconnue",
during = " pendant : ",
noresult = "Il n'y a pas autant de résultats !",
isban = " a été ban",
isunban = " a été déban",
invalidsteam = "Vous devriez ouvrir steam",
invalidid = "ID du joueur incorrect",
invalidname = "Le nom n'est pas valide",
invalidtime = "Duree du ban incorrecte",
alreadyban = " étais déja bannie pour : ",
yourban = "Vous avez ete ban pour : ",
yourpermban = "Vous avez ete ban permanent pour : ",
youban = "Vous avez banni : ",
forr = " jours. Pour : ",
permban = " de facon permanente pour : ",
timeleft = ". Il reste : ",
toomanyresult = "Trop de résultats, veillez être plus précis.",
day = " Jours ",
hour = " Heures ",
minute = " Minutes ",
by = "par",
ban = "Bannir un joueurs qui est en ligne",
banoff = "Bannir un joueurs qui est hors ligne",
bansearch = "Trouver l'id permanent d'un joueur qui est hors ligne",
dayhelp = "Nombre de jours",
reason = "Raison du ban",
permid = "Trouver l'id permanent avec la commande (sqlsearch)",
history = "Affiche tout les bans d'un joueur",
reload = "Recharge la BanList et la BanListHistory",
unban = "Retirez un ban de la liste",
steamname = "(Nom Steam)",
}
Config.TextEn = {
start = "BanList and BanListHistory loaded successfully.",
starterror = "ERROR: BanList and BanListHistory failed to load, please retry.",
banlistloaded = "BanList loaded successfully.",
historyloaded = "BanListHistory loaded successfully.",
loaderror = "ERROR: The BanList failed to load.",
cmdban = "/sqlban (ID) (Duration in days) (Ban reason)",
cmdbanoff = "/sqlbanoffline (Permid) (Duration in days) (Steam name)",
cmdhistory = "/sqlbanhistory (Steam name) or /sqlbanhistory 1,2,2,4......",
forcontinu = " days. To continue, execute /sqlreason [reason]",
noreason = "No reason provided.",
during = " during: ",
noresult = "No results found.",
isban = " was banned",
isunban = " was unbanned",
invalidsteam = "Steam is required to join this server.",
invalidid = "Player ID not found",
invalidname = "The specified name is not valid",
invalidtime = "Invalid ban duration",
alreadyban = " was already banned for : ",
yourban = "You have been banned for: ",
yourpermban = "You have been permanently banned for: ",
youban = "You are banned from this server for: ",
forr = " days. For: ",
permban = " permanently for: ",
timeleft = ". Time remaining: ",
toomanyresult = "Too many results, be more specific to shorten the results.",
day = " days ",
hour = " hours ",
minute = " minutes ",
by = "by",
ban = "Ban a player",
banoff = "Ban an offline player",
dayhelp = "Duration (days) of ban",
reason = "Reason for ban",
history = "Shows all previous bans for a certain player",
reload = "Refreshes the ban list and history.",
unban = "Unban a player.",
steamname = "Steam name"
}