... | ... | @@ -9,9 +9,9 @@ |
|
|
#### 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.
|
|
|
|
|
|
`public static MythicDungeonsService mythicDungeonsAPI() {
|
|
|
```public static MythicDungeonsService mythicDungeonsAPI() {
|
|
|
return Bukkit.getServer().getServicesManager().load(MythicDungeonsService.class);
|
|
|
}`
|
|
|
}```
|
|
|
|
|
|
#### Javadocs
|
|
|
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 |