[ESX/OX] dRestaurants - Create your restaurants in a minute!

Yo, coming here with my new resource.
Now you can easily create any restaurant/pub/bar in a blink of an eye through config.

I made this resource to enhance the roleplay quality (to prevent buying food in 24/7 shops) and to help server owners with fast food implementation

Features:

  • Ingredients to make food/drinks
  • Customizing blips
  • Custom notification event (You can use your own notification system, just change the event in config)
  • Webhooks with logs (Order creation, Food creation)
  • Food order items with info and timestamps
    – Coords of ordering area are saved in item metadata (By using item it will set your GPS to the location)
  • Custom ingredient shops
  • If there is 0 workers online in a bar, customer will get atleast 1 item from his order.
  • Starting money that u can set in Config
  • Auto esx_society creation (based on the restaurants you create)

LINK TO THE RESOURCE HERE
Config preview here

VIDEO PREVIEW HERE

As always, if you have any questions or you find any bugs, respond to this topic, i will try to help. Have a nice day/evening

UPDATES

  • 1.0.2
    – Orders are now stored in a table, until you restart the script or server. Each employee of your restaurants can access to “live” orders and pick them up. If an employee picks up an order, all employees get info about it through custom chatMessage event in Config.
    Employee and customer are notified as soon as employee picks up customers order. Also it sets waypoint for employee, based on where the customer was when he ordered food.
    Quick video here

  • 1.0.1
    – You can now set all the “job” settings in Config, it will now automatically check for existing record in db, and if your restaurant isn’t there, it will create a new job alongside with grades that you set

Code is accessible No
Subscription-based No
Lines (approximately) 700
Requirements OX/ESX
Support Yes

where do I put code for drestaurants

You need to buy the resource, and just put it in ur resources folder, then add to your server.cfg line “ensure dRestaurants” and it works.

I forgot about the resource link, my apologies. Updated now

Uploaded new version on keymaster, added ordering command. If you have any ideas how to improve the script or what feature should i add, post it here

QBCore version coming?

Never used QBCore, but if i will find anyone that can test it, i will try to code it and release it

Update 1.0.1

  • You can now set all the “job” settings in Config, it will now automatically check for existing record in db, and if your restaurant isn’t there, it will create a new job alongside with grades that you set

Update 1.0.2

  • Orders are now stored in a table, until you restart the script or server. Each employee of your restaurants can access to “live” orders and pick them up. If an employee picks up an order, all employees get info about it through custom chatMessage event in Config.
    Employee and customer are notified as soon as employee picks up customers order. Also it sets waypoint for employee, based on where the customer was when he ordered food.
    Quick video here