-
Notifications
You must be signed in to change notification settings - Fork 1
HyperCurrencies Setup
Sv3ks edited this page Mar 14, 2023
·
2 revisions
On this page, you'll setup your spigot plugin for working with HyperCurrencies.
First, go to your plugin.yml and add HyperCurrencies as a dependency or soft-dependency:
depend: [HyperCurrencies]
soft-depend: [HyperCurrencies]
This will assure that HyperCurrencies will load before your plugin, so you can use the methods and classes without any bugs.
When that's settled, go to your pom.xml and add the dependency, allowing you to use all the content from the resource. (Replace version with the newest version of HyperCurrencies)
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.Sv3ks</groupId>
<artifactId>HyperCurrencies</artifactId>
<version>VERSION HERE</version>
</dependency>
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.Sv3ks:HyperCurrencies:1.0-pre'
}
Then you're all done! You can now work with HyperCurrencies in your plugin.