K3 studio WSk3studio
studio.kr3mu.dev Get started

Resources

fxmanifest.lua as a form

fxmanifest.lua opens as a visual editor (Form ↔ Text). Edits are made in place, so your comments stay.

  • Identity: runtime (fx_version), game, author, version, description
  • Scripts per side (Shared, Client, Server). Files that don't exist are flagged not found, and a pattern shows how many files it matches.
  • In-game UI (ui_page) with a Dev server / Build switch
  • Files, dependencies and data files
  • The add field suggests what each directive takes (Tab takes the first suggestion)

In Text mode, strings complete to what their directive takes: script paths and folder globs, pages, folder/**, resource names for dependencies, and @ox_lib/init.lua.

What runs where

K3 Studio works out what runs on each side from the manifest scripts and what they require. Client modules need to be listed in files {}, while server modules need nothing. When a required file isn't loaded, an editor banner and a form card let you add it to files {} or to a side in one click.

Resources panel and details

The Resources panel lists resources by [category], and you can start, stop, restart and refresh them. You can create, rename and delete categories, and move, rename and delete resources; server.cfg is updated to match.

The details page shows:

  • Events: name, side, whether the resource registers or triggers it, how many callers, and live counts
  • Exports and callbacks
  • Files by side
  • Dependencies as a diagram
  • Health: events with no handler, and runtime errors

Focus on a resource

Right-click a resource and choose Focus. The explorer, search, problems, console and Git changes then only show that one folder, while the server and Live stay whole. The status bar shows a pill while focus is on, and Esc leaves.

New resource

The new resource wizard has templates for Lua, Lua + ox_lib, Qbox and ESX, and can add the ensure line for you.

Generate documentation

Run › Generate documentation writes one HTML page for a resource, a category or the whole server. Each resource is split into tabs: overview, configuration, events, exports, callbacks, commands and its README. Config values come from files with config in their path, and each one is described by the comment written above it or after it on the same line. Events, exports, callbacks and commands show their --- doc comment, ---@param types and the line another resource pastes to use them. A Markdown copy for AI tools is written next to the page, and every resource has a Copy for AI button.

k3studio › README.md Fun factIdles at about 0% CPU: it only draws when something changes Markdown qbx-lua-ls

Click or press Esc to close