Admin CMD

Admins can manage weapon access directly in-game with easy-to-use commands backed by an interactive UI via ox_lib.

Command: /wlist

Whitelist a blacklisted weapon for a specific player or a job group.

Usage:

When you type /wlist, an ox_lib input dialog will pop up:

  1. Target Type – Select either:

    • Player ID: Add weapon access to a specific player

    • Job Name: Whitelist a job (e.g. police, army)

  2. Player ID or Job Name – Input the actual value (e.g., 3 or police)

  3. Weapon – Dropdown of blacklisted weapons (e.g. WEAPON_SMG, WEAPON_ASSAULTRIFLE)

Only users with the correct Ace permission group (e.g. admin) can use this command.


Command: /wlremove

Revoke a previously whitelisted weapon from a player or job.

Behavior:

  1. Choose to remove by Player ID or Job Name

  2. Select the weapon to remove, or choose All Weapons to clear the entire whitelist

  3. If the weapon was not found, it tells you. If removed, it confirms.

Designed to prevent accidental or fake removals — accurate and secure.


Last updated