SkHttp is a powerful Skript addon that provides HTTP client functionality, WebSocket support, and web server capabilities for Minecraft servers.
- HTTP Client: Send GET, POST, PUT, DELETE, and other HTTP requests
- WebSocket Support: Create WebSocket connections for real-time communication
- Web Server: Create HTTP endpoints and handle incoming requests
- Discord Webhooks: Easy integration with Discord webhooks
- JSON Support: Parse and manipulate JSON data
- Async Operations: Non-blocking HTTP operations
- Minecraft: 1.21.4+
- Skript: 2.11+
- Java: 21+
- Download the latest release from the Releases page
- Place the
SkHttp-x.x.jarfile in your server'spluginsfolder - Restart your server
- The plugin will automatically check for compatibility and disable itself if requirements are not met
Copy examples/basic-http.sk to plugins/Skript/scripts, then reload it:
/sk reload basic-http
Run /skhttp-example in-game. The example sends a GET request, checks the response status, and prints the response body. Start with this synchronous version to verify the installation before adapting it to asynchronous requests.
This plugin automatically validates version compatibility on startup:
- Minecraft Version: Must be 1.21.4 or higher
- Skript Version: Must be 2.11.0 or higher
If your server doesn't meet these requirements, the plugin will disable itself and display an error message.
-
Clone the repository:
git clone https://github.com/NikitaRTN/SkHttp-Rework.git cd SkHttp-Rework -
Build the plugin:
./gradlew shadowJar
-
The compiled JAR will be in
build/libs/SkHttp-x.x.jar
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
If you want to change the code or view its contents, go to Code page.
- Updated compatibility for Minecraft 1.21.4+
- Updated compatibility for Skript 2.11+
- Added automatic version validation
- Improved dependency management
- Fixed Discord Webhooks integration