forked from Blumlaut/EasyAdmin
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfxmanifest.lua
More file actions
111 lines (99 loc) · 5.37 KB
/
Copy pathfxmanifest.lua
File metadata and controls
111 lines (99 loc) · 5.37 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
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
100
101
102
103
104
105
106
107
108
109
110
111
fx_version "cerulean"
games {"rdr3","gta5"}
author 'Blumlaut <blue@furfag.de>'
description 'EasyAdmin - Admin Menu for FiveM & RedM'
repository 'https://github.com/Blumlaut/EasyAdmin'
version '8.0a3'
is_master 'yes'
storage_api_version '2'
lua54 'yes'
rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.'
node_version '22'
shared_script 'shared/permissions.lua'
shared_script 'shared/i18n.lua'
shared_script 'shared/util_shared.lua'
shared_script 'shared/kvp.lua'
shared_script 'shared/plugin_api.lua'
client_script 'client/plugin_api.lua'
server_script 'server/plugin_api.lua'
server_scripts {
"server/lib/*.lua",
"server/init/*.lua",
"server/core/*.lua",
"server/storage.lua",
"server/stats/*.lua",
"server/features/*.lua",
"server/*.lua",
"bot/dist/bot.js"
}
client_scripts {
"client/init/i18n.lua",
"client/init/globals.lua",
"client/nui/*.lua",
"client/gui_nui.lua",
"client/*.lua"
}
ui_page "nui/dist/index.html"
files {
"dependencies/images/*.png",
"dependencies/nui/**/*",
"nui/dist/**/*",
}
dependencies {
'/onesync',
'/server:12913'
}
provide 'EasyAdmin'
convar_category 'EasyAdmin' {
"Configuration Options",
{
{ "EasyAdmin language", "$ea_LanguageName", "CV_STRING", "en" },
{ "Default key to open the menu", "$ea_defaultKey", "CV_STRING", "none" },
{ "The Minimum Amount of Identifiers", "$ea_minIdentifierMatches", "CV_INT", "2" },
{ "Display banlist checking progress", "$ea_presentDeferral", "CV_BOOL", "true" },
{ "Moderation Actions Webhook", "$ea_moderationNotification", "CV_STRING", "false" },
{ "Report Notifications Webhook", "$ea_reportNotification", "CV_STRING", "false" },
{ "Detail Notifications Webhook", "$ea_detailNotification", "CV_STRING", "false" },
{ "Set a custom DateTime format", "$ea_dateFormat", "CV_STRING", "%d/%m/%Y %H:%M:%S" },
{ "Image Uploader", "$ea_screenshoturl", "CV_STRING", "none" },
{ "Screenshot Field Name", "$ea_screenshotfield", "CV_STRING", "files[]" },
{ "Screenshot on Report", "$ea_enableReportScreenshots", "CV_BOOL", "true" },
{ "Screenshot Max Resolution (px, longer dimension)", "$ea_screenshotMaxResolution", "CV_INT", "1280" },
{ "Screenshot Quality (0.0-1.0)", "$ea_screenshotQuality", "CV_FLOAT", "0.8" },
{ "Stream Max Resolution (px, longer dimension)", "$ea_streamMaxResolution", "CV_INT", "640" },
{ "Stream Target FPS", "$ea_streamTargetFps", "CV_INT", "8" },
{ "Stream STUN/TURN Servers (comma-separated)", "$ea_streamStunServers", "CV_STRING", "stun:stun.l.google.com:19302" },
{ "Webhook Identifier", "$ea_logIdentifier", "CV_STRING", "steam" },
{ "Enable calladmin Command", "$ea_enableCallAdminCommand", "CV_BOOL", "true" },
{ "Enable report Command", "$ea_enableReportCommand", "CV_BOOL", "true" },
{ "calladmin Command Name", "$ea_callAdminCommandName", "CV_STRING", "calladmin" },
{ "report Command Name", "$ea_reportCommandName", "CV_STRING", "report" },
{ "calladmin Cooldown (seconds)", "$ea_callAdminCooldown", "CV_INT", "60" },
{ "Minimum Reports to Ban Someone", "$ea_defaultMinReports", "CV_INT", "3" },
{ "Report Ban Time (unix time)", "$ea_ReportBanTime", "CV_INT", "86400" },
{ "Allow Minimum Report Count", "$ea_MinReportModifierEnabled", "CV_BOOL", "true" },
{ "Minimum Amount of Players to enable Report Modifier", "$ea_MinReportPlayers", "CV_INT", "12" },
{ "Divisor of Player Count to get minimum reports needed count", "$ea_MinReportModifier", "CV_BOOL", "true" },
{ "Amount of Warns before Actions", "$ea_maxWarnings", "CV_INT", "3" },
{ "Maximum Warn Action", "$ea_warnAction", "CV_STRING", "kick" },
{ "Maximum Warn Ban Time (unix time)", "$ea_warningBanTime", "CV_INT", "604800" },
{ "Hide IP in the GUI", "$ea_IpPrivacy", "CV_BOOL", "true" },
{ "Banlist Backup Time (hours)", "$ea_backupFrequency", "CV_INT", "72" },
{ "Maximum Backup Count", "$ea_maxBackupCount", "CV_INT", "10" },
{ "Chat Reminder Time (minutes, disabled if 0)", "$ea_chatReminderTime", "CV_INT", "0" },
{ "Time before Cached Player Expires", "$ea_playerCacheExpiryTime", "CV_INT", "900" },
{ "Set Debug Level", "$ea_logLevel", "CV_INT", "1" },
{ "Use Tokens as Identifiers", "$ea_useTokenIdentifiers", "CV_BOOL", "true" },
{ "Enable Ascii Art on Start", "$ea_enableSplash", "CV_BOOL", "true" },
{ "Token for Discord bot", "$ea_botToken", "CV_STRING", "none" },
{ "Channel for Discord bot to log", "$ea_botLogChannel", "CV_STRING", "none" },
{ "Channel for Discord bot to enable live status", "$ea_botStatusChannel", "CV_STRING", "true" },
{ "Enable Allowlist", "$ea_enableAllowlist", "CV_BOOL", "false" },
{ "Routing Bucket Options", "$ea_routingBucketOptions", "CV_BOOL", "false" },
{ "Dangerous Dev Mode", "$ea_dangerousDevMode", "CV_BOOL", "false" },
{ "Enable Action History", "$ea_enableActionHistory", "CV_BOOL", "true" },
{ "Action History Expiry", "$ea_actionHistoryExpiry", "CV_INT", "120" },
{ "Enable Admin Notes", "$ea_enableAdminNotes", "CV_BOOL", "true" },
{ "Profiler Endpoint Override", "$ea_profilerEndpoint", "CV_STRING", "" },
}
}