Advanced Custom Enchants A fully configurable plugin that allows you to create your own custom enchants and use them on your server.
►
Overview
You create the enchantments via a yaml file (GUI coming soon)
and add them to your inventory using the built-in command.
More info=>https://github.com/LGDTimtou/CustomEnchants
►
Commands and Permissions
➊ /customenchant add <enchantment> [level]
Adds the specified custom enchantment with that level to the item you are holding
Level will be 1 by default
➋ /customenchant remove <enchantment>
Removes the specified custom enchantment from the item your are holding.
Permission for both: - customenchant.command.enchant
►How to use with essentials
The custom enchantments are programmed as regular minecraft ones so all essentials enchantment commands/kits/... will work with your custom enchantments.
-> Two things to keep in mind
Essentials will not add the enchantment lore to the item so you'll have to do that manually
You have to set unsafe-enchantments: true in the Essentials config.yml file
►
Config.yml
Code (YAML):
allow_unsafe_enchantments: false
►
Template for enchantments.yml
Code (Text):
enchantment_name (all lowercase and _ for spaces):
enabled: Whether the enchantment is enabled yes or no
max_level: The maximum level of the enchantment
triggers: The events that trigger the commands
[targets: [armor, armor_feet, armor_legs, armor_torso, armor_head, weapon, tool, bow, fishing_rod, breakable, wearable,
trident, crossbow, vanishable] (all by default)]
levels:
1:
cooldown: The time in seconds before the commands have their chance of executing again (0 by default)
chance: The chance of the commands executing [0.01-100] (100 by default)
cancel_event: Whether the trigger event should be cancelled (for example not actually breaking the block) (false by default)
inherit_commands_from: The level from which you want to inherit commands (will be 1 by default if the level has no commands)
commands: A list of commands that will be executed by the console if the enchantment event triggers
...
...
...
'max_level':
cooldown: ...
...
god:
enabled: false
max_level: 1
triggers: [kill_entity
] levels:
1:
chance: 0.01
commands: - 'summon minecraft:lightning_bolt
%x% $[add(%y%, 5)] %z%' - 'tellraw
%player% {"text": "Zeus struck you with lightning! YOU ARE NOW A GOD", "color": "red"}' -
"op %player%"
►
Extra
Be sure to leave new ideas
down in the comments. If you find any bugs be sure to open an issue
on the GitHub.
You can also add me on discord for anything else:
Timon#2907