Skip to content
alexcrea edited this page Oct 26, 2024 · 30 revisions

Plugin installation and configuration

Just drop the plugin jar to /plugin on a spigot or fork of spigot, restart, and it should work.

Plugin configuration guide will come later in this wiki (not the priority). Preferably, use /configanvil to configure the plugin.

Custom enchantment plugin developers

If you like to make your custom enchantment plugin compatible with Custom Anvil, the rest of the documentation will help you with that.

Here are the general step to make your plugin compatible with Custom Anvil:

You can also register Custom anvil recipe if you like to.

Add custom anvil as dependency

Custom Anvil is available on Maven Central

Make sure mavenCentral() is present in your Gradle repositories

Maven dependency

<dependency>
    <groupId>xyz.alexcrea</groupId>
    <artifactId>CustomAnvil</artifactId>
    <version>1.6.7</version>
</dependency>

Gradle dependency (Groovy)

dependencies {
    implementation 'xyz.alexcrea:CustomAnvil:1.6.7'
}

for easy copy paste:

implementation 'xyz.alexcrea:CustomAnvil:1.6.7'

Gradle dependency (Kotlin)

dependencies {
    implementation("xyz.alexcrea:CustomAnvil:1.6.7")
}

for easy copy paste:

implementation("xyz.alexcrea:CustomAnvil:1.6.7")

Complementary information

Right now, documentation is incomplete and more page will be provided later.

The API is also incomplete and is missing unit repair.
Current version may recreate object if deleted by user (fixed on next version).

Did not understand something ? Encountered an issue ? Want to suggest an improvement for the API ?

Join the discord server for quick support.

Clone this wiki locally