🥛azakit_spermbank
Manual Guide
INSTALLATION [ESX/QBCore]
1. Resource Download
To get started, you'll need to download your new resource previously purchased from shop. For that we must log in with our account at keymaster
and look for the Asset grants section, there we will find our complete package.
2. Unzip The Folder
Unzip the script folder. Add the azakit_spermbank to your resources folder.
3. Ensure
Add ensure azakit_spermbank to your server.cfg.
ensure azakit_spermbank
CONFIGURATION
4. Configure
Configure the config.lua file present in the resource, with the help of comments to facilitate your configuration. Check: config.lua
5. Create Item
Create the items in your inventory.
["sperm_cup"] = {
label = "sperm_cup",
weight = 100,
stack = true,
close = true,
},
6. Add MYSQL table.
CREATE TABLE IF NOT EXISTS `sperm_donations` (
`id` INT NOT NULL AUTO_INCREMENT,
`identifier` VARCHAR(64) NOT NULL,
`date` DATE NOT NULL,
`claimed` TINYINT(1) NOT NULL DEFAULT 0,
`total_donations` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`id`),
UNIQUE KEY `unique_identifier` (`identifier`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE IF NOT EXISTS `sperm_storage` (
`id` INT PRIMARY KEY,
`count` INT NOT NULL DEFAULT 0
);
INSERT IGNORE INTO `sperm_storage` (id, count) VALUES (1, 0);
7. Restart Server
Restart your game server and enjoy the system.
Last updated