mirror of
https://github.com/PlayPro/CoreProtect.git
synced 2024-11-24 12:16:36 +01:00
Set current API documentation version as v10
This commit is contained in:
parent
e6557ab5f3
commit
29225a4a59
@ -41,7 +41,7 @@ Maven
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.coreprotect</groupId>
|
<groupId>net.coreprotect</groupId>
|
||||||
<artifactId>coreprotect</artifactId>
|
<artifactId>coreprotect</artifactId>
|
||||||
<version>22.3</version>
|
<version>22.4</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
@ -4,8 +4,8 @@ The CoreProtect API enables you to log your own block changes, perform lookups,
|
|||||||
|
|
||||||
| API Details | |
|
| API Details | |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
| **API Version:** | 9 |
|
| **API Version:** | 10 |
|
||||||
| **Plugin Version:** | v21.0+ |
|
| **Plugin Version:** | v22.4+ |
|
||||||
| **Maven:** | [maven.playpro.com](https://maven.playpro.com) |
|
| **Maven:** | [maven.playpro.com](https://maven.playpro.com) |
|
||||||
|
|
||||||
*Documentation for the API version 9 can be found [here](/api/version/v9/).*
|
*Documentation for the API version 10 can be found [here](/api/version/v10/).*
|
@ -5,7 +5,7 @@ The CoreProtect API enables you to log your own block changes, perform lookups,
|
|||||||
| API Details | |
|
| API Details | |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
| **API Version:** | 10 |
|
| **API Version:** | 10 |
|
||||||
| **Plugin Version:** | v23.0+ |
|
| **Plugin Version:** | v22.4+ |
|
||||||
| **Maven:** | [maven.playpro.com](https://maven.playpro.com) |
|
| **Maven:** | [maven.playpro.com](https://maven.playpro.com) |
|
||||||
|
|
||||||
---
|
---
|
||||||
@ -25,8 +25,8 @@ logRemoval(String user, BlockState blockState)
|
|||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
Ensure you're using CoreProtect 23.0 or higher. Add it as an external jar to your plugin in your IDE.
|
Ensure you're using CoreProtect 22.4 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](https://maven.playpro.com) (net.coreprotect, 23.0).
|
Alternatively, if using Maven, you can add it via the repository [https://maven.playpro.com](https://maven.playpro.com) (net.coreprotect, 22.4).
|
||||||
|
|
||||||
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:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user