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.
To get updates you get them from the same website (keymaster).
2. Unzip The Folder
Unzip the script folder. Add theazakit_spermbankto your resources folder.
3. Ensure
Add ensure azakit_spermbank to your server.cfg.
This should be under your essentials resources.
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
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);
CREATE TABLE IF NOT EXISTS `egg_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 `egg_storage` (
`id` INT PRIMARY KEY,
`count` INT NOT NULL DEFAULT 0
);
INSERT IGNORE INTO `egg_storage` (id, count) VALUES (1, 0);