- Mesajlar
- 37
- Web sitesi
- hostingindirim.com
- AdminCP
- #1
QBCore Nedir?
QBCore, modern, modüler ve optimize edilmiş bir FiveM RP altyapısıdır. ESX’e göre daha stabil ve developer dostudur. Genellikle yeni nesil RP sunucularında tercih edilir.
Kurulum Gereksinimleri
- FiveM Server (kurulu olmalı, bir önceki mesajdaki gibi)
- MariaDB (veya MySQL) sunucusu
- HeidiSQL (Windows için) veya phpMyAdmin
- License Key (Keymaster’dan alınmış)
- screen, git, curl, npm (Node.js) yüklü olmalı


Kod:
sudo apt install mariadb-server
sudo mysql_secure_installation
- Root şifresi belirle
- "Remove anonymous users?" → Y
- "Disallow root login remotely?" → Y
Veritabanı oluştur:
Kod:
sudo mysql -u root -p
Kod:
CREATE DATABASE qbcore CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
CREATE USER 'qbuser'@'localhost' IDENTIFIED BY 'GüçlüŞifre';
GRANT ALL PRIVILEGES ON qbcore.* TO 'qbuser'@'localhost';
FLUSH PRIVILEGES;
EXIT;

Kod:
cd ~/fivem/server-data/resources
git clone https://github.com/qbcore-framework/qb-core
git clone https://github.com/qbcore-framework/qb-adminmenu
git clone https://github.com/qbcore-framework/qb-apartments
git clone https://github.com/qbcore-framework/qb-banking
git clone https://github.com/qbcore-framework/qb-inventory
git clone https://github.com/qbcore-framework/qb-smallresources
git clone https://github.com/qbcore-framework/qb-vehiclesales
# Ve diğer core scriptler… (hepsini eklemek istersen sana otomatik script verebilirim)
Birden fazla script’i otomatik indirmek istersen:
Kod:
git clone https://github.com/qbcore-framework/qb-repo
cd qb-repo
bash install.sh

Kod:
nano ~/fivem/server-data/server.cfg
Kod:
ensure qb-core
ensure qb-adminmenu
ensure qb-apartments
ensure qb-banking
ensure qb-smallresources
ensure qb-inventory
ensure qb-vehiclesales
NOT: start değil ensure kullanılır. Bu QBCore için tercih edilen yöntemdir.
4. SQL Dosyalarını İçe Aktar
QBCore script klasörlerinin içinde .sql dosyaları vardır. Bunları veritabanına aktarman gerekir.
Kod:
mysql -u qbuser -p qbcore < /home/fivem/server-data/resources/qb-core/qbcore.sql
Ayrıca diğer scriptlerin SQL dosyalarını da sırayla içe aktar.
Dilersen tek bir qb.sql içinde toplanmış versiyonu da verebilirim.

Kod:
set mysql_connection_string "mysql://qbuser:GüçlüŞifre@localhost/qbcore"

Kod:
cd ~/fivem/server-data/resources
git clone https://github.com/overextended/oxmysql
Kod:
ensure oxmysql
TEST ETME
- Sunucuyu başlat:
Kod:
cd ~/fivem/server
screen -S qbcore ./run.sh +exec ~/fivem/server-data/server.cfg
Kod:
connect IPADRESİN:30120
🛠 YARDIMCI MODÜLLER (İsteğe bağlı ama önerilir)
Script | Açıklama |
---|---|
qb-target | Gelişmiş etkileşim sistemi |
qb-menu | UI tabanlı menüler |
qb-input | Form yapısı |
qb-hud | Sağlık, zırh, para gibi HUD göstergeleri |
qb-vehicleshop | Araç satın alma sistemi |