Update Introduction to API authored by Aestrus's avatar Aestrus
...@@ -9,9 +9,11 @@ ...@@ -9,9 +9,11 @@
#### Accessing API Methods #### Accessing API Methods
Utilizing methods built in MythicDungeons is a fairly straightforward process. The simplest approach is to create a static method in your root class (where `onEnable()` and `onDisable()` are), and get the MythicDungeonsService. Utilizing methods built in MythicDungeons is a fairly straightforward process. The simplest approach is to create a static method in your root class (where `onEnable()` and `onDisable()` are), and get the MythicDungeonsService.
```public static MythicDungeonsService mythicDungeonsAPI() { ```java
public static MythicDungeonsService mythicDungeonsAPI() {
return Bukkit.getServer().getServicesManager().load(MythicDungeonsService.class); return Bukkit.getServer().getServicesManager().load(MythicDungeonsService.class);
}``` }
```
#### Javadocs #### Javadocs
The following link will take you to our Javadocs where you will get more information about our methods and events *link coming soon* The following link will take you to our Javadocs where you will get more information about our methods and events *link coming soon*
\ No newline at end of file