Custom enchants by lore
This method will work with activators related to player/entities that will check if the player has certain line on the lore of the item.
To add lore to an item (looking for the enchant mechanic) you can use the commands related to lore in Score, like ADDLORE and SETLORE.
FIRE SOUL ENCHANTMENT
Let's create our activator
-
Creating it:
-
Let's create our activator (in this case I will only use PLAYER_HIT_ENTITY, if you want this enchantment to work for players too do it)
-
Now let's add on commands what we want the "enchantment" to do.
- In this case BURN command and some particles

-
Now it is working always a player hits an entity, but we want this only works if the item the player is hitting with has in the lore "FIRE SOUL", let's add that condition, to do that we will use CheckItem expansion of PlaceholderAPI.
-
And that's it, if want to customize more the placeholder you can read CheckItem expansion of PlaceholderAPI ^^, this events already works, it will fire the commands only if the item has in the lore "FIRE SOUL"
MINE IN CUBE ENCHANTMENT
Since you already saw the previous one, you already got the idea, so let's do this one faster, let's create our activator and the commands we want (in this case MINEINCUBE)



- And that's it, record time :sunglasses:, now when a player with an item who has MINEINCUBE in their lore breaks a block, it will break in area of 1, this means, 3x3x3.
Try it now
Copy this into ExecutableEvents and reload
From the SCore custom commands reference. Paste it into a config, run the plugin's reload command, and you have a working starting point to edit.
activators:
activator0: # Activator ID, you can create as many activator on the activators list
option: # Here goes an activator that is at least instance of player
playerCommands:
- ABSORPTION amount:5 time:200 # Gives the player absorption
activator1: # Activator ID, you can create as many activator on the activators list
option: # Here goes an activator that is at least instance of target
targetCommands:
- ABSORPTION amount:5 time:200 # Gives the target absorptionPlugin used on this page
ExecutableEventsHook any server event and run conditions and commands on it.
- 5.0/5 from 13 reviews
- 313 servers running it right now (bStats)
- 16 downloads on SPlugins
€12.29
one-time, lifetime updates



