githubEdit

Installation

Dependencies

Make Sure all the dependencies are installed.

Required

ox_libarrow-up-right

ox-targetarrow-up-right or qb-targetarrow-up-right

Config Setup

Adjust config.lua according to your liking

Make sure to set your target, clothing, billing, society script or use the autodetect feature

SQL Installations

Use this if AutoInstallSQL Fails for some reason and doesn't generates the sql database

chevron-rightESXhashtag
CREATE TABLE IF NOT EXISTS `pl_uwucafe` (
    `stock` longtext DEFAULT NULL,
    `state` varchar(5) NOT NULL DEFAULT 'open'
) ENGINE=InnoDB DEFAULT CHARSET=armscii8 COLLATE=armscii8_bin;
        
INSERT INTO `addon_account` (name, label, shared) VALUES
      ('society_uwu', 'Uwu Cafe', 1);
        
INSERT INTO `datastore` (name, label, shared) VALUES
        ('society_uwu', 'Uwu Cafe', 1);
        
INSERT INTO `jobs` (name, label,whitelisted) VALUES
        ('uwu', 'UwU Cafe',1);
        
 INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
        ('uwu',0,'cashier','Cashier',20,'{}','{}'),
        ('uwu',1,'cook','Cook',40,'{}','{}'),
        ('uwu',2,'staff','Staff',60,'{}','{}'),
        ('uwu',3,'manager','Manager',85,'{}','{}'),
        ('uwu',4,'boss','Owner',100,'{}','{}');
chevron-rightQBCore or Qboxhashtag
CREATE TABLE IF NOT EXISTS `pl_uwucafe` (
    `stock` longtext DEFAULT NULL,
    `state` varchar(5) NOT NULL DEFAULT 'open'
) ENGINE=InnoDB DEFAULT CHARSET=armscii8 COLLATE=armscii8_bin;

Items

Add the items into your server

chevron-rightOx Inventoryhashtag
chevron-rightQB Inventoryhashtag
chevron-rightQS Inventoryhashtag
chevron-rightESX Inventoryhashtag

For QBCore/Qbox Only

Add the Following in qb-core/shared/jobs.lua

Added in Qbox->shared->jobs.lua

Consumables

chevron-rightQB Smallresourcehashtag
chevron-rightJim Consumableshashtag

Add Images to Inventory

Copy all the Images folder and paste it in your inventory Images folder

Log Webook Setup - Optional

To enable discord logs make sure to add your webhook in the server->Log.lua File

Optional Custom Props

If you’ve purchased either of the following prop packs:

Simply install the pack and enable it by setting the corresponding config flag:

  • Config.UseDjItems = true for DJ's pack

  • Config.UseBzzzItems = true for Bzzz's pac

Video of Installation

Last updated