Enchanted Bosses is a bosses plugin created with one goal in mind
customisability without needing to know how to code. This means you can write your own abilities for bosses you design without writing any java. It also comes with a stock boss, called Flesheater, to give you an example of what you can create using it.
Installation is simple: Download
SkillsLibrary and EnchantedBosses from spigot, and place the Jar files into your plugins folder.
Code (Text):
Boss #1: Flesheater
A 50 health zombie wearing armor that has a 50% chance to fling you into the air every 10 seconds. It takes reduced damage using our EASED damage modifier, with a cap of 15 damage a hit!
Firstly, in order to install the plugin, you need to extract SkillsLibrary and EnchantedBosses from the downloaded zip into the plugins folder of your server.
Here is the document for the Flesheater!
Code (YAML):
Flesheater:
colouredName
:
"<yellow><b>Flesheater"
description
:
"A creature with an insatiable thirst for flesh"
damagemodifier:
type
: EASED
damageCap
: 15
expectedMaximumDamage
: 30
entity:
type
: ZOMBIE
equipment:
helmet:
type
: DIAMOND_HELMET
chestplate:
type
: IRON_CHESTPLATE
attributes:
MAX_HEALTH
: 50
skills:
fling:
trigger:
type
: COMBAT
conditions:
proc:
type
: CHANCE
chance
: 0.5
cooldown:
type
: COOLDOWN
cooldown
: 10
effects:
fling:
type
: FLING
mode
: OTHER
velocity
: 1.0
antiboat:
trigger:
type
: VEHICLE
effects:
antiboat:
type
: CANCEL
mode
: SELF
rewards:
type
: BASIC
items:
diamonds:
type
: DIAMOND
amount
: 10
steak:
type
: COOKED_BEEF
amount
: 16
experience
: 50
commands
:
[
]
autospawn:
enabled
: true
weighting
: 1
biomes
:
- PLAINS
worlds
:
- world
biomesWhitelist
: true
spaceNeeded
: 4
bossbar:
enabled
: true
flags
:
[
]
color
: GREEN
style
: PROGRESS
Not too bad is it?
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.
You can download the schema
here.
You also need to have
VSCode and the
YAML Extension for it to work.
And finally, add
Code (YAML):
# yaml-language-server: $schema=path/to/schema.json
to the top of your yml file.
You can also go to the settings, search `yaml.schemas`, edit the settings.json, and put the path to the schema. For example:
Code (YAML):
"yaml.schemas"
:
{
"path/to/schema.json"
:
"superheroes"
}
And after that, you can select the schema by clicking on the bottom somewhere and selecting the path instead of putting that line at the top of the yml file.