FS-Handbook
Put your server rules, guides, and command shortcuts in an editable in-game handbook.
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
-
Put the built
FS-Handbookfolder in your server’sresourcesdirectory. -
Add the following lines to
server.cfgin this order:ensure FS-Lib ensure FS-Handbook -
Open
configuration/config.luafor 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
Publish the first page
Create a page in-game, check it as a player, and add a world prompt.
Give staff editor access
Set the admin ACE without opening editing to all players.
Restore pages or fix a failed save
Find why a page is missing or a save is blocked.
Connect another resource
Look up server and client exports.
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.
| Setting | Default | Meaning 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
Troubleshooting
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.