enchants.yml
ManticHoes Configuration Files
Below is some help regarding to this file, if you did not know already you can make AS MANY enchants you want using the Enchant Fields found below in enchants.yml following YAML formatting.
Enchant Fields
enabled - whether the enchant is enabled or not id - unique identifier for the enchant default-level - the default level of the enchant max-level - the highest level that the enchant can be upgraded to chance - the likelihood of the enchant activating chance-per-upgrade - for every additional level of an enchant, this provides a greater chance of activating tokens-per - this is the amount of the plugin currency that is given when the enchant activates additional-tokens-per-upgrade - additional amount of plugin currency per level command-dispatch-type - "RANDOM" or "ALL" (self-explanatory) commands - commands (without /) that can be ran when the enchant activates (array) messages - these are sent to the player when the reward is activated (array) public-broadcast-message-when-activated - a single message broadcasted on activation extra-drops-per-level - refers to how much extra crop is given per level expPer - exp per activation additional-exp-per-upgrade - extra exp per activation money-per - money per activation additional-money-per-upgrade - extra money per activation shockwave - whether an enchant has shockwave (a radius breaking enchant) shockwave-radius - radius of the "shockwave" additional-shockwave-per-upgrade - additional radius per level holding-potions-amplifier-increase-per-level - increase in potion amplifier per level holding-potions - e.g. "FAST_DIGGING:-1" - format is POTION:AMPLIFIER (array) custom-economy - Vault economy name or class custom-economy-per - amount of custom economy additional-custom-economy-per-upgrade - additional amount of custom economy per upgrade Example:
Ability to natively hook into multiple vault economies, below is an example of how to implement it in enchants.yml ("GoldEconomy" is a made up plugin for showcase purpose only)
Having errors relating to this file/yaml?
Copy and paste the contents of the file into https://codebeautify.org/yaml-validator and click "Validate YAML", it should then provide steps to where a config error might have occurred.
Last updated