From b28caeddf5748b3a85d014339dd3e9a2b0cf45eb Mon Sep 17 00:00:00 2001 From: Luck Date: Fri, 4 Nov 2016 20:17:27 +0000 Subject: [PATCH] Updated Developer API (markdown) --- Developer-API.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/Developer-API.md b/Developer-API.md index e6a0997..0fc3951 100644 --- a/Developer-API.md +++ b/Developer-API.md @@ -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