Changes
Page history
Update Introduction to API
authored
Dec 14, 2023
by
Aestrus
Hide whitespace changes
Inline
Side-by-side
Introduction-to-API.md
View page @
6e1fa3f6
...
...
@@ -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