Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

Script OkOk Crafting (crafting script)

flamegottabagg

Silver Elite
Joined
Dec 25, 2023
Messages
17
Reaction score
73
Points
231
Location
US
OkOk Crafting Script


Execute the following SQL code in your database:​

In case you had the previous okokCrafting version (both ESX & QBCore) execute the code below, otherwise ignore it.

ALTER TABLE users DROP COLUMN xp;

ESX

ALTER TABLE users ADD COLUMN xp LONGTEXT NULL;

ALTER TABLE users ADD COLUMN okokcrafts LONGTEXT NULL;

QBCore

ALTER TABLE players ADD COLUMN xp LONGTEXT NULL;

ALTER TABLE players ADD COLUMN okokcrafts LONGTEXT NULL;

Important​

The tableID field on the config file is used to create the crafting buttons, so make sure you ALWAYS set a different ID for each table.

Adding images to the items​

To add images to the items simply drop them in okokCrafting/web/icons.
    • The images should be in the PNG format;
    • The image name should be the same as the item ID, if the item ID is "bread", then the image should be "bread.png".
 

Attachments

  • okokCrafting.zip
    12.8 KB · Views: 325
Top