Installation & Configuration
Install and configure FS-Handbook
Use this page to start the handbook, set who can edit it, and choose how players open it. Pages and points are managed in-game; the config governs the editor and defaults.
Installation
Copy the FS-Handbook resource folder into your server's resources directory.
Start FS-Lib before FS-Handbook in server.cfg:
ensure FS-Lib
ensure FS-HandbookIn configuration/config.lua, set editor permissions first. Set defaults, save history, feedback, and optional providers as needed. Edit pages and points in-game; the resource saves them to data/handbook.json.
Restart your server, or restart the FS-Handbook resource from the server console.
First test: As an authorized staff member, run /handbookadmin, create a page, mark it published, and save. Then open /handbook as a player and confirm the page, links, and buttons work. Back up data/handbook.json before large edits or updates.
Requirements
FS-Lib
Optional:
ox_libfor text UI interaction promptsox_targetfor target-based interaction pointslation_uifor lation text promptsqbx_core,qb-core, ores_extendedfor job-based page and point permissions
Set up your first editor
Grant the configured ACE to your staff group and test /handbookadmin with a member of that group. Use a separate regular player account for the /handbook check.
Jump to what you need:
- Give staff editor access
- Set up world interactions
- Choose how to store pages and points
- Enable feedback
Core settings
Set the handbook name and commands here. Keep the storage path the same if you want to keep using your existing handbook.
Prop
Type
Permissions
Use Config.AdminAce to decide who can open the editor and save changes.
Prop
Type
Example server.cfg:
add_ace group.admin handbook.admin allowPages, categories, and interaction points can also use perm in data/handbook.json.
Supported permission values are:
nullor omitted: visible to everyone.false: hidden from non-admin player views."ace.permission": require an ACE permission.{ "type": "job", "jobs": ["police", "ems"] }: require a supported framework job.
Interaction settings
Pick a prompt that matches how players interact with things on your server. You can keep the command even if you also set up world points.
Prop
Type
A point can open the whole handbook or take the player straight to one page. Choose a marker or NPC and use GTA help text, ox_lib, ox_target, or lation_ui for the prompt.
Keybinds and commands page
Use Config.KeybindsAndCommands to show players which commands and keybinds the resource can detect.
Prop
Type
Save history
Use Config.History to keep a compact snapshot from before each successful save.
Prop
Type
Player feedback
Use Config.Feedback if you want players to report problems on a page. Staff review those reports in the editor.
Prop
Type
Handbook data
FS-Handbook saves the live handbook in data/handbook.json. Back up that file before editing the data by hand. If it’s missing or empty, the resource makes a starter handbook.
Top-level shape:
{
"categories": [],
"pages": [],
"points": []
}Page fields:
Prop
Type
Interaction point fields:
Prop
Type
NPC scenarios and animations
The NPC editor provides Search and Manual modes for both behaviors:
- Search uses the bundled GTA scenario and animation reference catalogs.
- Manual accepts a scenario name or animation dictionary/name that is not in the catalog.
- A scenario and animation are mutually exclusive. When
npc.scenariois set, FS-Handbook clears and ignoresnpc.animation. - Scenario compatibility depends on the NPC model, placement, and current GTA/FiveM game build.
- Selected or applied animation dictionaries are load-tested on the client. GTA/FiveM cannot reliably prevalidate every animation clip name.
Game build compatibility
If a referenced scenario or animation does not play, the current GTA/FiveM game build may not include or support it. Animation validation stops after 3 seconds, and NPC animation loading stops after 5 seconds. A failed animation leaves the NPC idle instead of waiting forever. An invalid or incompatible scenario also does not block the client.
NPC behavior fields:
Prop
Type
Scenario example:
{
"id": "sheriff-dog",
"name": "Sheriff Dog",
"mode": "npc",
"coords": { "x": 440.1, "y": -981.2, "z": 30.7, "w": 90.0 },
"npc": {
"model": "a_c_shepherd",
"scenario": "WORLD_DOG_SITTING_SHEPHERD"
}
}Animation example:
{
"id": "city-hall-clerk",
"name": "City Hall Clerk",
"mode": "npc",
"coords": { "x": -545.0, "y": -204.0, "z": 38.0, "w": 210.0 },
"npc": {
"model": "s_m_m_highsec_01",
"scenario": "",
"animation": {
"dict": "amb@world_human_clipboard@male@idle_a",
"name": "idle_c",
"flags": 1
}
}
}Commands
/handbookopens the player handbook./handbookadminopens the admin editor when the player hasConfig.AdminAce.Ace.
Both commands are registered with FiveM key mapping. Players can bind them in FiveM keybind settings.
Exports
See Exports for server and client exports.