Installation

  1. Set up config.lua

    1. True/False for auto create table

      • if false need to import the sql file into database

    2. True/False for auto add the work tablet item

      • if false and wanting to use an item to access need to put item info into qb-core/shared/items.lua

      • if using work tablet as item you will need to put them info a store or some method for players to get the item

      • If using item put image 'work_tablet.png' from folder html/images into your qb-inventory/html/images folder

    3. Command

      • True/False

      • Command Name

    4. Fill in or make blank bottom label

    5. True/False buttons for

      • Jobs, Gang, Job Management, and Gang Management

    6. Set Max Job amount

      • Can have up to 5 active slots

    7. True/False Duty Switch

    8. Both Job and Gang Sections for

      • Radius value for grabbing players for hiring and money transfer

      • Location money is transferred into from boss menu transfer method

      • Storage max weight amounts

      • Storage max slot amounts

      • True/False if using Distance Control for storage

        • Then set jobs/gangs as desired if used

      • True/False if using PolyZone Control for storage

        • Then set jobs/gangs as desired if used

          • Each zone can be debugged separately while setting up to see size of zone

          • Can restart on live server and see/set zones (if tablet is out possibly will get stuck in hand to clear out of hand can use txAdmin clear zone or /refreshskin to drop the tablet)

  2. Set up webhook.lua

    • Update webhooks to your link

    • True/False which info you want to have send

    • Change Info as desired:

      • Avatar, header, title, colors, icons, and message

  3. Put resource into your server resources folder as desired

  4. Once everything above is set up just ensure that_boss_n_jobs and everything will be set up and ready to work

    • On first opening of tablet for any player they are inserted into the database and their current active job is set as job slot 1

    • For inventory image to properly appear for item full server restart will be needed.

Last updated