Skip to content

CraftServerManager APIComplete REST API Documentation

A powerful HTTP API for managing your Minecraft survival server

CraftServerManager

Quick Example

bash
# Authenticate
curl -X POST https://your-server:8080/api/auth/login \
  -H "Content-Type: application/json" \
  -d '{"username":"player","password":"pass123"}'

# Get player info
curl https://your-server:8080/api/auth/me \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"

What's Included

The CraftServerManager API provides a comprehensive REST interface for:

  • Authentication & Authorization: Register, login, and manage user sessions
  • Whitelist Management: Add, remove, and check whitelist status
  • Player Operations: View online players, inventories, and statistics
  • Economy: Check balances, transaction history, and market prices
  • Shop System: Browse items, make purchases, and manage weekly deals
  • Jobs Integration: View job info and manage player job memberships
  • Admin Tools: Server settings, user management, restart scheduling
  • Teleportation: Move players programmatically
  • Leaderboards: Access player rankings and achievements

Technology Stack

  • HTTP Server: Built on Java's com.sun.net.httpserver
  • Authentication: JWT (JSON Web Tokens)
  • Database: SQLite for persistent storage
  • Integration: Vault (economy), Jobs, Shops plugins

Community & Support

Released under the MIT License.