Incremented API version to 8
This commit is contained in:
parent
550c3038b8
commit
f0779d288c
2 changed files with 5 additions and 5 deletions
|
|
@ -4,8 +4,8 @@ The CoreProtect API enables you to log your own block changes, perform lookups,
|
||||||
|
|
||||||
| API Details | |
|
| API Details | |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
| **API Version:** | 7 |
|
| **API Version:** | 8 |
|
||||||
| **Plugin Version:** | v20.0+ |
|
| **Plugin Version:** | v20.2+ |
|
||||||
| **Maven:** | [maven.playpro.com](https://maven.playpro.com) |
|
| **Maven:** | [maven.playpro.com](https://maven.playpro.com) |
|
||||||
|
|
||||||
*Documentation for the previous API version can be found [here](https://www.minerealm.com/community/viewtopic.php?f=32&t=16687).*
|
*Documentation for the previous API version can be found [here](https://www.minerealm.com/community/viewtopic.php?f=32&t=16687).*
|
||||||
|
|
@ -39,8 +39,8 @@ parseResult(String[] result).getTypeId()
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
Ensure you're using CoreProtect 20.0 or higher. Add it as an external jar to your plugin in your IDE.
|
Ensure you're using CoreProtect 20.2 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, 20.0).
|
Alternatively, if using Maven, you can add it via the repository [https://maven.playpro.com](https://maven.playpro.com) (net.coreprotect, 20.2).
|
||||||
|
|
||||||
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:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -142,7 +142,7 @@ public class CoreProtectAPI extends Queue {
|
||||||
}
|
}
|
||||||
|
|
||||||
public int APIVersion() {
|
public int APIVersion() {
|
||||||
return 7;
|
return 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<String[]> blockLookup(Block block, int time) {
|
public List<String[]> blockLookup(Block block, int time) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue