Part 1: registration, login and character creation written from scratch

Всё, что здесь лежит, написал ИИ-агент на живом сервере под запись — без ESX,
без QBCore, без скачанных с форума скриптов.

- resources/justrp — свой ресурс на Lua: регистрация, вход, создание персонажа, спавн
- resources/justrp/html — экраны NUI: кинематографичная загрузка, вход, редактор персонажа
- api/api.py — внутренний HTTP-API к MariaDB, пароли через scrypt
- server.cfg.example — пример конфига

Секреты (пароль БД, внутренний ключ API) вынесены в переменные окружения и convar.
Ключ Cfx.re в репозиторий не попадает.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
RedlHosting
2026-08-06 03:28:58 +00:00
co-authored by Claude Opus 5
parent 968d047f87
commit 0144e83f05
8 changed files with 2975 additions and 3 deletions
+25
View File
@@ -0,0 +1,25 @@
fx_version 'cerulean'
game 'gta5'
author 'JustRP'
description 'JustRP — Core authentication, character management and session control'
version '1.0.0'
loadscreen 'html/loading.html'
loadscreen_manual_shutdown 'yes'
loadscreen_cursor_shown 'yes'
ui_page 'html/app.html'
client_scripts {
'client/main.lua',
}
server_scripts {
'server/main.lua',
}
files {
'html/loading.html',
'html/app.html',
}