NullSect
Systems nominal

Docs / Admin Mechanic / Installation

Installation — ns-adminmechanic

  1. Put the ns-adminmechanic folder into your resources (e.g. resources/[nullsect]/ns-adminmechanic).

  2. Make sure ox_lib starts before it.

  3. Add to server.cfg:

    ensure ns-adminmechanic
    
  4. Pick the language in config.lua (Config.Locale = 'en' or 'tr').

  5. The command is restricted to group.admin (Config.Permission). If your admins are not in that ACE group yet:

    add_principal identifier.license:YOUR_LICENSE group.admin
    
  6. Restart the server.

No database tables, items or SQL imports are needed.

Updating from ns-mekanik

Version 2.0.0 renamed the resource from ns-mekanik to ns-adminmechanic.

  1. Delete the old ns-mekanik folder and replace ensure ns-mekanik with ensure ns-adminmechanic.
  2. The command is now /adminmechanic. To keep /mekanik, set Config.Command = 'mekanik'.
  3. The menu is now English by default. To keep it Turkish, set Config.Locale = 'tr'.

Use

  1. Stand within 5 m of a vehicle, or sit in it.
  2. Type /adminmechanic.
KeyAction
↑ / ↓Move through the menu (the car previews the hovered option)
← / →Change a value (list, level, slider)
EnterOpen a category, keep the previewed value
BackspaceBack / put the current slot back
ESCClose (anything only previewed is restored)
Mouse drag outside the panelOrbit the camera
Mouse wheelZoom

The car is frozen while the menu is open and released when it closes. If the car is more than 10 m away or gone when you change something, the menu closes instead of applying the change.

Verify

CheckExpected
/adminmechanic as a non-adminox_lib refuses the command
/adminmechanic with no car nearby"No vehicle nearby." notification
Hover a wheel model, then press BackspaceThe wheel changes, then goes back
Change a colour, park the car in a qbx_garages garage, take it outThe colour is kept

Troubleshooting

ProblemSolution
"Could not take control of the vehicle, try again."Another player has network control of the car. Try again, or sit in the car first.
Mods are gone after a restartThe menu does not save by itself. Park the car in a garage that stores ox_lib properties (qbx_garages does).
Paint finish is lost after parkingPick the finish in the colour editor: the colour is written as a custom RGB colour so the finish is saved with it.
A category says "No parts for this vehicle"That car model has no parts for it.
The console says Locale "xx" not foundConfig.Locale names a language that has no file in locales/; the menu falls back to English.

Cart

Your cart is empty.