Transform your city with a fully interactive, job-based cat cafe! This script is designed for QBCore servers and provides a complete business experience, including job management, crafting, security, and seamless support for both qb-target and ox_target interaction systems.
Features:
Job System: Customizable job (uwucafe) with duty toggling, register/shop access, and kitchen crafting. All job data is stored in your database for easy management.
Business Hours: The cafe operates on configurable hours, with automatic open/close logic and notifications for staff and customers.
Security System: Define secure zones (e.g., kitchen, back counter) with alarms and breach detection. Security can be armed/disarmed, and only authorized staff can access restricted areas.
Crafting System: Staff can craft unique food and drink items at the kitchen bench, with customizable recipes and ingredient requirements.
Register/Shop: On-duty staff can access the register to sell items, with server-side validation for job and duty status. Blip & Map
Integration: Customizable blip for the cafe location, making it easy for players to find and visit.
Targeting Support: Fully supports both qb-target and ox_target. Easily switch between systems in the config file (Config.TargetSystem).
Optimized & Modular:
Clean, efficient code with modular configuration for easy customization and expansion.
Requirements:
- QBCore Framework
- qb-target or ox_target (both supported)
- qb-menu (for crafting menu)
- MySQL database (for job data)
- PolyZone (For QB interaction)
- qb-inventory
Installation:
* Import the provided SQL file (uwu_catcafe.sql) to set up jobs and grades.
* Add the resource to your server and ensure dependencies are installed.
* Configure locations, recipes, and settings in config.lua.
* Start the resource and enjoy your new cat cafe!
