nolosharp / nolosha_webmap

Webmap for RedM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nolosha webmap

Description

Resource that provide endpoint for the nolosha_webmap_web interface. Movie : https://www.youtube.com/watch?v=m92JXF64_Co

Installation

  1. add folder nolosha_webmap on u resources.cfg : ensure nolosha_webmap
  2. Host the folder nolosha_http_file on ur web host
  3. Configure ur config.json with the URL of ur game server.

Config.lua

The updateInterval is the delay between two refresh of players data. Low values can make your server laggy. Default to 5000, for 5 seconds. The AccessControlAllowOrigin allow you to restrict the url that can use the endpoint. See https://developer.mozilla.org/fr/docs/Web/HTTP/Headers/Access-Control-Allow-Origin

Credits

Inspired by https://github.com/kibook/webmap Use vorp framework

About

Webmap for RedM


Languages

Language:Lua 85.4%Language:HTML 14.6%