DEVHUB DOCUMENTATION
Tebex StoreDevhub LIbDiscord Support
  • 🏠Home page
  • 🐌Download purchased assets
  • â‰ī¸Error: "You lack the required entitlement to use"
  • â‰ī¸Error: syntax error near '<\1>'
  • 💾Partnered FiveM Hosting
  • 💾SCRIPTS
    • 📗devhub_lib (NEEDED FOR EACH SCRIPT!)
      • đŸ’ģInstallation
      • 2ī¸âƒŖMigration from v1 to v2
      • âš™ī¸Framework
      • đŸ–ī¸Target
      • 🧭Ui
      • 🔑Vehicle Keys
      • â›ŊVehicle fuel
      • 🔊Sound System
      • 👕Clothing
      • â„šī¸Logs
      • 📡SQL
      • 🎨UI Color Customization
      • 🆘Compatibility test
  • 🔧Car Tune
    • đŸ’ģInstallation
    • đŸ› ī¸Configuration
    • 💾Saving Cartune Settings
  • 🚙Car Dancing
    • đŸ’ģInstallation
    • đŸ› ī¸Configuration
      • Beat generating
  • đŸ’ĒSkill Tree
    • đŸ’ģInstallation
    • đŸ› ī¸Configuration
    • đŸŽĢDevelopment
      • Listeners
      • Exports
      • Example skill
      • Pre-made skills
    • âš™ī¸Skill Generator
    • 🎨UI Color Customization
    • ❔FAQ
  • â›ī¸Miner Job
    • đŸ’ģInstallation
    • đŸ› ī¸Configuration
      • client.lua
      • shared.lua
      • server.lua
      • skillTree.lua
      • config.js
    • 🎨UI Color Customization
  • đŸĒĩDrywood Cutter Job
    • đŸ’ģInstallation
    • đŸ› ī¸Configuration
      • client.lua
      • shared.lua
      • server.lua
      • skillTree.lua
      • config.js
      • zones.lua
    • 🎨UI Color Customization
  • 🌊Pool Cleaner Job
    • đŸ’ģInstallation
    • đŸ› ī¸Configuration
      • client.lua
      • shared.lua
      • server.lua
      • skillTree.lua
      • config.js
      • zones.lua
    • 🎨UI Color Customization
  • đŸŒŋ[FREE] Herbal Alchemist Job
    • đŸ’ģInstallation
    • đŸ› ī¸Configuration
      • client.lua
      • shared.lua
      • server.lua
      • skillTree.lua
      • config.js
    • 🎨UI Color Customization
  • 📱Who Am I?
    • đŸ’ģInstallation
    • đŸ› ī¸Configuration
      • shared.lua
      • server.lua
    • 🎨UI Color Customization
  • 🎆Skill Selection
    • đŸ’ģInstallation
    • đŸ› ī¸Configuration
    • đŸ’ĒSkill Tree connection
    • 🎨UI Color Customization
  • 🍲3D CRAFTING TABLE
    • đŸ’ģInstallation
    • đŸ› ī¸Configuration
    • ❓How to create table
    • 🌹Custom props
  • đŸ‹ī¸Gym
    • đŸ’ģInstallation
    • đŸ› ī¸Configuration
  • â™Ÿī¸Props
    • đŸ–ŧī¸Paintings Pack
    • đŸ”ĒKitchen Furniture Pack
Powered by GitBook
On this page
  • What changed in Version 2?
  • How to migrate from v1 to v2
  • File and Folder Mappings
  • Vehicle keys and fuel
  1. SCRIPTS
  2. devhub_lib (NEEDED FOR EACH SCRIPT!)

Migration from v1 to v2

Migrating from version 1 to 2 should not be difficult in any way.

PreviousInstallationNextFramework

Last updated 3 months ago

What changed in Version 2?

  • New Folder Structure: Easier configuration with a core folder containing all mechanics and a modules folder with files you might want to configure based on your framework.

  • Sound System Customization: Added the option to change the sound system.

  • Vehicle Keys System Auto-Detection: The system now automatically detects the vehicle keys system, and allows modification in a easier way.

  • Vehicle Fuel System Auto-Detection: The system now automatically detects the vehicle fuel system, and allows modification in a easier way..

  • Easier UI Changes: UI customization has been simplified.


How to migrate from v1 to v2

Most users will not need to modify their code for this update; simply plug and play. Download the latest version from .

If you have modified any files, you can edit them based on the file map below.

File and Folder Mappings

v1 Location
v2 Location
Notes

frameworks/

modules/frameworks/

No major changes in code.

c.clothing.lua, s.sql.lua

modules/systems/

No changes in code.

s.logs.lua

modules/systems/

Changed displayed name from in-game to Steam name.

/targets

modules/systems/

Minor changes in c.custom.lua

c.ui.lua

modules/systems/

Added a few new options.

/client, /server, /shared, /tests, c.main.lua, s.main.lua, sh.autoDetect.lua, shared.lua

/core/

Use the latest files.


Vehicle keys and fuel

You no longer have to edit the Core.SpawnVehicle function to add your keys or fuel system. The system now detects them automatically.

💾
📗
2ī¸âƒŖ
GitHub
🔑Vehicle Keys
â›ŊVehicle fuel