Installation
Install STG Map Editor on your FiveM server in four steps.

STG Map Editor
Download the script
Sign in to the Cfx.re portal with the account you used at checkout and download stg-mapeditor from Granted Assets.
Move the resource
Extract the zip and place the stg-mapeditor folder inside the [STG] category folder in your resources directory.
resources/
└── [STG]/
├── stg_lib/
└── stg-mapeditor/Install the dependencies
Map Editor needs ox_lib, oxmysql and stg_lib. Skip this step if your server already runs them. The database table is created on the first start.
Start the script
Make sure [STG] starts after oxmysql, your framework and ox_lib in server.cfg:
ensure oxmysql
ensure ox_lib
# your framework: es_extended, qb-core or qbx_core
ensure stg_lib
ensure [STG]Then restart the whole server and type /mapeditor in game. Only players in the groups from Config.AllowedGroups can open it.
Nothing happens or the console shows an error? See Common Errors.
Next steps
Configuration
Access, opening key and prop categories
Dependencies
What needs to start before Map Editor
Still having trouble?
Open a ticket on our Discord. Our team answers around 15 hours a day.
Map Editor
A free in-game map editor with over 14,000 props, a move and rotate gizmo, editing and deleting of existing map objects and builds that stay after a restart.
Configuration
Every option in STG Map Editor shared/config.lua, from access groups and the opening key to prop categories, card images and custom props.