Installation
1. Download Resource
Download the purchased resource from CFX Portal - the official site of FiveM with purchased resources.
2. Import Database Tables
This is a very important step - without it, the script will not work properly. Depending on the framework you are using (ESX, QBCORE or QBOX), select the appropriate section below and paste the SQL code into your database.
SQL for Database
-- Create the toy seller stats table
CREATE TABLE IF NOT EXISTS toy_seller_stats (
identifier varchar(50) NOT NULL,
name varchar(50) DEFAULT NULL,
sales int(11) DEFAULT 0,
total_earned int(11) DEFAULT 0,
PRIMARY KEY (identifier)
);3. Add Required Items
Add the items to your inventory system’s item file or database, then copy the images from orbit-sextoys/install/images into your inventory’s image folder.
ESX Installation
-- ============================================
-- ESX orbit-sextoys COMPLETE INSTALLATION
-- ============================================
-- This file contains everything needed for ESX
--
-- STEP 1: Run the SQL below in your database
-- ============================================
-- [[[ STEP 1: SQL DATABASE SETUP ]]]
-- Run this SQL in your database (phpMyAdmin, HeidiSQL, etc.):
-- Equipment
INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`, `description`)
VALUES
('toy_table', 'Crafting Table', 5, 0, 1, 'Workstation surface - place first'),
('toy_producer', 'Producing Machine', 8, 0, 1, 'Sewing/molding machine - needs table placed');
-- Materials
INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`, `description`)
VALUES
('toy_silicone', 'Silicone', 1, 0, 1, 'Medical-grade silicone'),
('toy_plastic', 'Plastic', 1, 0, 1, 'ABS plastic pellets'),
('toy_battery', 'Battery Pack', 1, 0, 1, 'Rechargeable lithium battery'),
('toy_fabric', 'Fabric & Lace', 1, 0, 1, 'Premium silk and lace'),
('toy_leather', 'Leather Strip', 1, 0, 1, 'Genuine leather strips'),
('toy_wax', 'Scented Wax', 1, 0, 1, 'Soy wax with essential oils'),
('toy_oil_base', 'Oil Base', 1, 0, 1, 'Carrier oil for massage products'),
('toy_metal', 'Metal Parts', 1, 0, 1, 'Stainless steel components');
-- Crafted Toys
INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`, `description`)
VALUES
('toy_vibrator', 'Vibrator', 1, 0, 1, 'A classic bestseller'),
('toy_dildo', 'Dildo', 1, 0, 1, 'The OG toy'),
('toy_handcuffs', 'Fuzzy Handcuffs', 1, 0, 1, 'For the adventurous'),
('toy_whip', 'Leather Whip', 1, 0, 1, 'Crack the whip'),
('toy_massage_oil', 'Massage Oil', 1, 0, 1, 'Premium body oil'),
('toy_lingerie_set', 'Lingerie Set', 1, 0, 1, 'Lace and silk'),
('toy_blindfold', 'Silk Blindfold', 1, 0, 1, 'See no evil'),
('toy_candle', 'Massage Candle', 1, 0, 1, 'Warm and sensual'),
('toy_plug', 'Butt Plug', 1, 0, 1, 'Beginner friendly'),
('toy_ring', 'Vibrating Ring', 1, 0, 1, 'Couples favorite');
print("========================================")
print("ESX orbit-sextoys Installation Complete")
print("========================================")
print("1. Run the SQL in your database")
print("2. IMPORTANT: ESX uses built-in inventory system")
print("3. No image files needed for ESX")
print("4. Restart your server")
print("========================================")
OX Inventory Installation
-- ============================================
-- OX INVENTORY orbit-sextoys INSTALLATION
-- ============================================
-- Add these items to: ox_inventory/data/items.lua
-- Equipment
['toy_table'] = {
label = 'Crafting Table',
weight = 1000,
stack = false,
close = true,
description = 'Workstation surface - place first',
client = {
export = 'orbit-sextoys.useTable',
},
},
['toy_producer'] = {
label = 'Producing Machine',
weight = 1000,
stack = false,
close = true,
description = 'Sewing/molding machine - needs table placed first',
client = {
export = 'orbit-sextoys.useProducer',
},
},
-- Materials
['toy_silicone'] = { label = 'Silicone', weight = 100, stack = true, close = false, description = 'Medical-grade silicone' },
['toy_plastic'] = { label = 'Plastic', weight = 80, stack = true, close = false, description = 'ABS plastic pellets' },
['toy_battery'] = { label = 'Battery Pack', weight = 150, stack = true, close = false, description = 'Rechargeable lithium battery' },
['toy_fabric'] = { label = 'Fabric & Lace', weight = 60, stack = true, close = false, description = 'Premium silk and lace' },
['toy_leather'] = { label = 'Leather Strip', weight = 120, stack = true, close = false, description = 'Genuine leather strips' },
['toy_wax'] = { label = 'Scented Wax', weight = 100, stack = true, close = false, description = 'Soy wax with essential oils' },
['toy_oil_base'] = { label = 'Oil Base', weight = 120, stack = true, close = false, description = 'Carrier oil for massage products' },
['toy_metal'] = { label = 'Metal Parts', weight = 200, stack = true, close = false, description = 'Stainless steel components' },
-- Crafted Toys
['toy_vibrator'] = {
label = 'Vibrator',
weight = 200,
stack = true,
close = true,
description = 'A classic bestseller',
client = {
export = 'orbit-sextoys.useVibrator',
},
},
['toy_dildo'] = {
label = 'Dildo',
weight = 200,
stack = true,
close = true,
description = 'The OG toy',
client = {
export = 'orbit-sextoys.useDildo',
},
},
['toy_handcuffs'] = {
label = 'Fuzzy Handcuffs',
weight = 300,
stack = true,
close = true,
description = 'For the adventurous',
client = {
export = 'orbit-sextoys.useHandcuffs',
},
},
['toy_whip'] = {
label = 'Leather Whip',
weight = 400,
stack = true,
close = true,
description = 'Crack the whip',
client = {
export = 'orbit-sextoys.useWhip',
},
},
['toy_massage_oil'] = {
label = 'Massage Oil',
weight = 300,
stack = true,
close = true,
description = 'Premium body oil',
client = {
export = 'orbit-sextoys.useMassageOil',
},
},
['toy_lingerie_set'] = {
label = 'Lingerie Set',
weight = 200,
stack = true,
close = true,
description = 'Lace and silk',
client = {
export = 'orbit-sextoys.useLingerie',
},
},
['toy_blindfold'] = {
label = 'Silk Blindfold',
weight = 100,
stack = true,
close = true,
description = 'See no evil',
client = {
export = 'orbit-sextoys.useBlindfold',
},
},
['toy_candle'] = {
label = 'Massage Candle',
weight = 300,
stack = true,
close = true,
description = 'Warm and sensual',
client = {
export = 'orbit-sextoys.useCandle',
},
},
['toy_plug'] = {
label = 'Butt Plug',
weight = 150,
stack = true,
close = true,
description = 'Beginner friendly',
client = {
export = 'orbit-sextoys.usePlug',
},
},
['toy_ring'] = {
label = 'Vibrating Ring',
weight = 100,
stack = true,
close = true,
description = 'Couples favorite',
client = {
export = 'orbit-sextoys.useRing',
},
},
4. Configuration
Configure config.lua to match your server framework and preferences, and customize the available content options for the Female Intimate Toys Job.
5. Start Resource
To start a resource in your server.cfg, ensure that it begins after your framework has been initiated. For instance, if you are using a framework like es_extended, you should start resource after it, like so:
Last updated