EnchantedCombat is a plugin to allow for creating custom items
quickly and without needing to know how to code. This means you can write your own abilities for items you design without writing any java. It also comes with a plethora of stock items to provide examples as to what you can create.
Installation is simple: Download
SkillsLibrary and EnchantedCombat from spigot, and place the Jar files into your plugins folder.
Code (Text):
Caelius Gem - A special item rarely dropped by zombies and occasionally found in Pillager Outposts
Caelius Sword - A sword created from Caelius Gems that can do a short distance teleport
Caelius Winged Armour Pieces - crafted from Caelius Gems, boots provide jump boost and the full set grants speed after using a totem of undying.
Ignistran Gem - A special item rarely dropped by blazes and occasionally found in nether fortresses.
Ignistran Shield - Crafted from an Ignistran Gem in a shield pattern, deflects flaming arrows back at the sender
How do you create custom items?
Here is an example of the document that defines a Caelius Chestplate.
Code (YAML):
caelius_chestplate:
item:
type
: LEATHER_CHESTPLATE
metadata:
displayName
: <bold><yellow>Caelius' Chestplate
enchants:
PROTECTION
: 3
UNBREAKING
: 5
attributes:
ARMOR:
value
: 6
equipmentslot
: CHEST
color:
red
: 255
green
: 255
blue
: 255
levels:
maxLevel
: 1
'2':
experienceRequired
: 20
slots
:
- CHEST
skills:
caelius_transformation:
trigger:
type
: TOTEM
conditions:
helmet:
type
: ITEMWRAPPER
slot
: HEAD
conditions:
isCaelius:
type
: SKILLITEM
skillItem
: caelius_helmet
leggings:
type
: ITEMWRAPPER
slot
: LEGS
conditions:
isCaelius:
type
: SKILLITEM
skillItem
: caelius_leggings
boots:
type
: ITEMWRAPPER
slot
: FEET
conditions:
isCaelius:
type
: SKILLITEM
skillItem
: caelius_boots
effects
:
# transform:
# type: CHANGEHERO
# heroName: Caelius - if you uncommented this code and made a hero called Caelius in SuperheroesPlusUltra, then it would allow you to become that hero
speed:
type
: POTION
potion:
type
: SPEED
potency
: 2
duration
: 120
distribution:
craft:
type
: CRAFT
recipe
:
- G G
- GGG
- GGG
recipeKeys:
G
: CAELIUS_GEM
loot:
type
: LOOT
loottables
:
- PILLAGER_OUTPOST
chance
: 0.01
You can read more about writing custom skills on the SkillsLibrary github wiki page:
here
However, this isn't fully comprehensive yet, so I highly recommend joining my
discord and talking to me in #my-plugins. I typically respond (at least) within 24 hours of a message in there if you want to ask a question.