FearlessStudios
FiveM ScriptsPaid Scripts

FS-Handbook

Put your server rules, guides, and command shortcuts in an editable in-game handbook.

version

Get it running

Start Here

Required: FS-Lib and the built release, including its packaged UI and Lua files. Give the staff who will edit the handbook the handbook.admin ACE.

Installation

  1. Put the built FS-Handbook folder in your server’s resources directory.

  2. Add the following lines to server.cfg in this order:

    ensure FS-Lib
    ensure FS-Handbook
  3. Open configuration/config.lua for any initial settings you need, then restart the server or resource.

See Permissions for an ACE example. If this is an update, keep a backup of data/handbook.json.

First test: Have a staff member save a published page with /handbookadmin. On a regular player account, run /handbook and check that the page opens.

Detailed guides and references

Configuration

Optional: Add ox_lib, ox_target, or lation_ui only if you want their in-world interactions. Supported framework jobs are optional, too.

Edit the settings you need, then restart the resource.

SettingDefaultMeaning and when to change it
Config.Title"Handbook"Title shown in the handbook. Change it to your server’s guide name.
Config.OpenCommand"handbook"Player command without a slash. Change it to avoid conflicts.
Config.StorageFile"data/handbook.json"Saved handbook content. Keep stable to continue using existing pages; back it up before updates.

Brand the handbook without changing its saved pages. Change just these lines in your existing file.

Config.Title = "Server Guide"

Usage

Follow the in-game steps.

Troubleshooting

Find the fix by symptom.

The admin editor will not open

Confirm FS-Lib started first, then check Config.AdminAce and the user’s ACE group. Use /handbookadmin for editing; /handbook opens the player view.

A page is missing for players

In the editor, mark the page published and save. Reopen /handbook as a player. If pages vanished during an update, check that the configured storage file was carried over.