Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 800 Bytes

File metadata and controls

28 lines (18 loc) · 800 Bytes

Server ExpressJS API

This repository exposes several API groups for player management and game systems.

Overview

  • /api/vip & /api/statusMCPremium system for VIP data and player statuses
  • POST /api/economy — custom currency system with account types (COIN, COPPER, SILVER, GOLD, POINT)
  • POST /api/backpack — backpack item storage with multi-thread locking support

Documentation

Authentication

All API requests require a valid Bearer token in the Authorization header.

Authorization: Bearer YOUR_API_TOKEN

Notes

  • account_type defaults to player when omitted in relevant systems.
  • The API is protected by API_TOKEN from .env.