Updated Developer API (markdown)

Luck 2016-11-04 20:17:27 +00:00
parent 60b42015ab
commit b28caeddf5

@ -41,11 +41,26 @@ if (provider.isPresent()) {
}
```
If you want to use LuckPerms in your onEnable method, you need to add the following to your plugins `plugin.yml`.
If you want to use LuckPerms in your onEnable/ServerStart method:
On Bukkit/Bungee, you need to add the following to your plugins `plugin.yml`.
```yml
depend: [LuckPerms]
```
On Sponge, add the following to your plugins declaration.
```java
@Plugin(
id = "myPlugin",
dependencies = {
@Dependency(id = "luckperms")
}
)
public class MyPlugin {
...
}
```
You can add LuckPerms as a Maven dependency by adding the following to your projects `pom.xml`.
````xml
<repositories>