The new version of the WebCraftAPI is here !
So, what's new on this version ?
- Updated Spigot API to 1.20.1 : This plugin won't work on minecraft versions < 1.20.1 !
- Fixed an issue where the plugin folder won't create and crashes the plugin
- Added a new API Tracker to monitor your server API usage on a dashboard website (Test link at the bottom).
- General improvements to standardize API responses
- Fixed a bug where Open authentication didn't work, and always returns a 401 error
- WebCraftAPI now use a new JSON configuration file instead of the old yaml file.
- Various code and performance improvements
What is the API Tracker ?
The API Tracker is a tool you can use to monitor and optimize your server API usage.
It allows the plugin to send anonymous data to the WebCraftAPI dashboard website, so you can have various information about your API usage (total requests, failed requests, server events, errors and exceptions).
It's also usefull for me, as it can help me identify errors and improvements based on all the servers data, allowing me to improve code quality, performances and stability even more.
How does the API tracker works ?
When installing this version of the plugin, the new config.json will have two new properties :
- api_tracker : a boolean allowing the use of the API tracker
- server_ID : the Unique Identifier of your server.
If the functionnality is enabled (that's the case by default), your server will log every request, events, stats, errors and exceptions to the WebCraftAPI Dashboard website with various data :
- Date and time of the event
- Request's method
- Request's URI used
- Request's response code
- Request's Data (error message for example)
Where can I check the API tracker for my server ?
Just go to
https://dashboard.webcraftapi.fr/, fill your Server ID, choose the period and it's done ! You now have acces to your server data.
Is there a working server example I can see ?
Yes, you can find real data from a real server here :
https://dashboard.webcraftapi.fr/?server_id=b97c0134-15be-4177-9d7a-6a71c9250f07&show=week
Keep in mind that this is a test server, so when I don't run tests, there is no data to show.
I hope that you will like this version, and if it's the case, please add a rating and share it
And as usual, if you encounter any issues, don't hesitate to contact me