Skip to main content

Runtime Mechanics Editor

Create and manage mechanic locations in-game

This section

Runtime Mechanics Editor

Create and place mechanic locations in-game without touching config files. All changes are saved to the database and synced live.

Access

  • Command: /mechanics
  • Admin only: ESX (admin, superadmin) / QB & QBox (admin, god)

Features

  • Freecam mode (F7) for precise placement
  • Gizmo controls: move, rotate, and scale radius
  • Step-by-step mechanic creation wizard
  • Configure all features per mechanic: zone, blip, lift, craft, shop, boss, storage
  • Shop & craft template system (reusable presets)
  • Live runtime sync — changes apply immediately to all players
  • Saved to code9_mechanics_runtime database table
  • Max 200 mechanic locations per server
  • Mechanic auto-detection from player's current job

Configuration

OptionDefaultDescription
enabledtrueEnable editor
commandmechanicsAdmin command name
freecamKeybindF7Toggle freecam key
liveSynctrueImmediate hot reload
draft.maxMechanics200Maximum mechanic locations
draft.maxNameLength30Max mechanic name length