KS-Map-Editor
Installation
- Unzip the delivered archive into your
resources/folder, under the nameks-map-editor. - Import the provided
install.sqlfile into your database. - Add
ensure ks-map-editorto yourserver.cfg, afteroxmysqlandqb-core. - Restart your server.
Configuration
Config.AllowedGrades = { "admin", "builder" }
Config.AutosaveInterval = 120 -- secondes entre deux sauvegardes automatiques de session
Autosave protects against losing a session if the server crashes or restarts unexpectedly during an edit.
Exporting a creation
Once editing is done, the session exports to a file ready to load:
exports['ks-map-editor']:ExportSession('decor_sandy_shores')
-- génère un fichier Lua listant chaque prop posé (modèle, position, rotation)
The generated file then loads like any other decor configuration, through a simple ensure in server.cfg.
Common issues
The editor menu doesn’t open. Check that your grade is listed in Config.AllowedGrades — access is silently denied by default to prevent unauthorized players from placing props.
Placed props disappear when the server restarts. An un-exported session is only temporary — use ExportSession (or the interface’s “Export” button) before restarting, then load the generated file like any other decor configuration.
Something not covered here? Join our Discord.

