Updated APIv5 (markdown)
parent
5a4d8c87a0
commit
a74f22320a
4
APIv5.md
4
APIv5.md
|
@ -37,8 +37,6 @@ Remember to add `"Plan"` as a softdependency to your plugin information (plugin.
|
|||
|
||||
## Checking that needed capabilities of the API are available
|
||||
|
||||
> This section is about API v0.0.4 which is set for release with 4.8.2
|
||||
|
||||
`CapabilityService#hasCapability(String)` allows you to ensure that Plan version on the server has all the API capabilities you need.
|
||||
|
||||
<details>
|
||||
|
@ -71,8 +69,6 @@ Capability names can be found in `api-module/com.djrapitops.plan.capability.Capa
|
|||
|
||||
## Listening for Plan reloads
|
||||
|
||||
> This section is about API v0.0.4 which is set for release with 4.8.2
|
||||
|
||||
`CapabilityService#registerEnableListener(Consumer<Boolean>)` can be used to be notified via a callback when Plan reloads.
|
||||
|
||||
<details>
|
||||
|
|
Loading…
Reference in New Issue