forked from TheComputerGeek2/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 3
Changes since Nisovin
JasperLorelai edited this page Mar 21, 2022
·
5 revisions
Since Nisovin left the plugin we've added heaps of modifiers, spells, and more to the plugin. This will list each addition in detail.
-
.instant.BeamSpell
now supports various new options similar to particle projectiles.-
stop-on-hit-entity
causes the beam to not pass through entities. Defaultsfalse
. -
stop-on-hit-ground
causes the beam to stop when hitting the ground. Defaultsfalse
. -
beam-vert-offset
changes the vertical offset at which the beam originally fires. Defaults0
. -
beam-horiz-offset
changes the horizontal offset at which the beam originally fires. Defaults0
. -
rotation
adds a curve as the beam fires. Defaults0
. -
vertical-hit-radius
expands the vertical hit radius of the beam. Defaults2
. -
hit-radius
expands the hit radius of the beam. Defaults2
-
relative-offset
augments the starting offset based on where the player is looking based on x,y,z. Defaults0,0,0
-
-
.instant.ConjureSpell
- fixed a bug where you couldn't conjure items at the position of a dying entity
-
.targeted.GripSpell
now supports relative offset andtrail
/line
effect positions.-
relative-offset
modifies the teleport location based on x,y,z. Defaults0,0.5,0
.
-
-
.targeted.TeleportSpell
now supports 4 new values.-
relative-offset
changes the relative offset of the teleport. Defaults0,0.1,0
-
pitch
defaults0
-
yaw
defaults0
-
str-cant-teleport
causes a message to appear when a teleport fails.
-
-
.targeted.OrbitSpell
now supports 12 new values and supports thespecial
andtarget
effect positions.-
start-horiz-offset
changes the horizontal offset of the orbit (in degrees). Defaults0
. -
spell-on-hit-ground
casts a spell whenever the orbit collides with a block. -
stop-on-hit-ground
causes the orbit to stop when hitting the ground. Defaultsfalse
. -
spell-on-hit-entity
casts a spell whenever the orbit collides with an entity other than the caster. -
stop-on-hit-entity
causes the orbit to stop when hitting an entity. Defaultsfalse
. -
hit-radius
sets the horizontal hitbox radius for spells to hit. Defaults0
. -
vertical-hit-radius
sets the vertical hitbox radius for spells to hit. Defaults0
. -
can-hit
sets what counts ad an entity to hit (list). Defaultsnull
. -
horiz-expand-radius
expands the orbit radius horizontally overhoriz-expand-delay
. -
horiz-expand-delay
expands the orbit over a set amount of ticks. -
vert-expand-radius
expands the orbit radius vertically oververt-expand-delay
. -
vert-expand-delay
expands the orbit over a set amount of ticks.
-
-
.targeted.HomingArrowSpell
now supports projectile types.-
projectile-type
defaultsarrow
.
-
-
.targeted.CleanseSpell
fixed an issue where the cleanse spell would only cleanse some buffs and not all. -
.targeted.HomingMissileSpell
now supports 9 new values.-
hit-air-during
whether or not to hit entities along the way to its target. Defaultsfalse
-
spell-on-hit-air
spell to cast when hitting non targeted players while in air. -
spell-interval
how fast to check if the spell should hit. -
hit-ground
whether or not to hit the ground when chasing the target. Defaultsfalse
-
stop-on-hit-ground
whether or not to stop when the projectile hits the ground. Defaultsfalse
-
spell-on-hit-ground
spell to cast when hitting the ground. -
hit-air-after-duration
whether or not to fire a spell at the end of the duration. Defaultsfalse
-
spell-after-duration
spell to fire at the end of the missiles' life. -
relative-offset
whether or not to modify the starting location based on relative x,y,z. Defaults0,0.6,0
-
-
.targeted.MaterializeSpell
supports patterns and area generation.-
area
A rectangle with a geometrical center of any size Defaults1x1
-
height
The height of the materialized area Defaults1
-
use-pattern
Whether or not to use a pattern, Defaultsfalse
. -
patterns
the patterns for each row to generate over thearea
. -
restart-pattern-each-row
restarts the pattern each row to ensure consistency. Defaultsfalse
-
randomize-pattern
randomizes the pattern of all the rows. Defaultsfalse
-
stretch-pattern
generates one floor thenstreches
it until the height is reached. Defaultsfalse
-
fall-height
the height at which the block drops from. Falling must be true. Defaults0.5
-
-
.targeted.FarmSpell
now supports beetroot growth.-
grow-beetroot
acceptstrue
orfalse
.
-
-
.targeted.ShadowStepSpell
supports a new value to change where the caster appears relative to target.-
distance
changes how far behind or in front of the target the caster appears. Defaults-1
.
-
-
.targeted.ParseSpell
looks for a specific value within a variable and produces a specified output in another-
variable-to-parse
the variable to parse -
expected-value
the expected value of that variable to produce an output -
parse-to-variable
the variable in which the output is set to -
parse-to
the value that is produced when the expected value is met
-
-
.targeted.RegrowSpell
a spell that regrows the wool of a targeted sheep-
force-wool-color
forces the regrown wool to be a specific color -
random-wool-color
randomizes the color of the regrown wool -
wool-color
the color of the wool that is regrown-
force-wool-color
must be enabled for this to take effect- if no color is stated, the regrown wool will take the color of the sheep.
-
-
-
.targeted.ShearSpell
a spell that shears the wool of a targeted sheep.-
force-wool-color
forces the sheared wool to be a specific color. -
random-wool-color
randomizes the color of the sheared wool. -
wool-color
the color of the wool that is dropped.-
force-wool-color
must be enabled for this to take effect.- if no color is stated, the sheared wool will take the color of the sheep.
-
-
min-wool-drop
|max-wool-drop
- dictates the drop count of the sheared wool when the sheep is sheared.
-
drop-offset
- the y-offset from which the sheared wool drops from relative to the sheep.
-
-
.buff.WindglideSpell
causes the target to glide without elytras present (uses the anim).-
velocity
the force at which the player glides. Acceptsspecial
effect position. Defaults20
. -
height
modifies the height location of the gliding. DefaultsO
. -
interval
the interval between the velocity push, spells, and effects. Defaults4
. -
cancel-on-collision
whether or not to turn off the spell when collision happens. Defaultsfalse
. -
block-collision-dmg
whether or not to stop damage taken by colliding with blocks. Defaultstrue
. -
collision-spell
the spell cast at the players' location when colliding with a block. Defaultsnull
. -
spell
the spell to cast at the players' location whenever theinterval
occurs. Defaultsnull
.
-
-
.targeted.ext.PlaceholderAPIDataSpell
grabs data from PlaceholderAPI which allows MagicSpells to be compatible with many plugins.-
variable-name
name of the variable to store the requested data in. Defaultsnull
. -
placeholderapi-template
the placeholder that will be given to PAPI in order to receive data.
-
-
.targeted.EntitySilenceSpell
allows the caster to silence a targeted entity. They will not make any sounds.-
target-state
defaults totoggle
.
-
-
.targeted.SlimeSizeSpell
changes the size of targeted slimes.-
size
adds to, removes from, or sets the size of the slime with+
,-
, or=
. Defaults=5
.
-
-
.buff.*
all buff spells now have two new options.-
spell-on-use-increment
requests a spell to be cast each time the use counter is fired. -
spell-on-cost
a spell to be cast just before the cost of the buff is run even if there is nothing set for the usage cost itself.
-
-
storm
was forked into three modifiers to support the two types of weather individually.-
thundering
will pass if there is currently a thunderstorm. -
raining
will pass if it is only raining. -
storm
will pass with either of the above true.
-
-
behindtarget
is now defined and will work as a modifier.
-
onleash
- checks if an entity is on a leash.
-
underblock
|overblock
- searches for a list of blocks over a specific height | depth at a target location.
-
variablecompare
- compares the values of two variables. Supports lessthan
<
, morethan>
, or equal:
operators.
- compares the values of two variables. Supports lessthan
-
variablestringequals
- checks if a string variable equals the specified amount
variable:expectedstring
.
- checks if a string variable equals the specified amount
-
receivingredstonestrongerthan
&receivingredstoneweakerthan
- passes if the target block is receiving a redstone signal stronger/weaker than the specified amount.
-
variablematches
- checks if the variable of the caster and target match.
-
hasitemprecise
,wearingitemprecise
,holdingprecise
- functions exactly like
hasitem
,wearingitem
, andholdingitem
but is meant for predefined items instead.
- functions exactly like
!!!This is not the official MagicSpells wiki!!!
This wiki was cloned from the official one to document the changes to the plugin that were made specifically for Dwarves vs Zombies 2023 and Lords of Minecraft 2