Reroll
This convenient mod for Fabric Loader provides players with the ability to regenerate available enchantments on the enchantment table, while setting customizable costs.

Server owners can flexibly configure resource consumption for each new enchantment generation attempt. All parameters are adjusted through the configuration file config/reroll.json5, which sets the required amount of experience levels and lapis lazuli.
The mod is distributed under MIT license.