1
Replace the Old Script
- Unzip the newly downloaded bundle
- Open your server
resourcesfolder - Delete the old
revo_idcardfolder - Move the new
revo_idcardfolder intoresources
2
Restore and Review Your Config
Copy your backed-up
config.lua settings into the new version, then compare them with the new default config.3
Apply the v1.2 Inventory Migration
Revo ID Card v1.2 changed the default inventory image names. You must update your inventory item definitions and replace the images to avoid missing icons or broken item display.Image name changes:
id_card->revo_design_1.pngdriver_license->revo_design_2.pngfirearm_license->revo_design_3.png
- ox_inventory
- qb-inventory
- qs-inventory / qs-advancedinventory
Update Then copy the new images from the
ox_inventory/data/items.lua and replace the old image names with the new ones, or replace the existing card entries with this updated version:items-images folder in revo_idcard to ox_inventory/web/images/.If you only change the image files but leave the old names inside your items file, the new images will not appear correctly. Both the items file and the image folder must be updated.
4
Restart the Updated Resources
Restart your inventory resource first, then restart Revo ID Card:If you use another inventory, restart that resource instead of
ox_inventory.Updating to v1.2
If you are upgrading from v1.1 or older to v1.2, make sure you complete all of the following:- Replace the old
revo_idcardscript files with the new version - Review and merge the new config options, especially
Config.Cards,Config.CardDisplayDuration, and validation settings - Update inventory item image names from the old filenames to the new design-based filenames
- Replace the old card entries in your inventory
items.luafile with the updated code if needed - Copy the new images from
revo_idcard/items-imagesinto your inventory image folder
Verification
After updating, verify the script works correctly:- Check that the inventory icons load for ID cards, driver licenses, and firearm licenses
- Create a real ID and confirm the card image and data display correctly
- Test fake ID creation if enabled
- Run
/idcheckwith a police job to confirm the validation flow works - If you use custom cards in
Config.Cards, verify you also created matching inventory item definitions