NEXTCODE Keybinds System

NEXTCODE Keybinds System NEXTCODE Keybinds System NEXTCODE Keybinds System
  • NEXTCODE Keybinds System
  • NEXTCODE Keybinds System
  • NEXTCODE Keybinds System

$47.00

Add to Basket

NEXTCODE Keybinds is a premium, highly optimized NUI keybinding system designed specifically for RedM VORP Core. It allows server owners to set system-enforced hotkeys (Global Keys) while giving players the freedom to customize, bind, or remove their own hotkeys for commands and events (Client/Server) via a stunning glassmorphism UI.


:sparkles: Features
  • :desktop_computer: Modern Glassmorphism UI: Built with sleek animations, responsive elements, and clean typography (Outfit & Kanit fonts).
  • :floppy_disk: Character-Bound Profiles: Automatically loads and saves keybind configurations per character (charid bound).
  • :electric_plug: Auto Database Setup: Seamlessly verifies and creates the database table on script startup via oxmysql (no manual SQL import required!).
  • :locked: Two Keybind Types:
    • Global Keys (Server-enforced): Bound to important server actions (e.g., F1 for Admin menu, F4 for Job menu) that players cannot alter.
    • Custom Keys: Interactive keybinds that players can easily configure or delete.
  • :high_voltage: Highly Optimized: Utilizes IsRawKeyPressed checked at 5ms only when UI is closed, ensuring near 0.00ms idle resmon.
  • :shield: Anti-Spam Cooldown: Built-in 500ms cooldown to prevent player spam and server-side overload.

:package: Requirements & Dependencies

  • VORP Core (vorp_core)
  • oxmysql (for database integration)

:rocket: Installation

  1. Download and place the folder NEXTCODE-Keybinds into your server’s resources directory.
  2. Add the resource to your server.cfg:
    ensure NEXTCODE-Keybinds
    
    
  3. Customize your key binds, commands, and default values in the config.lua.
  4. Start your server. The database table nextcode_keybinds will be set up automatically.


:sparkles: คุณสมบัติเด่น

  • :desktop_computer: ดีไซน์เมนูระดับพรีเมียม: เมนูสไตล์ Glassmorphism ตกแต่งด้วยโทนแสง Amber/ทองเรืองแสง และอนิเมชันเปิดเมนูที่สวยงาม
  • :floppy_disk: ผูกกับตัวละครผู้เล่น: บันทึกและดึงข้อมูลปุ่มกดแยกตามรายตัวละครของผู้เล่นอย่างแม่นยำ (charid) เมื่อเข้าเกมเสร็จสิ้น
  • :electric_plug: สร้างตารางข้อมูลอัตโนมัติ: เมื่อสตาร์ทสคริปต์ ระบบจะตรวจสอบและรันการสร้างตาราง nextcode_keybinds ให้ทันทีผ่าน oxmysql (ไม่ต้องนำเข้า SQL เอง)
  • :locked: แบ่งปุ่มกดออกเป็น 2 ประเภท:
    • Global Keys (ปุ่มระบบหลัก): ล็อกปุ่มระบบสำคัญไว้เบื้องหลัง (เช่น F1 เปิดเมนูหลัก, F10 เปิดเมนูแอดมิน)
    • Custom Keys (ปุ่มเปลี่ยนได้): ปุ่มทั่วไปที่แสดงผลบน UI ให้ผู้เล่นเข้าไปแก้หรือคลิกลบออกได้เอง
  • :high_voltage: ทำงานเสถียรและกินทรัพยากรต่ำ: เช็คปุ่มกดที่ระดับ 5ms (IsRawKeyPressed) ประหยัดทรัพยากรเครื่องอย่างมาก
  • :shield: ระบบป้องกันการสแปมปุ่ม: มี Cooldown 500ms ป้องกันการกดย้ำ ๆ เพื่อไม่ให้เกิดภาระต่อเซิร์ฟเวอร์

:package: ความต้องการของระบบ

  • VORP Core (vorp_core)
  • oxmysql (สำหรับเชื่อมต่อระบบฐานข้อมูล)

:rocket: ขั้นตอนการติดตั้ง

  1. นำโฟลเดอร์ NEXTCODE-Keybinds ไปวางในไดเรกทอรี resources ของเซิร์ฟเวอร์
  2. เพิ่มคำสั่งรันสคริปต์ในไฟล์ server.cfg:
    ensure NEXTCODE-Keybinds
    
    
  3. ปรับแต่งคำสั่งและคีย์ลัดตามใจชอบในไฟล์ config.lua
  4. เปิดเซิร์ฟเวอร์ สคริปต์จะทำการสร้างตารางฐานข้อมูลและเริ่มทำงานโดยอัตโนมัติ