MonitoringMinecraft MonitoringMinecraft

MinecraftREST

Плагин BukkitPaperSpigot

MinecraftREST — мощный REST API для серверов Майнкрафт: управление сервером и взаимодействие с игроками.

105 скачиваний 1 подписчик
Оцените первым

MinecraftREST

The first stable release of MinecraftREST, a powerful REST API interface for Minecraft servers that provides secure endpoints for server management and player interactions.

🚀 Features

  • 🔒 Secure JWT Authentication
  • 🌐 RESTful API endpoints for server management
  • 👥 Player management (kick, gamemode, messaging)
  • 📊 Server information and statistics
  • ⚡ Rate limiting protection
  • 🔍 Real-time player and world data

📋 Requirements

  • Java 17 or higher
  • Spigot/Paper server 1.20.4

🔧 Installation

  1. Download the minecraft-rest-1.0.0.jar from this release
  2. Place it in your server's plugins folder
  3. Start/restart your server
  4. Configure the plugin in plugins/MinecraftREST/config.yml

Configuration

The plugin creates a config.yml file in plugins/MinecraftREST/ with the following options:

# API Configuration
api-port: 4567  # The port on which the HTTP API will run

# Security Configuration
security:
  jwt-secret: "your-secret-key-here"  # Change this to a secure random string
  max-requests-per-minute: 60  # Rate limiting threshold
  admin-credentials:
    username: "admin"  # Change this to a secure username
    password: "change-this-password"  # Change this to a secure password

⚠️ Important: Change the default security settings before using in production!

API Documentation

The API is documented using the OpenAPI (Swagger) specification. You can find the full API documentation in:

Quick API Overview

All endpoints except /api/auth/login require JWT authentication via Bearer token.

  1. Authentication

    • POST /api/auth/login - Get JWT token
  2. Server Management

    • GET /api/server/info - Get server information
    • POST /api/server/command - Execute console command
    • POST /api/broadcast - Broadcast message
  3. Player Management

    • GET /api/players - List online players
    • POST /api/player/message - Send message to player
    • POST /api/player/kick - Kick player
    • POST /api/player/gamemode - Change player gamemode
Смотри также

Похожие подборки плагины — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

Battle Mine
Battle Mine Java + BE
8 онлайн
1.21.4 — 26.2 версия
ОТКРЫТИЕ! 20 + различных ивентов, 10+ различных боссов, много интересных механник
SkyBars
SkyBars Java + BE
1323 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
BerryCraft
BerryCraft Java + BE
0 онлайн
1.21.8 — 26.2 версия
Пройди путь от хаоса анархии до работы на складе с заказами и карьерным ростом
SeasonEra
SeasonEra Java + BE
4 онлайн
1.9 — 26.2 версия
Выживание • Экономика • Кланы • Приваты • Ивенты • PVP • Работа
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.21.8. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат