Config file
Config = {}
-- If set to false, the marker will be displayed.
Config.Target = true
-- Duration in seconds to wait for an order.
Config.WaitForOrder = 30
Config.UseBlip = false
--If you change Price for restaurant for buy then you need to change message in html for that if you want.
Config.RestaurantPrice = 6000000
Config.PercentageForSell = 0.80
--When someone buy food the script first will search money from inventory if he dont have in inventory then will take from bank account so this is item for inventory.
Config.MoneyItem = "money"
-- The percentage of money received for owners of restaurant per each someones buy food (0.40 represents 40%). If food cost 2k owner will get 40% of 2k.
Config.Percentage = 0.40
-- Use the command /setrestaurant_sushi {ID} to assign an owner, making them the restaurant owner. They will receive 40% of the money for each order. You can also manage the percentage above this message.
Config.SetCommand = "setrestaurant_uwucafe"
Config.BlipSettings = {
{title = "UwU Cafe Restaurant", colour=5, id=58, scale=1.0, x=-581.7393, y=-1060.9580, z=22.3442}
}
-- You can add multiple ranks here that are allowed to use the command to set restaurants owners.
Config.adminRanks = {
'vlasnik'
}
-- This is a safe zone; if a customer orders food and leaves this radius, they will not receive their food and money back.
Config.Zone = {
coords = vector3(-581.7393, -1060.9580, 22.3442),
radius = 17.0
}
--If you use marker then use this settings.
Config.MarkerText = {
textColor = {r = 255, g = 255, b = 255, a = 255},
textFont = 4,
textScale = {s = 0.5, c = 0.5}
}
Config.MarkerLocation = {
type = 1,
coords = vector3(-581.7393, -1060.9580, 22.3442),
heading = 0,
markerRadius = 2.0,
zOffset = -1,
markerHeight = 0.4,
markerColor = {r = 255, g = 255, b = 255, a = 255}
}
--If you use target use this settings.
Config.TargetLocation = {
coords = vector3(-583.9838, -1061.5044, 23.4392),
heading = 138.6972,
minZ = 25.98,
maxZ = 29.98
}
Config.TargetSettings = {
icon = "fa-solid fa-utensils",
iconColor = "purple",
label = "Open menu",
distance = 1.3
}
-- If you change prices here, you must also update them in index.html!
Config.Prices = {
summercake = 2350,
francecake = 2700,
babbletea = 2200,
cafe = 3500,
summercakeItem = "ljetnikolac",
francecakeItem = "francuskikeksi",
babbleteaItem = "babbletea",
cafeItem = "kava",
--IF YOU CHANGE NAMES IN HTML CHANGE HERE TOO
server1 = "SUMMERCAKE",
server2 = "FRANCECAKE",
server3 = "BABBLETEA",
server4 = "CAFE",
}
Config.Translate = {
cancelBuy = "You do not have enough money, and your purchase has been canceled.",
orderPlaced = "Your order has been placed. Please wait 30 seconds to receive your food. Do not leave the restaurant.",
notInRestaurant = "You did not go to the restaurant; you did not receive your food, and you lost your money.",
already = "Another order is already in progress; please wait for it to finish.",
setOwner = "You have successfully set a new owner for the restaurant UwUcafe",
wrongID = "You need to use a valid ID.",
dontHavePerms = "You do not have permission to use this command.",
openMenu = "Press [~p~E~w~] to open the menu.",
onSale = "Restaurant For Sale",
restaurantPurchased = "You successfully bought UwUcafe restaurant."
}Last updated