Update API docs

This commit is contained in:
Intelli 2025-12-15 13:50:50 -07:00
parent 609990e344
commit 893ce9af46
2 changed files with 6 additions and 6 deletions

View file

@ -4,8 +4,8 @@ The CoreProtect API enables you to log your own block changes, perform lookups,
| API Details | | | API Details | |
| --- | --- | | --- | --- |
| **API Version:** | 10 | | **API Version:** | 11 |
| **Plugin Version:** | v22.4+ | | **Plugin Version:** | v23.1+ |
| **Maven:** | [maven.playpro.com](https://maven.playpro.com) | | **Maven:** | [maven.playpro.com](https://maven.playpro.com) |
*Documentation for the API version 10 can be found [here](/api/version/v10/).* *Documentation for the API version 10 can be found [here](/api/version/v11/).*

View file

@ -5,7 +5,7 @@ The CoreProtect API enables you to log your own block changes, perform lookups,
| API Details | | | API Details | |
| --- | --- | | --- | --- |
| **API Version:** | 11 | | **API Version:** | 11 |
| **Plugin Version:** | v24.0+ | | **Plugin Version:** | v23.1+ |
| **Maven:** | [maven.playpro.com](https://maven.playpro.com) | | **Maven:** | [maven.playpro.com](https://maven.playpro.com) |
--- ---
@ -28,8 +28,8 @@ CoreProtectPreLogEvent(String user)
## Getting Started ## Getting Started
Ensure you're using CoreProtect 24.0 or higher. Add it as an external jar to your plugin in your IDE. Ensure you're using CoreProtect 23.1 or higher. Add it as an external jar to your plugin in your IDE.
Alternatively, if using Maven, you can add it via the repository https://maven.playpro.com (net.coreprotect, 24.0). Alternatively, if using Maven, you can add it via the repository https://maven.playpro.com (net.coreprotect, 23.1).
The first thing you need to do is get access to CoreProtect. You can do this by using code similar to the following: The first thing you need to do is get access to CoreProtect. You can do this by using code similar to the following: