Config File
The Config Settings for clothing are purely determined on your clothing within your server. Add in the clothing pack given with the resource and configure the config.lua to your server.
Odds are the default numbers provided in the config file for each clothing item will not actually be the flight suit clothing
You will need to go through your clothing to find the correct item numbers in order to properly configure the clothing items for each flight suit
Config = {}
Config.EnviWeddingsEnabled = true -- SET TO TRUE if you use envi-weddings and want to have the option of purchasing a ring as an engagement ring
-- Download Here: https://envi-scripts.tebex.io/package/6671530
Config.CertificateUI = true -- if false, will use ox_lib alertDialog instead
Config.ShowCertificateDistance = 2.0 -- distance to show certificate UI when using item to show to nearby players - (set to 0.01 to show to the player using the item only)
Config.EngravingCost = 5000
Config.SpawnedRingsAreFake = true -- if true, rings that are not obtained from the Forever Rings shop will be 'FAKE' and will NOT come with a certificate
Config.Shops = {
[1] = {
label = 'Forever Rings',
pedModel = 'A_F_Y_BevHills_04',
spawnRadius = 20.0,
coords = vec4(-737.7367, 253.9889, 77.3329, 117.2713),
anim = {
scenario = 'WORLD_HUMAN_STAND_IMPATIENT',
-- or
-- dict = 'anim@heists@box_carry@',
-- clip = 'idle',
},
ownable = {
enabled = true,
price = 10000000,
managementLocation = vec3(-736.6005, 257.2536, 77.3329),
percentage = 10, -- Owner receives 10% of sales into management fund
canSell = true,
sellPercentage = 50, -- Get back 50% of purchase price when selling
canTransfer = true,
}
},
}
Config.Rings = { -- NOTE: you will need to set clothing numbers to match your server's clothing layouts
-- if using rings provided in envi-forever-rings-addon, the component numbers will be 10 and the models should be towards the end of 'Decals' section
['Male'] = {
['simple_diamond'] = {
name = 'Simple Diamond',
component = 10,
model = 197,
texture = 0,
cost = 50000,
image = 'simple-diamond-male',
},
['big_diamond'] = {
name = 'Big Diamond',
component = 10,
model = 193,
texture = 0,
cost = 500000,
image = 'big-diamond-male',
},
['infinity'] = {
name = 'Infinity',
component = 10,
model = 194,
texture = 0,
cost = 250000,
image = 'infinity-male',
},
['pearl'] = {
name = 'Pearl',
component = 10,
model = 195,
texture = 0,
cost = 100000,
image = 'pearl-male',
},
['simple_band'] = {
name = 'Simple Band',
component = 10,
model = 196,
texture = 0,
cost = 10000,
image = 'simple-band-male',
},
['fancy_diamond'] = {
name = 'Fancy Diamond',
component = 10,
model = 198,
texture = 0,
cost = 350000,
image = 'fancy-diamond-male',
},
['blood'] = {
name = 'Blood',
component = 10,
model = 199,
texture = 0,
cost = 200000,
image = 'blood-male',
},
['labradorite'] = {
name = 'Labradorite',
component = 10,
model = 200,
texture = 0,
cost = 150000,
image = 'labradorite-male',
},
['skull'] = {
name = 'Skull',
component = 10,
model = 201,
texture = 0,
cost = 100000,
image = 'skull-male',
},
['heart'] = {
name = 'Heart',
component = 10,
model = 202,
texture = 0,
cost = 200000,
image = 'heart-male',
},
['eternity'] = {
name = 'Eternity',
component = 10,
model = 203,
texture = 0,
cost = 400000,
image = 'eternity-male',
},
},
['Female'] = {
['simple_diamond'] = {
name = 'Simple Diamond',
component = 10,
model = 195,
texture = 0,
cost = 50000,
image = 'simple-diamond-female',
},
['big_diamond'] = {
name = 'Big Diamond',
component = 10,
model = 193,
texture = 0,
cost = 500000,
image = 'big-diamond-female',
},
['infinity'] = {
name = 'Infinity',
component = 10,
model = 192,
texture = 0,
cost = 250000,
image = 'infinity-female',
},
['pearl'] = {
name = 'Pearl',
component = 10,
model = 193,
texture = 0,
cost = 100000,
image = 'pearl-female',
},
['simple_band'] = {
name = 'Simple Band',
component = 10,
model = 194,
texture = 0,
cost = 10000,
image = 'simple-band-female',
},
['fancy_diamond'] = {
name = 'Fancy Diamond',
component = 10,
model = 196,
texture = 0,
cost = 350000,
image = 'fancy-diamond-female',
},
['blood'] = {
name = 'Blood',
component = 10,
model = 197,
texture = 0,
cost = 200000,
image = 'blood-female',
},
['labradorite'] = {
name = 'Labradorite',
component = 10,
model = 198,
texture = 0,
cost = 150000,
image = 'labradorite-female',
},
['skull'] = {
name = 'Skull',
component = 10,
model = 199,
texture = 0,
cost = 100000,
image = 'skull-female',
},
['heart'] = {
name = 'Heart',
component = 10,
model = 200,
texture = 0,
cost = 200000,
image = 'heart-female',
},
['eternity'] = {
name = 'Eternity',
component = 10,
model = 201,
texture = 0,
cost = 400000,
image = 'eternity-female',
},
},
}
Config.MysteryBox = {
enabled = true,
name = 'Mystery Box',
cost = 250000,
image = 'forever_ring',
}
----------------------------------------------------------------------------------------------------------------
Config.Lang = {
['bought'] = 'You have purchased a Forever Ring',
['failed'] = 'You can only purchase a Forever Ring ONCE in a Life-Time!',
['menu_title'] = 'Forever Rings',
['purchase_desc'] = '*Price:* **$%s**',
['engraving_header'] = 'Would you like to engrave a message for **$%s** extra?',
['engraving_desc'] = 'Our **Premium Engraving Service** will add a personalized message to your Forever Ring! This will also include a special note alongside your Certificate of Authenticity.',
['not_enough_money'] = 'You do not have enough money to purchase this!',
['ring_name'] = 'Forever Ring',
['purchase_ring'] = 'Purchase Ring',
['who_for'] = 'Who are you buying this for?',
['special_someone'] = 'Special Someone',
['add_engraving'] = 'Add an engraving?',
['write_message'] = 'Write your special message...',
['payment_header'] = 'How would you like to pay?',
['payment_desc'] = 'Please select **Cash** or **Card**',
['pay_card'] = 'Card',
['pay_cash'] = 'Cash',
['cert_header'] = '# **Forever Ring**',
['cert_title'] = '## ***Certificate of Authenticity***',
['cert_from'] = '**With Love From:**',
['cert_to'] = '**Gifted To:**',
['cert_message'] = '**Message:**',
['cert_date'] = '**Purchased On:**',
['cert_style'] = '**Ring Style:**',
['cert_warning'] = '**PLEASE BE AWARE:**\t\n A Forever Ring is an **extra special** gift that can only be purchased **once** in a lifetime.', -- \t\n = new line
['yes_please'] = 'Yes Please',
['no_thanks'] = 'No Thanks',
['heart'] = '<3',
['opened_mystery'] = 'You opened a mystery Forever Ring!',
['male'] = 'Men\'s Collection',
['female'] = 'Women\'s Collection',
['male_desc'] = 'Browse our new selection of Forever Rings for Men',
['female_desc'] = 'Browse our world-famous Forever Rings for Women',
['choice_desc'] = 'Style: **%s**\n\nPrice: **$%s**\n\nPlease be aware that you can only purchase a Forever Ring ONCE in a Life-Time! \n\n Are you sure you want to proceed?',
['ring_lost'] = 'You lost your Forever Ring!',
['doesnt_fit'] = 'This ring doesn\'t fit you!',
['name_placeholder'] = 'Your Special Someone <3',
['special_offers'] = 'Special Offers',
['special_offers_desc'] = 'Check out our latest Special Offers!',
['shop_management'] = 'Shop Management',
['not_owner'] = 'You are not the owner of this shop',
['funds_available'] = 'Available Funds: $',
['withdraw_funds'] = 'Withdraw Funds',
['sell_shop'] = 'Sell Shop',
['transfer_shop'] = 'Transfer Shop',
['funds_received'] = 'You received $ ',
['withdraw_success'] = 'Successfully withdrew $',
['withdraw_failed'] = 'Failed to withdraw funds',
['shop_sold'] = 'You sold the shop for $',
['shop_purchased'] = 'You purchased the shop for $',
['cannot_afford'] = 'You cannot afford to buy this shop',
['already_own'] = 'You already own a shop',
['purchase'] = 'Purchase Business',
['how_much'] = 'Amount to withdraw',
['sell_desc'] = 'Sell value: $',
['sell_failed'] = 'Failed to sell shop',
['ring_purpose'] = 'What is the purpose of this ring?',
['engagement_question'] = 'Are you buying this ring as an engagement ring?',
['yes_engagement'] = 'Yes',
['no_regular'] = 'No',
}
Last updated