v1.0.8

Important

Please pay attention to v1.0.9, since it might have important fixes, when its released.

New 🚀

  • Prop menu

image.png

Fixes

  • Performance improvements (read SQL changes below)
  • Bug fixes (including discord bot)

📁 Files Changed

  • web/
  • bridge/client/inventory.lua
  • bridge/server/garage.lua
  • bridge/server/inventory.lua
  • bridge/server/player.lua
  • client/modules/actions.lua
  • client/modules/nui.lua
  • client/modules/props.lua
  • client/modules/visibility.lua
  • client/utils/cl_functions.lua
  • config/anticheat/server.lua
  • config/help.lua
  • fxmanifest.lua
  • locales/en.json
  • locales/fr.json
  • locales/pt.json
  • locales/zh.json
  • server/database_checker.lua
  • server/index.js
  • server/modules/props.lua
  • server/sv_main.lua
  • shared/utils.lua

SQL Changes

Run these queries separately, in this order

CREATE INDEX idx_staff_active_sessions ON luxu_admin_duty_sessions (staff_id, end_time, start_time DESC);
CREATE INDEX idx_staff_start_time ON luxu_admin_duty_sessions (staff_id, start_time DESC);
CREATE INDEX idx_end_time_start_time ON luxu_admin_duty_sessions (end_time, start_time);
CREATE INDEX idx_staff_duration ON luxu_admin_duty_sessions (staff_id, duration_seconds);
CREATE INDEX idx_staff_date_totals ON luxu_admin_duty_daily_stats (staff_id, date, total_seconds);
CREATE INDEX idx_date_staff_totals ON luxu_admin_duty_daily_stats (date, staff_id, total_seconds DESC);
DROP INDEX IF EXISTS idx_start_time ON luxu_admin_duty_sessions;
DROP INDEX IF EXISTS idx_end_time ON luxu_admin_duty_sessions;
DROP INDEX IF EXISTS idx_staff_id ON luxu_admin_duty_sessions;
CREATE TABLE IF NOT EXISTS `luxu_admin_props` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL DEFAULT '',
  `model` varchar(255) NOT NULL,
  `x` float NOT NULL DEFAULT 0,
  `y` float NOT NULL DEFAULT 0,
  `z` float NOT NULL DEFAULT 0,
  `rx` float NOT NULL DEFAULT 0,
  `ry` float NOT NULL DEFAULT 0,
  `rz` float NOT NULL DEFAULT 0,
  `plate` varchar(8) NOT NULL DEFAULT '',
  `metadata` longtext NOT NULL,
  `created_at` datetime NOT NULL DEFAULT curtime(),
  `type` enum('vehicle','object','ped') NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB;

🗣️ Locales

Might have missed a few 🙃 (Check included locales if something is missing)

  "teleport_with_car": "Teleport with car",
  "the_player_will_be_kicked_from_the_server_and_their_character_will_be_deleted": "The player will be kicked from the server and their character will be deleted",
  "move_down": "Move Down",
  "move_up": "Move Up",
  "next_player": "Next Player",
  "previous_player": "Previous Player",
  "reset_speed": "Reset Speed",
  "rotate": "Rotate",
  "rotation_axis": "Rotation Axis",
  "speed_modifier": "Speed Modifier",
  "stop_noclip": "Stop Noclip",
  "stop_spectating": "Stop Spectating",
  "toggle_hud": "Toggle HUD",
  "entity_placer_position": "Entity Placer Position",
  "add": "Add",
  "add_prop_data": "Add Prop Data",
  "create_new_prop": "Create New Prop",
  "edit_prop": "Edit Prop",
  "model": "Model",
  "no_prop_selected": "No Prop Selected",
  "prop_name": "Prop Name",
  "props_dashboard": "Props Dashboard",
  "props_dashboard_description": "Manage and create props in the world",
  "props_list": "Props List",
  "quick_create_prop": "Quick Create Prop",
  "rotation": "Rotation",
  "select_type": "Select Type",
  "type": "Type"