NEXTCODE-Crafting [Open Sources]

NEXTCODE-Crafting [Open Sources] NEXTCODE-Crafting [Open Sources] NEXTCODE-Crafting [Open Sources]
  • NEXTCODE-Crafting [Open Sources]
  • NEXTCODE-Crafting [Open Sources]
  • NEXTCODE-Crafting [Open Sources]

$175.00

Add to Basket

# NEXTCODE-Crafting [Open Sources]

## ภาษาไทย

### NEXTCODE-Crafting คืออะไร

ระบบคราฟต์สำหรับ RedM (VORP) ที่ปรับแต่งได้สูง รองรับหลายจุดคราฟต์, หลายอาชีพ, ระบบยศอาชีพ, XP, โอกาสสำเร็จ/ล้มเหลว, ของแถม, ของกันแตก และรองรับวัตถุดิบแบบ **ไอเท็ม + อาวุธ**.

### จุดเด่น

- รองรับหลายจุดคราฟต์ (หลายเมือง/หลาย NPC)

- รองรับหลายอาชีพ (`job`) และยศอาชีพ (`jobgrade`)

- ระบบ XP คราฟต์ + บันทึกฐานข้อมูล

- ระบบโอกาสสำเร็จ/ล้มเหลว (`chance`)

- รองรับ `bonus`, `failReward`, `brokenBlock`

- รองรับ reward แบบไอเท็มและอาวุธ

- รองรับ requirement แบบอาวุธใน `materials`, `equipment`, `equipmentNoRemove` (`type = "weapon"`)

- ตั้งค่า Integration ได้จาก `config.lua` (Notify / ItemNotify / TextUI)

- ตั้งค่า Prompt และเปิด/ปิด DrawText3D ได้จาก `config.lua`

- มี Discord Webhook Log

### ความเข้ากันได้

  • Framework: **VORP (RedM)**

  • Database: **oxmysql**

### Dependencies

- `vorp_core`

- `vorp_inventory`

- `oxmysql`

- Resource แจ้งเตือน/ไอเท็มแจ้งเตือน/ข้อความลอย (ตั้งค่าได้ใน `Config.Integrations`)

### การติดตั้ง (ย่อ)

1. วางโฟลเดอร์ `NEXTCODE-Crafting` ลงใน `resources`

2. รันไฟล์ `sql.sql`

3. เพิ่ม `ensure` ใน `server.cfg`

4. ตั้งค่า `config/config.lua` และ `config/config_weapon.lua`

5. รีสตาร์ท resource

### ตัวอย่าง Config สำคัญ

job = {"doctor", "admin"},

jobgrade = 2,

materials = {

  { name = "weapon_bow", label = "Bow", count = 1, type = "weapon" },

  { name = "banana", label = "Banana", count = 2 }

},

equipmentNoRemove = {

  name = "weapon_revolver_doubleaction",

  label = "Revolver",

  count = 1,

  type = "weapon"

}

### หมายเหตุ

- สามารถเปลี่ยนชื่อ event/resource สำหรับ Notify ได้ที่ `Config.Integrations`

- แนะนำตั้ง Webhook ผ่าน convar เพื่อความปลอดภัย

## English

### What is NEXTCODE-Crafting?

A highly configurable crafting system for RedM (VORP), supporting multiple crafting locations, multi-job access, job grades, XP progression, success/fail chances, bonus rewards, safeguard items, and **item + weapon** requirements.

### Key Features

- Multiple crafting stations (multi-city / multi-NPC)

- Multi-job support (`job`) and job grade rules (`jobgrade`)

- Crafting XP system with database persistence

- Success/fail chance system (`chance`)

- Supports `bonus`, `failReward`, `brokenBlock`

- Reward supports both item and weapon types

- Weapon requirements supported in `materials`, `equipment`, `equipmentNoRemove` (`type = "weapon"`)

- Integration events/resources configurable in `config.lua` (Notify / ItemNotify / TextUI)

- Prompt behavior and DrawText3D toggle configurable in `config.lua`

- Discord webhook logging

### Compatibility

  • Framework: **VORP (RedM)**

  • Database: **oxmysql**

### Dependencies

- `vorp_core`

- `vorp_inventory`

- `oxmysql`

- Notification / item-notify / text UI resources (configurable via `Config.Integrations`)

### Quick Install

1. Put `NEXTCODE-Crafting` into your `resources` folder

2. Import `sql.sql`

3. Add `ensure` entries in `server.cfg`

4. Configure `config/config.lua` and `config/config_weapon.lua`

5. Restart the resource

### Important Config Example

job = {"doctor", "admin"},

jobgrade = 2,

materials = {

  { name = "weapon_bow", label = "Bow", count = 1, type = "weapon" },

  { name = "banana", label = "Banana", count = 2 }

},

equipmentNoRemove = {

  name = "weapon_revolver_doubleaction",

  label = "Revolver",

  count = 1,

  type = "weapon"

}

\

### Notes

- Notify-related event/resource names can be changed in `Config.Integrations`

- Using convar for webhook is recommended for better security