Self hosted test
Find a file
alexcrea 4147f018a9
v1.6.13 (#42)
Make some legacy version of excellent enchantment work with custom anvil
2024-12-14 01:35:32 +01:00
.github Add test summary to workflow 2024-11-05 17:01:25 +01:00
defaultconfigs Improve registry and config (#33) 2024-10-04 22:57:09 +02:00
gradle/wrapper Update gradle 2024-07-13 01:07:46 +02:00
libs v1.6.13 (#42) 2024-12-14 01:35:32 +01:00
nms use paperweight for 1.21.3 2024-12-07 14:48:48 +01:00
src v1.6.13 (#42) 2024-12-14 01:35:32 +01:00
.gitignore Create nms for 1.18 to 1.21. 2024-08-09 23:35:31 +02:00
build.gradle.kts v1.6.13 (#42) 2024-12-14 01:35:32 +01:00
gradle.properties Fixed custom recipe gui not displaying item on recipe. 2024-11-21 15:24:23 +01:00
gradlew Initial commit 2022-08-20 21:14:21 -04:00
gradlew.bat Initial commit 2022-08-20 21:14:21 -04:00
LICENSE Create LICENSE 2024-07-12 13:12:46 +02:00
logo.png add config for xp formula and version up. also moved logo cause it is useless inside the plugin 2024-02-04 01:03:24 +01:00
README.md Update readme for 1.21.3 2024-10-26 16:45:03 +02:00
settings.gradle.kts 1.21.4 nms (#39) 2024-12-03 20:01:12 +01:00

Custom Anvil

Custom Anvil is a plugin that allows server administrators to customize every aspect of the anvil's mechanics. It is expected to work on 1.18 to 1.21.3 minecraft servers running spigot or paper. (the plugin support of 1.16.5 to 1.17.1 is experimental and may encounter issues)

Custom Anvil was previously named Unsafe Enchants+. It was renamed because it now affects every anvil aspect and not only unsafe enchants
Custom Anvil is based on Unsafe Enchants by DelilahEve.

Download Locations:

the plugin can be downloaded on Spigot, modrinth, Hangar or here on GitHub


Custom Anvil have the following features:

  • Vanilla like default configuration.
  • Custom enchantment level limit.
  • Custom anvil recipes.
  • Custom enchant restrictions (allow unsafe enchantment only for a group of item or create new restriction).
  • Custom items of unit repairs (repair damaged with unit of "material", for example the repair of diamond sword by diamonds).
  • Custom XP cost for every aspect of the anvil.
  • Permissions to bypass level limit or enchantment restriction.
  • Display XP cost instead of "too expensive" when above level 40. (see below for more information)
  • Can handle some custom enchantment plugins (see below for more information)
  • Gui to configure the plugin in game.
  • Support of color code and hexadecimal color
  • (Experimental) Folia support (gui do not work)

Permissions:

ca.affected: Player with this permission will be affected by the plugin
ca.bypass.fuse: Allow player to combine every enchantments to every item (no custom limit)
ca.bypass.level: Allow player to bypass every level limit (no custom limit)
ca.command.reload: Allow administrator to reload the plugin's configs
ca.config.edit: Allow administrator to edit the plugin's config in game
# Related to use of color (usage of permission for color is toggleable in basic config gui or config.yml)
ca.color.code: Allow player to use color code if permission is required (toggleable)
ca.color.hex: Allow player to use hexadecimal color if permission is required (toggleable)

Commands

anvilconfigreload or carl: Reload every config of this plugin
customanvilconfig or configanvil: open a menu for administrator to edit plugin's config in game

Supported Plugins

Custom Anvil can be compatible with some custom enchantments and anvil mechanics plugins.

Here is a list of supported custom enchantment plugins with support status:

  • Enchantment²: Officially supported by Custom Anvil but still experimental. Automatic configuration.

  • EcoEnchant: Officially supported by Custom Anvil but still experimental. Need to use /anvilconfigreload or a server restart to add newly added enchantment. Use EcoEnchant restriction system by default.

  • ExcellentEnchants: Officially supported but still experimental. use ExcellentEnchants item type.

Here is a list of supported anvil mechanic plugins with support status:

  • Disenchantment Officially supported by Custom Anvil but still experimental. Mostly use Custom Anvil basic XP settings. (version >= 5.4.0)

If you like Custom Anvil to support a specific plugin (custom enchant or anvil mechanic). You can ask, but please note implementing compatibility will be considered as low priority as I work for the plugin on my free time for free.

Overriding Too Expensive

One of the configurations allow displaying price about 40 and removing Too Expensive.
By how the minecraft client work: price above 40 can only be displayed green, even if the player does not own enough experience level. Minecraft version 1.17 to 1.21.1 do not need any dependency. Other version need ProtocoLib enabled on your server for this feature.
You can also wait for an update of the plugin to support a newer version.

Please note that 1.16.5 to 1.17.1 are not officially supported. Run at your own risk.

For custom enchantment plugin developers

For information about the API, please refer to the Wiki
(Please note that the wiki is currently incomplete)


Default Plugin's Configurations

For 1.18 to 1.20.6 use the 1.18 configurations
For 1.21 to 1.21.1 use the 1.21 configurations


Custom anvil use bstat for metric. You can disable it if you like.

Planned:

  • Better Folia support (make gui work. fix some dirty handled parts)
  • Get restriction on unknown enchantments
  • More features for custom anvil craft

Known issue:

Most unknown registered enchantments (by unsupported custom enchantment plugin & datapacks) will not have restriction by default. Planned but no eta.