Installation
Requirements
- Database: oxmysql
- ox_lib
- sleepless_interact
luxu_porters_addons, included with the resource (props, clothing and animation clips)- Framework: Qbox, QBCore or ESX (optional)
On Qbox, QBCore or ESX a porter is their character and is paid on delivery. Without a framework a porter is known by their game licence and nobody is paid.
Quick Start
- Add
luxu_portersandluxu_porters_addonsto your resources folder. - Add the resources to your
server.cfg, in this order:
ensure oxmysql
ensure ox_lib
ensure sleepless_interact
ensure luxu_porters_addons
ensure luxu_porters- Restart your server.
There is no SQL file to run. The resource creates its two tables, luxu_porters_porters and luxu_porters_bests, the first time it starts. They hold each porter's deliveries and best results.
Before you go live
Config.debugis turned on in the file you receive. It enables commands that spawn cargo for anyone, such as/portercrates. Set it tofalseinshared/config.luabefore you open the server to players.
Next steps
- Decide whether the job is open to everyone or locked to a job, see Configuration.
- Move the terminals, change the missions or add your own, see Terminals and Missions.
FAQ
Q: Do I need to run SQL?
A: No. The tables are created automatically.
Q: Which frameworks?
A: Qbox, QBCore and ESX, plus oxmysql, ox_lib and sleepless_interact.
Q: Can it run without a framework?
A: Yes, but nobody is paid and porters are tracked by their game licence.
Q: The clothes or props are invisible.
A: Make sure luxu_porters_addons is started before luxu_porters, and that you did not remove it from your resources.
See the Luxu Porters product page.