v1.12.0 - 🌠 External Panel Update

Thank you so much for your support and feedback. Together we will continue to improve your moderation experience.

To use the new web panel follow these steps:

  1. Go to https://luxu.app
  2. Login with discord
  3. Create a team with your tebex transaction id
  4. Generate a api key in your team settings
  5. Add it to your server.cfg as follows set luxu_admin_api_key "YOUR_API_KEY"
  6. Restart Luxu Admin.
  7. Start using the web panel 😉

Please report back any issues you might find!

New 🚀

  • Web panel integration

  • Vehicle stash search (Limited inventories. Please contribute with compatibility at bridge/server/inventory.lua)

  • Nodejs 22 runtime is now being used.

    • If you have server crashes, report them ASAP.
  • Changelog

  • admincar command

  • Api.json: Specify custom Ice/turn servers Free turn servers: https://developers.cloudflare.com/realtime/turn/

    "custom_ice_servers": [
    { "urls": ["stun:stun.cloudflare.com:3478", "stun:stun.cloudflare.com:53"] },
    {
    "urls": [
    "turn:turn.cloudflare.com:3478?transport=udp",
    "turn:turn.cloudflare.com:3478?transport=tcp",
    "turns:turn.cloudflare.com:5349?transport=tcp",
    "turn:turn.cloudflare.com:53?transport=udp",
    "turn:turn.cloudflare.com:80?transport=tcp",
    "turns:turn.cloudflare.com:443?transport=tcp"
    ],
    "username": "x",
    "credential": "y"
    },
    
            { "urls": ["stun:stun.cloudflare.com:3478"] }
          ],
        ```
  • Spectate controls (go back and forward between players)

  • You can now specify addon blips in config/constants/blips.json

  • Flag players!

    • When you add a flag, it will show in the player's profile and above the player's head when you have "Toggle Player Names" Feature activated!

Exports

Client

local isStaff = exports.luxu_admin.isStaff()
--- true | false

Fixes

  • noclip keybind error
  • Persistant gamer tags after disabling
  • Spectate bug which was causing staff to permanently stay in god mode
  • Fixed issue where incorrect discord config would break proper loading
  • Unjail not teleporting player to last coords

Removed

  • luxu.chat support has been removed. Use the web panel for chat.
  • Built in turn server.
    • Unreliable and caused server performance issues.

📁 Files Changed

moved config/ped_list.json -> config/constants/ped_list.json

Config Changes

New config.json options

  "external_web_panel": {
    "enabled": true,
    "__comment__": "Available at: https://luxu.app"
  },
  "flags": [
    {
      "id": "suspicious",
      "label": "Suspicious",
      "color": "#ff6201"
    },
    {
      "id": "trusted",
      "label": "Trusted",
      "color": "#1e6cf9"
    },
    {
      "id": "streamer",
      "label": "Streamer",
      "color": "#9146ff"
    }
  ],
  "notifications": {
    "staff_login": true
  },
    "admincar": {
      "enabled": true,
      "name": "admincar",
      "description": "Give a player a vehicle with mods"
    }

Api.json

 "custom_ice_servers": [
    { "urls": ["stun:stun.cloudflare.com:3478", "stun:stun.cloudflare.com:53"] },
    {
      "urls": [
        "turn:turn.cloudflare.com:3478?transport=udp",
        "turn:turn.cloudflare.com:3478?transport=tcp",
        "turns:turn.cloudflare.com:5349?transport=tcp",
        "turn:turn.cloudflare.com:53?transport=udp",
        "turn:turn.cloudflare.com:80?transport=tcp",
        "turns:turn.cloudflare.com:443?transport=tcp"
      ],
      "username": "x",
      "credential": "y"
    },

    { "urls": ["stun:stun.cloudflare.com:3478"] }
  ],

🗣️ Locales

  "no_logs_yet": "No logs yet",
  "load_more": "Load More",
  "this_stash_is_empty": "This stash is empty",
  "flag": "Flag",
  "flag_player": "Flag Player",
  "flag_description": "This flag will show above the player's head for staff members.",
  "current_flag": "Current Flag",
  "none": "None"