Skip to content

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.

Changes in 3.5-dev-18x

Spell Changes

  • .instant.BeamSpell now supports various new options similar to particle projectiles.
    • stop-on-hit-entity causes the beam to not pass through entities. Defaults false.
    • stop-on-hit-ground causes the beam to stop when hitting the ground. Defaults false.
    • beam-vert-offset changes the vertical offset at which the beam originally fires. Defaults 0.
    • beam-horiz-offset changes the horizontal offset at which the beam originally fires. Defaults 0.
    • rotation adds a curve as the beam fires. Defaults 0.
    • vertical-hit-radius expands the vertical hit radius of the beam. Defaults 2.
    • hit-radius expands the hit radius of the beam. Defaults 2
    • relative-offset augments the starting offset based on where the player is looking based on x,y,z. Defaults 0,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 and trail/line effect positions.
    • relative-offset modifies the teleport location based on x,y,z. Defaults 0,0.5,0.
  • .targeted.TeleportSpell now supports 4 new values.
    • relative-offset changes the relative offset of the teleport. Defaults 0,0.1,0
    • pitch defaults 0
    • yaw defaults 0
    • str-cant-teleport causes a message to appear when a teleport fails.
  • .targeted.OrbitSpell now supports 12 new values and supports the special and target effect positions.
    • start-horiz-offset changes the horizontal offset of the orbit (in degrees). Defaults 0.
    • 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. Defaults false.
    • 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. Defaults false.
    • hit-radius sets the horizontal hitbox radius for spells to hit. Defaults 0.
    • vertical-hit-radius sets the vertical hitbox radius for spells to hit. Defaults 0.
    • can-hit sets what counts ad an entity to hit (list). Defaults null.
    • horiz-expand-radius expands the orbit radius horizontally over horiz-expand-delay.
    • horiz-expand-delay expands the orbit over a set amount of ticks.
    • vert-expand-radius expands the orbit radius vertically over vert-expand-delay.
    • vert-expand-delay expands the orbit over a set amount of ticks.
  • .targeted.HomingArrowSpell now supports projectile types.
    • projectile-type defaults arrow.
  • .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. Defaults false
    • 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. Defaults false
    • stop-on-hit-ground whether or not to stop when the projectile hits the ground. Defaults false
    • 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. Defaults false
    • 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. Defaults 0,0.6,0
  • .targeted.MaterializeSpell supports patterns and area generation.
    • area A rectangle with a geometrical center of any size Defaults 1x1
    • height The height of the materialized area Defaults 1
    • use-pattern Whether or not to use a pattern, Defaults false.
    • patterns the patterns for each row to generate over the area.
    • restart-pattern-each-row restarts the pattern each row to ensure consistency. Defaults false
    • randomize-pattern randomizes the pattern of all the rows. Defaults false
    • stretch-pattern generates one floor then streches it until the height is reached. Defaults false
    • fall-height the height at which the block drops from. Falling must be true. Defaults 0.5
  • .targeted.FarmSpell now supports beetroot growth.
    • grow-beetroot accepts true or false.
  • .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.

Spell Additions

  • .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. Accepts special effect position. Defaults 20.
    • height modifies the height location of the gliding. Defaults O.
    • interval the interval between the velocity push, spells, and effects. Defaults 4.
    • cancel-on-collision whether or not to turn off the spell when collision happens. Defaults false.
    • block-collision-dmg whether or not to stop damage taken by colliding with blocks. Defaults true.
    • collision-spell the spell cast at the players' location when colliding with a block. Defaults null.
    • spell the spell to cast at the players' location whenever the interval occurs. Defaults null.
  • .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. Defaults null.
    • 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 to toggle.
  • .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.

Modifier Changes

  • 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.

Modifier Additions

  • 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.
  • variablestringequals
    • checks if a string variable equals the specified amount variable:expectedstring.
  • 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, and holdingitem but is meant for predefined items instead.
Clone this wiki locally