mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-17 05:56:02 +01:00
I've moved the framework caching to a new file `frameworkCache.lua` This now caches the framework data once when `jim_bridge` starts Then in `coreloader.lua` now, the information that is cached is now called from that script This also includes better handling of ESX cached data and should stop errors This greatly optimizes the loading of all my scripts and lowers server load to speed up server start times I have been testing this for just under a week and 6 different test servers and it appears to work fine
26 lines
558 B
Lua
26 lines
558 B
Lua
name "Jim_Bridge"
|
|
author "Jimathy"
|
|
version "2.0.14"
|
|
description "Framework Bridge By Jimathy"
|
|
fx_version "cerulean"
|
|
rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.'
|
|
games { 'gta5', 'rdr3' }
|
|
lua54 'yes'
|
|
|
|
|
|
files {
|
|
'starter.lua',
|
|
'shared/*.lua',
|
|
'shared/make/*.lua',
|
|
'shared/scaleforms/*.lua',
|
|
}
|
|
|
|
-- Version checker
|
|
server_scripts {
|
|
'frameworkCache.lua',
|
|
'_versioncheck.lua'
|
|
}
|
|
|
|
client_scripts {
|
|
'ui_modules/*.lua'
|
|
} |