Updated Developer API Starter (markdown)

Ben Woo 2021-03-15 11:56:44 +08:00
parent 5c1e8e4088
commit bc43cdbf89

@ -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))