Skip to content
alexcrea edited this page Jul 14, 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.5.2</version>
</dependency>

Gradle dependency (Groovy)

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

for easy copy paste:

implementation 'xyz.alexcrea:CustomAnvil:1.5.2'

Gradle dependency (Kotlin)

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

for easy copy paste:

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

Complementary information

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

Clone this wiki locally