Interested in having a nice, fast, easy way to write/add and/or test your own Lua scripts or use existing Lua scripts for Grand Theft Auto V with ease and virtually zero/no performance loss/impact (especially when compared to the older/traditional Lua Plugin)?
Have FiveM Lua experience/knowledge that you would like to take/bring into normal GTA?
Interested in having the ability to interface various in-game things to various external/out of game things (say trigger an action on/in an external unrelated program or create your own Discord rich presence with an external utility for example, maybe even create yourself a remote game interaction api) with ease?
Well, recently I’ve somewhat departed from FiveM (with 3+ years of experience) and thought it would be cool to port over some of my scripts to singleplayer, finding headscript’s/gallexme’s Lua Plugin for Script Hook V in the process, which just simply didn’t suit my needs nor meet my expectations (especially in regards to performance), and it has pretty much been abandoned for years now, so I’ve decided to adopt it as my own and dramatically/drastically improve my fork of it far beyond what anyone could’ve ever imagined being possible with this, and I plan on introducing new performance/optimization features/techniques over time and releasing updates somewhat frequently.
Mod description: Write/Use custom Lua scripts for GTA V
Bugs and features: 1: Bug – Lua Plugin itself **cannot** be reloaded, but Lua scripts *can* be reloaded. 2: Feature – Introduced FiveM style Lua game native function calls (alongside the older/legacy game native function calls for compatibility with older/existing Lua Plugin scripts) 3: Feature – An external Lua script(s) directory which is reminiscent of a typical Lua working directory that you can place anywhere. 4: Feature – Lua script reloading script for developers with DebugMode variable set true. 5: Feature – Maintain compatibility with older/existing Lua Plugin scripts. 6: Feature – Coming Soon: Universal timer and variables with relevant player information to avoid having to use certain/common game native calls across numerous scripts (and wasting resources by doing so). 7: Feature – Universal built in native config file reader/writer functions for data storage/retention/persistence 8: Feature – Included examples and documentation via GitHub wiki
– ** JM36-v20220805.0-Stable-ForUsers ** – 1: Misc internal improvements/rewrites 2: Update RAGE native function (re)maps 3: Optimize package/distribution/download for users – stripped out example scripts and precompiled for faster loading – developers must now get “source” from GitHub.
– ** JM36-v20220412.0-Stable ** – 1: Completely/Massively rewrite/overhaul the JM36 Lua Plugin’s eCore for performance and efficiency and structural purposes. 2: JM36 Lua Plugin’s init/startup and script reloads should now be way/much more efficient (and faster). 3: Engineered and implemented modular caching libraries for use with both functions and scripts. 4: Modularized the “Info” var/param/table as well as it’s “Player” subtable (it works the same). 5: Updated the “Info” update interval to be per frame instead of every 500ms. 6: Added caching to a few common game native function calls (for speed). 7: Integrate JM36 Function (Re)Mapper to no longer need/require a separate download (LP is now more usable out of the box). 8: Updated the Function (Re)Mapper to work with the new JM36 LP filesystem structure. 9: Updated the Function (Re)Mapper’s ini file with newer game native function names. – ** JM36-v5.3-Stable ** – 1: Fix issues with some scripts which fail to function correctly or at all prior to a (forced) script reload (or in the case of non-technical users or non-developers, did not work at all). 2: Add a built in automatic migrator from/for old/legacy LuaPlugin to JM36 LuaPlugin.
– ** JM36-v5.3-Stable ** – 1: Fix issues with some scripts which fail to function correctly or at all prior to a (forced) script reload (or in the case of non-technical users or non-developers, did not work at all). 2: Add a built in automatic migrator from/for old/legacy LuaPlugin to JM36 LuaPlugin.
– ** JM36-v5.2-Stable ** – 1: Compatibility fixes for supporting more legacy `Lua Plugin` scripts.
Credits and, if applicable, notices of permission for content re-use: 1: Credits | JayMontana36 – This version/fork of Lua Plugin with completely homemade/rewritten externals (currently ALL of the included Lua scripts with the exception of “GUI.lua” were all written/original content by me) 2: Credits | headscript/gallexme – The original author of Lua Plugin who’s ASI files are currently still used in this project/fork due to my lack of knowledge to create my own. 3: Notice of permission for content re-use – https://github.com/gallexme/ScriptHook-Lua-Plugin/blob/master/README.md – Applies to the ASI files and the “GUI.lua” file used in this project/fork; for everything else