ScriptlerliveIllegalEnglish
Installation
Step-by-step liveIllegal installation — QBCore and ESX.
🌐 Türkçe · Kurulum rehberi
Order matters
Always start dependencies before liveIllegal. A missing dependency means
the script won't run.
1. Place the files
Copy the resource into your server (e.g. resources/[LV]/liveIllegal). If you got
both builds, install only the folder for your framework ([QBCore]… or
[ESX]…).
2. Database
Run the full sql/install.sql once.
SHOW TABLES LIKE 'live_illegal_cannabis_plants';Legacy
cannabis_*.sqlmigration files are not needed;install.sqlis enough for a fresh install.
3. Add the items
Item names must match the config exactly. Full list: Items.
-- Add to qb-core/shared/items.lua
-- Ready snippet: sql/qb_items_snippet.lua
-- cannabis_seed must be "useable" (seed usage).
-- Images: qb-inventory/html/images/4. server.cfg
ensure oxmysql
ensure qb-core
ensure qb-target
ensure qb-inventory
ensure livePauseMenu
ensure liveIllegal5. Basic settings
In config/02_general.lua, at least review:
Config.Illegal.Locale = 'en' -- 'tr' or 'en'
Config.Illegal.Discord.webhook = '' -- webhook URL if you want Discord logsFor police alerts, NPC zones, prices and timers see Configuration.
6. Admin permissions (ACE)
add_ace group.admin liveillegal.growweed allow
add_ace group.admin liveillegal.resetnpcmeta allowFull command list: Commands & Exports.
7. Install checklist
-
install.sqlran (live_illegal_cannabis_plantstable exists) - All items added to your inventory (
cannabis_seeduseable) - Dependencies
ensured beforeliveIllegal -
Config.Illegal.Localeset - (Optional) Discord webhook + police script mapped
- Admin ACE permissions added
- Test: plant → maintain → harvest → sell to NPC