FiveM scripti
Sunucu tarafı Lua ile doğrulama.
Son güncelleme 12 Ekim 2026v1
server.lua
local KEY = GetConvar('sorvia_license', '')
PerformHttpRequest('https://sorvia.net/api/v1/license/verify', function(code, body)
local data = body and json.decode(body)
if not data or not data.valid then
print(('^1[Sorvia] Lisans geçersiz: %s^0'):format(data and data.status or code))
StopResource(GetCurrentResourceName())
return
end
print('^2[Sorvia] Lisans doğrulandı^0')
end, 'POST', json.encode({ key = KEY, product = 'urun-slug' }), { ['Content-Type'] = 'application/json' })server.cfg içine set sorvia_license "SRV-XXXX" ekleyin. Doğrulamayı yalnızca sunucu tarafında yapın.