From bc43cdbf89998f381a87b06c07a43425a8795d90 Mon Sep 17 00:00:00 2001 From: Ben Woo <30431861+benwoo1110@users.noreply.github.com> Date: Mon, 15 Mar 2021 11:56:44 +0800 Subject: [PATCH] Updated Developer API Starter (markdown) --- Developer-API-Starter.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Developer-API-Starter.md b/Developer-API-Starter.md index 1c73044..bfd4533 100644 --- a/Developer-API-Starter.md +++ b/Developer-API-Starter.md @@ -50,7 +50,7 @@ If you wish to download the dependency to classpath, you can do the following: 1. Select the `Multiverse-[MODULE]-[VERSION].jar` ## Getting the Multiverse plugin instances -* Multiverse-Core: +Multiverse-Core: ```java MultiverseCore core = (MultiverseCore) Bukkit.getServer().getPluginManager().getPlugin("Multiverse-Core"); ``` @@ -83,3 +83,8 @@ softdepend: ['Multiverse-Core', 'Multiverse-Inventories'] It is also possible to listen to [`PluginEnableEvent`](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/server/PluginEnableEvent.html) and [`PluginDisableEvent`](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/server/PluginDisableEvent.html) to detect when a Multiverse module is enabled/disabled. #### Next steps +We have curated a bunch of common usages for the various multiverse modules: +* [Multiverse-Core API Usage](API-Usages) +* [Multiverse-Inventories API Usage](API-Usages-(Inventories)) +* [Multiverse-Portals API Usage](API-Usages-(Portals)) +* [Multiverse-NetherPortals API Usage](API-Usages-(NetherPortals)) \ No newline at end of file