[PAID][ESX/QBCore] Blood Bank & Reward System

A script by Azakit

No reviews yet.
[PAID][ESX/QBCore] Blood Bank & Reward System main image

Price

Unknown

Full Description

Blood Bank

Players can perform a blood draw at a dedicated spot, watch animations with a nurse NPC, and claim their daily rewards. All collected blood is stored in a central blood storage accessible only by the configured medical job.

:key: Key Features

  • Framework Support: Compatible with ESX and QBCore.
  • Interaction Types: Supports ox_target, qb-target, or simple 3D text + E key.
  • Daily Limit: Players can perform a blood draw once per day.
  • Configurable Rewards: Items, money, food, drinks, etc.
  • Persistent Tracking: Blood draws and reward claims are stored in MySQL, preventing duplicates.
  • Seat Management: Multiple blood draw chairs available; players are assigned to free spots.
  • Blood Storage System:
    • Each blood draw adds one blood bag to the central storage.
    • Only the configured medical job can access it.
  • Easy Configuration: Positions, NPCs, rewards, and messages are all configurable in config.lua.

Preview

Install

  • Download the Keymaster.
  • Add the azakit_bloodbank to your resources folder.
  • Add ensure azakit_bloodbank to your server.cfg.

OX Inventory Items

["bloodbag"] = {
	label = "bloodbag",
	weight = 100,
	stack = true,
	close = true,
},

Add MYSQL

CREATE TABLE IF NOT EXISTS `blood_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 `blood_storage` (
  `id` INT PRIMARY KEY,
  `count` INT NOT NULL DEFAULT 0
);

INSERT IGNORE INTO `blood_storage` (id, count) VALUES (1, 0);

:package: Requirements

  • QBCore or ESX
  • ox_lib
  • oxmysql

Tebex: Introductory price — limited time only.
https://azakit-development.tebex.io/package/7008080

Docs:
https://azakit-development.gitbook.io/docs

Help:
You need help, join my Discord server
https://discord.com/invite/DmsF6DbCJ9

Code is accessible No (only config.lua)
Subscription-based No
Lines (approximately) 600
Requirements ESX or QBCore, ox_inventory, ox_lib, oxmysql
Support Yes

My other works:

Paid:
[PAID][ESX/QBCore] Backpack System for ox_inventory – Wearable, Transferable, Fully Customizable
[PAID][ESX/QBCore] Gate Control System | Swing & Prop-Based Gates
[PAID][ESX/QBCore] Clothing Store Robbery | Steal & Sell Clothes
[PAID][ESX/QBCore] Parachute System | Wear & Tear | Skill-Based Folding | NPC Shop | 8 Styles

Free:
[FREE] [STANDALONE] AutoMove
[FREE] [ESX & QBCore] Milking a cow
[FREE] [ESX] Vehicle key and lock
[FREE] [ESX & QBCore] Collecting eggs from hens
[FREE] [ESX & QBCore] Moneywash with tickets, licenses, tax levels, transport
[FREE] [ESX] Sell item with delivery
[FREE] [ESX] Scrap metal from old air conditioners
[FREE] [ESX] NPC for launching events