🖥️INSTALLATION
Here you’ll find the full documentation to help you install and configure the Punishment System from the iZaap Studios store.
🚀 How to Start the Script for Proper Operation
Download and install Oxmysql (required dependency): 👉 https://github.com/overextended/oxmysql
1. Add the following lines to your server.cfg
# iZaap Studios - Punishment System
ensure oxmysql
ensure izaap_punishment
🛠️ Insert the SQL and Configure Your Framework:
CREATE TABLE IF NOT EXISTS banned_players (
citizenid VARCHAR(50) PRIMARY KEY,
ban_time INT,
reason TEXT,
staff TEXT
);
CREATE TABLE IF NOT EXISTS izaap_register_banned (
id INT AUTO_INCREMENT PRIMARY KEY,
citizenid VARCHAR(50),
name TEXT,
reason TEXT,
ban_time INT,
staff TEXT,
type VARCHAR(20) DEFAULT 'PED',
timestamp DATETIME DEFAULT CURRENT_TIMESTAMP
);
CREATE TABLE IF NOT EXISTS cleaning_punishments (
citizenid VARCHAR(50) PRIMARY KEY,
sweeps_required INT NOT NULL,
reason TEXT,
staff TEXT,
timestamp DATETIME DEFAULT CURRENT_TIMESTAMP
);
CREATE TABLE IF NOT EXISTS izaap_punishment_logs (
id INT PRIMARY KEY,
webhook_url TEXT
);
INSERT IGNORE INTO izaap_punishment_logs (id, webhook_url) VALUES (1, '');
4️⃣ Configure Skin Reload SystemDepending on the clothing system your server uses, set the correct option in
config.lua
:lConfig.ReloadSkinType = 'esx_skin' -- or 'qb' or 'illenium'
Supported skin reload types:
'illenium'
→ Usesillenium-appearance
'qb'
→ Usesqb-clothing
'esx_skin'
→ Usesesx_skin
+skinchanger
Last updated