An Utility Library for the Lmaobox Lua API. It provides a set of useful functions and classes to make your life easier when writing scripts for Lmaobox.
Use the Lmaobox Annotations for full annotation support when developing with this library.
To install this library, download the latest release from the releases page and copy the lnxLib.lua
file to your %localappdata%
folder.
Optionally, you can also download the minified version of the library lnxLib.min.lua
. Make sure to rename the file to lnxLib.lua
before copying it to your %localappdata%
folder!
Read the wiki for documentation and installation/usage instructions.
- IO Helpers (Create, Write and Mofify files)
- Config Helper (Easily save and load options for your script)
- Key Helper (Easily check key states)
- Wrappers (Extends the existing TF2 Entity classes)
- Custom Console Commands
- Timer & Delayed Calls
- UI Notifications
- Helpers & Utilities
- Texture Generator (Gradients, etc.)
- New data structures
- ... and more!
To pack and deploy this library, you need to have NodeJS installed.
Install the required dependencies with npm install
.
Then, run Bundle.bat
to build the library or BundleAndDeploy.bat
to build and deploy the library to the %localappdata%
folder.
Special thanks to LewdDeveloper for helping with optimization and giving good advice!