Twilight Elevatorspaidv1.1.0Qbox
Requirements & Database
Resources that must be running before Twilight Elevators and the table it creates.
Dependencies
Make sure the following resources are installed and started before Twilight Elevators.
qbx_coreLatest
Reads the player's job for restricted floors.
ox_libLatest
Notifications and the travel progress bar.
ox_targetLatest
Creates the interaction zone on every panel.
oxmysqlLatest
Saves elevators created in the admin menu.
xsoundLatest
Plays the arrival chime when UseSounds is enabled.
Database
The twilight_elevators table is created automatically the first time the resource starts. It stores elevators made in the admin menu. If you prefer to run it yourself:
CREATE TABLE IF NOT EXISTS `twilight_elevators` (
`key` VARCHAR(64) NOT NULL PRIMARY KEY,
`data` LONGTEXT NOT NULL,
`updated_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
);Floor tracking still lives in memory and resets when a player disconnects.