... | @@ -4,12 +4,33 @@ |
... | @@ -4,12 +4,33 @@ |
|
|
|
|
|
#### Dependency Setup
|
|
#### Dependency Setup
|
|
### Maven
|
|
### Maven
|
|
*Coming Soon*
|
|
Put the following in your pom.xml within their respective sections.
|
|
|
|
|
|
|
|
**Repository**
|
|
|
|
|
|
|
|
```xml
|
|
|
|
<repository>
|
|
|
|
<id>aestrus-releases</id>
|
|
|
|
<name>Aestrus's Repository</name>
|
|
|
|
<url>https://maven.aestrus.io/releases</url>
|
|
|
|
</repository>
|
|
|
|
```
|
|
|
|
|
|
|
|
**Dependency**
|
|
|
|
```xml
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.playavalon</groupId>
|
|
|
|
<artifactId>MythicDungeons</artifactId>
|
|
|
|
<version>1.3.0-SNAPSHOT</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
```
|
|
|
|
|
|
|
|
*Note: The scope **must** be provided for the dependency.*
|
|
|
|
|
|
### Gradle
|
|
### Gradle
|
|
*Coming Soon*
|
|
*Coming Soon*
|
|
|
|
|
|
|
|
|
|
#### 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.
|
|
|
|
|
... | | ... | |