/fiveai-skills:fivem-basicsfrom fiveai-skills
Guides FiveM resource development in Lua: manifest setup, client/server split, networked events, exports, and debugging via F8 logs.
Ships in fiveai-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Resource structure, fxmanifest, client/server split, events, exports and debugging for FiveM Lua.
Load this skill when the user creates or edits any FiveM resource, fxmanifest.lua, client*.lua or server*.lua, asks how client/server, events or exports work, or reports a bug that needs server vs F8 logs.
fx_version 'cerulean' and game 'gta5' (or 'rdr3' / 'common'); every client-served file goes in files.RegisterNetEvent; local-only events use AddEventHandler alone, never RegisterNetEvent.source; broadcast with TriggerClientEvent(event, -1, ...).GetInvokingResource() is nil for every net event that crosses the network; it is not an authentication check. Validate types, ranges and server-owned state instead.shared_scripts unless guarded by environment.PlayerPedId() not GetPlayerPed(-1); use #(a - b) not GetDistanceBetweenCoords.local; prefer variable Wait() over fixed Wait(0).| Need | Use |
|---|---|
| Client to server | TriggerServerEvent(event, ...) |
| Server to one / all clients | TriggerClientEvent(event, playerId | -1, ...) |
| Same side only | TriggerEvent + AddEventHandler |
| Data back across the network | a callback (ox_lib / framework), not paired events |
| Single-resource, non-networked call | a plain function, not an event |
| Cross-resource function | exports / server_export in manifest, exports.res:fn() |
| Bug with clean server console | ask for F8 client logs |
client/, server/, shared/ and the manifest; read rules/structure.md and rules/fxmanifest.md.resource:side:action.Return the manifest plus runnable Lua split by side, with event names, validation and source handling explicit.
Upstream docs: https://docs.fivem.net/docs/
rules/client-server.md (opens in a new tab)rules/debugging.md (opens in a new tab)rules/events.md (opens in a new tab)rules/exports.md (opens in a new tab)rules/fxmanifest.md (opens in a new tab)rules/optimization.md (opens in a new tab)rules/reference-links.md (opens in a new tab)rules/structure.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub germanfndez/fiveai-skills --plugin fiveai-skills12 skills in this plugin
/esx-frameworkTrigger: ESX, es_extended, xPlayer, PlayerData, ESX.GetPlayerFromId, ESX.RegisterServerCallback, ESX jobs, economy, inventory. Build ESX Legacy resources with server/client functions, xPlayer methods, callbacks and events./fivemanageTrigger: Fivemanage, fmsdk, takeImage, takeServerImage, uploadImage, Log, Info/Warn/Error, player screenshots, logs dashboard. Install and use the Fivemanage SDK for images and centralized logs./fivem-deploymentTrigger: server artifacts, FXServer, txAdmin, server.cfg, gamebuild, sv_enforceGameBuild, update server, deploy, EOL, recommended build. Pick, pin and deploy a supported FXServer build./fivem-nuiTrigger: NUI, ui_page, SendNUIMessage, SetNUIFocus, RegisterNUICallback, HTML/CSS/JS for FiveM, FiveM menu UI. Build FiveM NUI pages, wire Lua-browser messaging, callbacks and focus./fivem-securityTrigger: security, anti-cheat, exploit, secure events, validate client data, server authority, distance check, rate limit, review server code. Harden FiveM net events and server-side validation./lua-basicsTrigger: Lua code, Lua functions, tables, variables, conditionals, error handling, naming conventions, review Lua, optimize Lua. Write effective, performant Lua for FiveM resources.Other plugins' skills for the same job