Installation
Dependencies, the tablet and photo items and setup for Yecoyz Tablet.
1. Dependencies
| Resource | Notes |
|---|---|
| yecoyz_core | Required |
| ESX, QBCore or Qbox | Your framework |
| oxmysql | Only for the default photo storage (database). Not needed with another photo provider |
Settings and notes are saved per character in the server's resource KVP store.
2. Get it
Yecoyz Tablet is free. Get it on its store page, check out (it costs nothing), and download yecoyz_tablet from Keymaster. Extract it into your resources folder. See Getting started for the details.
ImportantDon't rename the resource folder.
3. server.cfg
Start it after yecoyz_core and before the scripts that add apps:
ensure yecoyz_core
ensure yecoyz_tablet
ensure yecoyz_bossmenu # optional, adds the Company app
ensure yecoyz_duty # optional, adds the Duty app
ensure yecoyz_mdt # optional, adds the MDT app4. The tablet item
ox_inventory: add this to data/items.lua, copy install/tablet.png to ox_inventory/web/images/ and restart ox_inventory:
['tablet'] = {
label = 'Tablet',
weight = 600,
stack = false,
close = true,
description = 'A slim tablet running SlateOS. Use it to take it out.',
client = { export = 'yecoyz_tablet.useItem' },
},Other inventories (ESX, QBCore, Qbox): add an item named tablet with install/tablet.png as its icon. The resource registers it as usable.
To open the tablet without an item, set Config.item = false. /tablet opens it too, and players can bind it to a key under Settings > Key Bindings > FiveM.
5. The photo item
Printed photos are an item named photo, with the picture's address in its metadata. It needs an inventory that keeps item metadata, such as ox_inventory or qb-inventory.
ox_inventory: add this to data/items.lua, copy install/photo.png to ox_inventory/web/images/ and restart ox_inventory:
['photo'] = {
label = 'Photo',
weight = 5,
stack = false,
close = true,
consume = 0,
description = 'A printed photo.',
client = { export = 'yecoyz_tablet.usePhoto' },
},Other inventories: add an item named photo with install/photo.png as its icon. The resource registers it as usable.
6. Photo storage
The default stores photos in your database through oxmysql, with nothing else to set up. To use Fivemanage, Zyke Media Studio or your own storage, see Where photos are stored.
Updating
Replace the folder with the new version from Keymaster. Keep your config.lua and compare it with the new one.
Open a ticket in the Discord with what you tried and what you see, and I'll help you get it running.