Skip to content

Обзор платформы

Varion — GTA V multiplayer platform с dedicated server, launcher, client runtime, resources, SDK и masterlist backend.

Основные части

ЧастьРоль
Dedicated serverNetworking, resources, entity/world/voice state, scripting host, native modules и HTTP manifests
ResourcesServer/client gameplay packages в resources/
ModulesOptional native server extensions из modules/
Client runtimeПодключается к server, получает resource manifest и запускает client scripts
LauncherУстанавливает и обновляет protected client payload
MasterlistПубликует public servers и проверяет production server identity

Граница для разработчика

Server developers работают с:

  • server.toml
  • resources/<name>/resource.toml
  • JavaScript, C#, Go и native module SDKs
  • public HTTP endpoints
  • masterlist identity settings

Им не нужны protected client internals, launcher internals, signing keys, private CDN config или platform source trees.

Runtime flow

  1. Сервер загружает server.toml.
  2. Resources из server.toml загружаются из resources/, строится client manifest.
  3. Стартует JavaScript scripting host для js resources (Node host host/varion-host.cjs).
  4. Поднимается network: game port (ENet) и HTTP port (metadata, manifest, resource files).
  5. Native modules загружаются из modules/ последними — после всех subsystems и network.
  6. Clients подключаются к game port и получают runtime data через HTTP port; gameplay resources отвечают за spawn, economy, permissions и user-facing logic.

Trust model

Сервер является authority. Client scripts и local files считаются untrusted. Проверяйте gameplay, inventory, economy, permissions, teleport-like movement и masterlist identity server-side.

Source backing

Страница основана на реализованных boundaries в:

  • include/varion.h
  • server/src/CServer.cpp
  • server/src/CServerConfig.cpp
  • server/src/CResourceManager.cpp
  • src/network/CNetworkManager.cpp

Varion Multiplayer Platform