Skip to Content

Installation

Basic installation instructions for Prism Restaurant.

Asset download

Download the asset from your CFX portal. The installed resource folder should be named prism_restaurant.

Dependencies

Install and start these resources before Prism Restaurant:

  • oxmysql
  • ox_lib
  • ox_inventory
  • ox_target

Example server.cfg order:

ensure oxmysql ensure ox_lib ensure ox_inventory ensure ox_target ensure prism_restaurant

Install items and images

Copy all item images from Prism Restaurant into ox_inventory:

prism_restaurant/INSTALL/IMAGES/food/* -> ox_inventory/web/images/items/ prism_restaurant/INSTALL/IMAGES/drink/* -> ox_inventory/web/images/items/ prism_restaurant/INSTALL/IMAGES/ingredients/* -> ox_inventory/web/images/items/

Then open prism_restaurant/INSTALL/ox_inventory/item.txt and add the items into ox_inventory/data/items.lua.

Required base items:

  • restaurant_food
  • restaurant_drink
  • restaurant_ingredient
  • cafe_tablet

Restart

After installing items and images:

restart ox_inventory restart prism_restaurant

Editable files

These files are open in escrow and are safe for server owners to edit:

escrow_ignore { 'client/editable.lua', 'server/editable.lua', 'shared/*.lua', 'locales/*.lua', }
Last updated on