-
Notifications
You must be signed in to change notification settings - Fork 550
/
fxmanifest.lua
74 lines (66 loc) · 2.59 KB
/
fxmanifest.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
-- Modifying or rewriting this resource for local use only is strongly discouraged.
-- Feel free to open an issue or pull request in our GitHub.
-- Official discord server: https://discord.gg/txAdmin
author 'Tabarra'
description 'The official FiveM/RedM server web/in-game management platform.'
repository 'https://github.com/tabarra/txAdmin'
version 'REPLACE-VERSION'
ui_label 'txAdmin'
rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.'
fx_version 'cerulean'
games { 'gta5', 'rdr3' }
-- nui_callback_strict_mode 'true' --FIXME: menu iframe doesn't work
-- lua54 'yes' --TODO: check if it works
-- NOTE: All server_scripts will be executed both on monitor and server mode
-- NOTE: Due to global package constraints, js scripts will be loaded from entrypoint.js
-- NOTE: Due to people drag-n-dropping their artifacts, we can't do globbing
shared_scripts {
'resource/shared.lua'
}
server_scripts {
'entrypoint.js',
'resource/sv_main.lua', --must run first
'resource/sv_admins.lua',
'resource/sv_logger.lua',
'resource/sv_resources.lua',
'resource/sv_playerlist.lua',
'resource/sv_ctx.lua',
'resource/sv_initialData.lua',
'resource/menu/server/sv_webpipe.lua',
'resource/menu/server/sv_functions.lua',
'resource/menu/server/sv_main_page.lua',
'resource/menu/server/sv_vehicle.lua',
'resource/menu/server/sv_freeze_player.lua',
'resource/menu/server/sv_trollactions.lua',
'resource/menu/server/sv_player_modal.lua',
'resource/menu/server/sv_spectate.lua',
'resource/menu/server/sv_player_mode.lua'
}
client_scripts {
'resource/cl_main.lua',
'resource/cl_logger.lua',
'resource/cl_playerlist.lua',
'resource/menu/client/cl_webpipe.lua',
'resource/menu/client/cl_base.lua',
'resource/menu/client/cl_functions.lua',
'resource/menu/client/cl_instructional_ui.lua',
'resource/menu/client/cl_main_page.lua',
'resource/menu/client/cl_vehicle.lua',
'resource/menu/client/cl_player_ids.lua',
'resource/menu/client/cl_ptfx.lua', --must run before cl_player_mode
'resource/menu/client/cl_player_mode.lua',
'resource/menu/client/cl_spectate.lua',
'resource/menu/client/cl_trollactions.lua',
'resource/menu/client/cl_freeze.lua',
'resource/menu/vendor/freecam/utils.lua',
'resource/menu/vendor/freecam/config.lua',
'resource/menu/vendor/freecam/main.lua',
'resource/menu/vendor/freecam/camera.lua',
}
ui_page 'nui/index.html'
files {
'nui/**/*',
-- WebPipe optimization:
'panel/**/*',
'web/public/**/*',
}