Powered by UE4SS lua scripts!
-
Clone this repository into your
ue4ss/Mods
directory.git -C <path/to/ue4ss/Mods> clone https://github.com/drpsyko101/MotorTownMods.git
-
(Optional) Download and extract luasocket to
path/to/ue4ss/Mods/shared
directory to use the HTTP server. For webhook functionality, build Luasec either from source or using Luarocks for Win64. Install lua-bcrypt to enable server API authentication withbcrypt
hashing algorithm. -
Launch your game!
Most of the settings can be configured using environment variables:
Variable name | Default value | Description |
---|---|---|
MOD_LUA_PORT |
5001 |
Lua HTTP port. This only applies if luasocket module is installed |
MOD_WEBHOOK_URL |
none | Webhook URL to send the events to. Requires luasec to function |
MOD_SERVER_API_URL |
none | Server API to call from client side |
MOD_SERVER_PASSWORD |
none | Authenticate server request with Authorization: Basic header |
MOD_AUTO_FPS_ENABLE |
none | Enable automatic server traffic adjustment based on the server's FPS |
More detailed instructions can be found in the docs.
More contributions are welcomed! Read how to contribute here.