
MinecraftREST
MinecraftREST, a powerful REST API interface for Minecraft servers that provides secure endpoints for server management and player interactions.
Оцените первым
104
1
Список изменений
MinecraftREST 1.0.1
Bug Fixes 🐛
- Fixed an error that occurs because trying to kick a player from an asynchronous thread (the HTTP request thread) while Bukkit/Spigot requires player operations to be performed on the main server thread.
- Fixed similar thread safety issues with the gamemode change endpoint.
- Both operations now properly run on the main server thread using BukkitRunnable.
Technical Details 🔧
- Modified
/api/player/kickendpoint to use Bukkit's scheduler - Modified
/api/player/gamemodeendpoint to use Bukkit's scheduler - Improved error handling for async operations
- Follows the same pattern as the command execution endpoint for thread safety
Developer Notes 📝
- If you're using these endpoints in your code, no changes are required on your end
- The API interface and responses remain the same
- Operations may take a few milliseconds longer due to thread scheduling
Installation
- Download the
minecraft-rest-1.0.1.jarfrom this release - Place it in your server's
pluginsfolder - Start/restart your server
- Configure the plugin in
plugins/MinecraftREST/config.yml
Important Security Reminder ⚠️
Remember to change the default security settings in config.yml:
- Change the JWT secret
- Update admin credentials
- Consider using HTTPS in production
Documentation
Full documentation is available in:
- README.md in the repository
- api-docs/swagger.yaml for API specification
Файлы
minecraft-rest-1.0.1.jar(8.56 MiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.0.1
Загрузчики
BukkitPaperSpigot
Версии игры
1.20–1.20.6
Загрузок
70
Дата публикации
16.03.2025
