ngd-logbook

A physical trucker's logbook item with a handwritten paper UI for FiveM!

Click to purchase ngd-logbook
ngd-logbook

Installation Steps

  1. Install ngd-Bridge
    Follow the guide to install ngd-Bridge HERE.
    This script must be started after your core resources (framework, inventory, target, etc.).

  2. Install ngd-logbook
    Place ngd-logbook into your resources folder. This script must be started after ngd-Bridge.

  3. Add Items to Your Inventory
    Copy the items listed below into your inventory.

  4. Copy Images
    Move the images from the img folder into your inventory's images folder.

  5. Configure the Script
    Open config.lua and verify the settings will work with your server.

Items:

Items List (OX) (Click to Expand)
code
["ngd_logbook"] = {
    label = 'Trucker Logbook',
    description = 'A driver\'s daily log',
    weight = 500,
    stack = false,
    close = true,
},
["ngd_logbook_page"] = {
    label = 'Torn Logbook Page',
    description = 'A page torn from a driver\'s logbook',
    weight = 10,
    stack = false,
    close = true,
},
Items List (QB Format #1) (Click to Expand)
code
ngd_logbook = { name = 'ngd_logbook', label = 'Trucker Logbook', weight = 500, type = 'item', image = 'ngd_logbook.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A driver\'s daily log' },
ngd_logbook_page = { name = 'ngd_logbook_page', label = 'Torn Logbook Page', weight = 10, type = 'item', image = 'ngd_logbook_page.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A page torn from a driver\'s logbook' },
Items List (QB Format #2) (Click to Expand)
code
['ngd_logbook'] = { ['name'] = 'ngd_logbook', ['label'] = 'Trucker Logbook', ['weight'] = 500, ['type'] = 'item', ['image'] = 'ngd_logbook.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A driver\'s daily log' },
['ngd_logbook_page'] = { ['name'] = 'ngd_logbook_page', ['label'] = 'Torn Logbook Page', ['weight'] = 10, ['type'] = 'item', ['image'] = 'ngd_logbook_page.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A page torn from a driver\'s logbook' },

Configuration Notes

  • Logging Setup
    Discord logging is set with a server convar — add this to your server.cfg with your webhook:

    code
    set ngd-logbook:webhook "https://discord.com/api/webhooks/YOUR_WEBHOOK_HERE"
    

    Leave it unset to disable Discord logging.

  • Translations
    Every player-facing string, including notifications, lives in translate.lua.

Do you still need help? Open a ticket in our Discord