Skip to content

vrx-team/server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VRX Server

Multi-game companion server for VRChat, ChilloutVR, and more.

Features

  • Multi-Game Support: VRChat (PC/Quest), ChilloutVR
  • Game Log Monitoring: Real-time log file parsing with platform-specific path support
  • OSC Integration: Full OSC support with router and client modes
  • Plugin System: Permission-based plugin architecture for extensibility
  • Multiple Storage Backends: SQLite, JSON, MySQL/MariaDB, MongoDB
  • REST API: Full-featured HTTP API for all operations
  • WebSocket: Real-time event streaming
  • Localization: Multi-language support (i18n)
  • VRChat API Integration: Complete VRChat API wrapper
  • VRCX Import: Import existing VRCX databases

Installation

npm install

Configuration

Copy .env.example to .env and configure:

cp .env.example .env

Key configuration options:

  • STORAGE_TYPE: sqlite | json | mysql | mongodb
  • OSC_ENABLED: Enable OSC support
  • OSC_ROUTER_MODE: Enable OSC router functionality
  • Game log paths (auto-detected by default)

Development

npm run dev

Production

npm run build
npm start

API Endpoints

  • GET /health - Health check
  • GET /api - API info
  • /api/users - User management
  • /api/worlds - World data
  • /api/avatars - Avatar data
  • /api/settings - Settings management
  • /api/plugins - Plugin management
  • /api/import - Data import

WebSocket Events

Subscribing

socket.emit("subscribe:game-events", "vrchat");
socket.emit("subscribe:osc");
socket.emit("subscribe:plugins");

Events

  • game-event - Game events (player joined, location change, etc.)
  • osc-message - OSC messages
  • plugin:enabled - Plugin enabled
  • plugin:disabled - Plugin disabled

Plugin Development

Plugins must follow this structure:

export default {
  async init() {
    // Initialize plugin
  },
  async shutdown() {
    // Clean up
  },
};

Plugin permissions are declared in the database:

{
  "files": {
    "/path/to/file": { "access": "rw", "reason": "Need to read config" }
  },
  "network": {
    "https://api.example.com/*": { "access": "rw", "reason": "API access" }
  }
}

License

MIT

About

VRX Server - Multi-game companion server for VRChat, ChilloutVR, and more

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages