Developer API
Add the following to your repositories section:
maven { url 'https://repo.artillex-studios.com/releases/' }
Add the dependency to your dependencies section:
compileOnly("com.artillexstudios:AxSellwands:CHANGE-THIS")
Add the following to your repositories section:
<repository>
<id>Artillex-Studios</id>
<url>https://repo.artillex-studios.com/releases/</url>
</repository>
Add the following to your dependencies section:
<dependency>
<groupId>com.artillexstudios</groupId>
<artifactId>AxSellwands</artifactId>
<version>CHANGE-THIS</version>
<scope>provided</scope>
</dependency>
Replace CHANGE-THIS to the latest version:
API Usage
Don't forget to add AxSellwands to your plugin's plugin.yml, like this:
depend:
- AxSellwands
or:
softdepend:
- AxSellwands
Events:
Event | Description |
---|---|
AxSellwandsSellEvent | Called when a sell wand is used to sell items |
Other: Use the static methods in the com.artillexstudios.axsellwands.HookManager
class to register a new protection/currency/price hooks.
Last modified: 27 December 2024