Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.apex-services.site/llms.txt

Use this file to discover all available pages before exploring further.

A multi-floor elevator system with a built-in React + Tailwind admin manager UI. Authorized admins create, edit, and delete elevators — floor labels, coordinates, headings — entirely in-game. No config edits, no server restarts. Players press E at any registered elevator, pick a floor, and teleport with a seamless fade transition.

Features

  • Arbitrary floor count per elevator — label, X/Y/Z + heading per floor
  • In-game React manager — /elevatormanager with “use my position” button and UI color themes
  • Live sync — new/edited elevators push to every connected client instantly
  • Fade-out → teleport → fade-in transition with configurable timings
  • Optional ground-floor blip per elevator
  • Automatic SQL tables — apex_elevators + apex_elevator_floors with cascade delete
  • en/de localization with real umlauts

Requirements

Required

es_extended, ox_lib, oxmysql

Configuration

config.lua
Config.ManagerCommand   = 'elevatormanager'
Config.AllowedGroups    = { 'admin', 'projektleitung' }
Config.InteractionKey   = 38     -- E
Config.InteractionRange = 2.0
Config.NearbyRange      = 12.0
Config.FadeOutMs        = 200
Config.TeleportDelayMs  = 300
Config.FadeInMs         = 200
Config.UIColors         = { primary = '#0cabb6', background = '#086e79' }
Marker visuals, blip style, and range are fully configurable. UI color theme is exposed for brand alignment.

Hooks

See Hooks reference / Elevators. Key hooks: Hooks.HasManagerPermission, Hooks.OnPlayerNotify, Hooks.OnAuditLog, Hooks.PlayElevatorAnim.

Resource info

Code accessible: config.lua, hooks.lua, locales/*, web/*. Approximately 700 lines of Lua + React UI. English + German.