WebCraftAPI 4.0.0 is out !
This new version is a full rewrite of the old versions with a lot of brand new functionalities :
- Performance improvements : The plugin now uses Javalin to handle requests, making it more efficient and easier to maintain than the old "homemade" requests handler.
- Swagger documentation and OpenApi specs : the plugin now have a swagger documentation (accessible on /swagger), allowing you to test and prepare your requests. It also provide a openapi.json file (on /openapi) that you can use to automatically generate your requests and services (you can use ng-openapi-gen for Angular for example)
- Security : Improved security by removing open/unsecured endpoints. API-Keys and basic authentications are not supported anymore, instead, the plugin now uses JWT tokens for authentication and rights management.
- New commands : plugin now have commands to list, add and remove API users
- Easier plugin update. The plugin now uses multiple files to store the API user credentials and server ID, meaning you can easily update your version without having to recreate users, and keeping your original server ID.
- Endpoints improvements: Some endpoints have been reworked to be more coherent, and a lot of new endpoints have been added !
- New documentation website : a new plugin/documentation website is on the way and should be available soon.
- A new version of the server stats website is also planned.
As usual, feel free to ask any question you have or report any bug or issue you encounter, I'll be here to help you !
And remember to give a rating or even make a donation if you like this plugin, it's really helping