Client and server in one graph
Build both sides of a resource on one canvas. A wire that crosses the network boundary becomes a TriggerServerEvent / RegisterNetEvent pair for you.
Build resources by connecting nodes. Lockwire writes clean, secure Lua for the client and the server, ready to drop into your resources folder.
Join the beta community on Discord
Lockwire handles the parts that are easy to get wrong, so you can focus on what the resource does.
Build both sides of a resource on one canvas. A wire that crosses the network boundary becomes a TriggerServerEvent / RegisterNetEvent pair for you.
Server events get rate limits, distance and job checks. Prices and rewards come from server config, never from the client.
Export the same blueprint for Qbox, QBCore or ESX. ox_core support is coming soon.
Clean, commented Lua 5.4 with fxmanifest, config and locales. No runtime dependency on Lockwire.
This is the purchase handler Lockwire generates for the pawn shop example, unedited. The client sends only an item name; the server checks the rate limit and distance, looks the price up in config and checks the balance before taking any money.
-- Prices by item name, read from config. The client only ever sends a name.
local shopPrices = {}
for _, entry in ipairs(Config.Shop.items) do
shopPrices[entry.name] = entry.price
end
RegisterNetEvent('jx_pawnshop:shopBuy', function(itemName)
local src = source
if isRateLimited(src, 'shop', 1000) or isTooFar(src, Config.Shop.coords, 5) then
return
end
-- Only items on the price list can be bought, at the price in config.
local price = shopPrices[itemName]
if not price then
return
end
if not removeMoney(src, 'cash', price, ('Pawn Shop: %s'):format(itemName)) then
TriggerClientEvent('ox_lib:notify', src, { type = 'error', description = locale('shop_cannotAfford') })
return
end
exports.ox_inventory:AddItem(src, itemName, 1)
TriggerClientEvent('ox_lib:notify', src, { type = 'success', description = locale('shop_purchaseComplete') })
end)Join the Discord to help shape the beta: report what breaks, ask for what is missing and share what you build.
Found something broken? Tell us what you did and what happened, and we will fix it fast during the beta.
Ask for the nodes, frameworks and tools you want next, and vote on what other people suggest.
Share your blueprints and the mods and nodes you have made, free or paid, and see what everyone else is building.
No subscription. Buy once, get a licence key, and redeem it to open the editor.
£34.75one-time
Closed beta
Lockwire isn't on sale yet. Beta testers get a key from us to try it first.
Got a beta key? Redeem your key