LiveMap Resource (for FiveM)
This is the “backend” code for the live_map addon for FiveM that is ran on the FiveM game server. It creates a websocket server so that it can communicate to the web interface.
How to install
-
Download the latest ZIP file.
- This should be under the “Assets” heading so click that if you don’t see anything
-
Extract the contents into a folder inside your
resources- Example:
resources/live_map/
- Example:
-
Add the following to your server.cfg file.
ensure live_mapTo get the in-game blips to show on the interface, you will need to generate a “blips” file.
This can be easily done with the in-game command blips generate (must have permission, see the official documentation).
Configuration
Please see config for how you can configure this resource.
Events
In an effort to make the addon useful to other developers, I’ve created a few events that can be used to make changes to the data being sent to the web interface.
Please see the events page for more information.
Contributors ✨
Thanks goes to these wonderful people (emoji key):
Jordan Dalton 💻 🐛 🤔 📖 |
AciD 🐛 |
David Wheatley 🐛 |
KjayCopper ⚠️ |
jiynn 🐛 |
mbergwall2222 🐛 |
Jasen Samuels 🐛 |
Avery Johnson 💻 |
Tom 💻 |
matsn0w 🐛 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!