Skip to content
JasperLorelai edited this page May 19, 2024 · 8 revisions

Source code

  • <> required parameter
  • [] optional parameter

Command List:

/ms help [command]

  • Description: Displays command help or the list of existing commands.
  • Permission: magicspells.command.help
  • Granted by default to: Everyone

/ms reload [player]

  • Description: Reloads MagicSpells. If player is specified, then it reloads their spellbook.
  • Permission: magicspells.command.reload & magicspells.command.reload.spellbook
  • Granted by default to: OPs

/ms reloadeffectlib

  • Description: Reloads EffectLib, the shaded version inside MagicSpells.
  • Permission: magicspells.command.reload.effectlib
  • Granted by default to: OPs

/ms taskinfo

  • Description: Displays information about how many MagicSpells and EffectLib Bukkit tasks are active. This is helpful for monitoring performance.
  • Permission: magicspells.command.taskinfo
  • Granted by default to: OPs

/ms resetcd [player] [spell]

  • Description: Reset cooldown
    • player can be * to refer to all online players.
    • spell can be * to refer to all spells.
  • Permission: magicspells.command.resetcd
  • Granted by default to: OPs

/ms mana show

  • Description: Display your mana.
  • Permission: magicspells.command.mana.show
  • Granted by default to: OPs
  • Aliases: /mana

/ms mana reset [player]

  • Description: Reset mana of yourself or another player.
  • Permission: magicspells.command.mana.reset
  • Granted by default to: OPs

/ms mana setmax [player] <amount>

  • Description: Set the max mana of yourself or another player.
  • Permission: magicspells.command.mana.setmax
  • Granted by default to: OPs

/ms mana add [player] <amount>

  • Description: Add mana to yourself or another player.
  • Permission: magicspells.command.mana.add
  • Granted by default to: OPs

/ms mana set [player] <amount>

  • Description: Set your or another player's mana to a new value.
  • Permission: magicspells.command.mana.set
  • Granted by default to: OPs

/ms mana updaterank [player]

  • Description: Update your or another player's mana rank.
  • Permission: magicspells.command.mana.updaterank
  • Granted by default to: OPs

/ms variable show <variable> [player]

  • Description: Display value of a variable.
  • Permission: magicspells.command.variable.show
  • Granted by default to: OPs

/ms variable modify <variable> <player> <varMod>

  • Description: Modify a variable's value.
  • Permission: magicspells.command.variable.modify
  • Granted by default to: OPs

/ms magicitem <magicItem> [amount] [player]

  • Description: Give a user a Magic Item.
  • Permission: magicspells.command.magicitem
  • Granted by default to: OPs

/ms util download <url> <fileName>

  • Description: Download a file from the specified URL and save it with the specified name. (The spell file prefix is not automatically added.)
  • Permission: magicspells.command.util.download
  • Granted by default to: OPs

/ms util update <url> <fileName>

  • Description: This behaves the same as the download command, except it can overwrite existing files.
  • Permission: magicspells.command.util.update
  • Granted by default to: OPs

/ms util saveskin [player]

  • Description: Save a player's current skin data to a readable file.
  • Permission: magicspells.command.util.saveskin
  • Granted by default to: OPs

/ms util listgoals [uuid]

  • Since: Beta 14
  • Description: List a Mob's goals.
  • Permission: magicspells.command.util.listgoals
  • Granted by default to: OPs

/ms profilereport

  • Description: Save profile report to a file.
  • Permission: magicspells.command.profilereport
  • Granted by default to: OPs

/ms debug

  • Description: Toggle MagicSpells debug mode.
  • Permission: magicspells.command.debug
  • Granted by default to: OPs

/ms magicxp

  • Description: Display your MagicXp.
  • Permission: magicspells.command.magicxp
  • Granted by default to: OPs
  • Aliases: /magicxp

/ms cast self <spell> -p:[power] [spellArgs]

  • Description: Cast a spell. (You can optionally define power: -p:1.0)
  • Permissions:
    • magicspells.command.cast.self
    • magicspells.command.cast.self.helper - to be able to cast helper spells
  • Granted by default to: Everyone
  • Aliases: /cast & /c

/ms cast as <player/UUID> <spell> -p:[power] [spellArgs]

  • Description: Force a player to cast a spell. (You can optionally define power: -p:1.0)
  • Permission: magicspells.command.cast.as
  • Granted by default to: OPs

Before 4.0 Beta 14:

/ms cast on <player/UUID> <spell>

Since 4.0 Beta 14:

/ms cast on <player/UUID> <spell> -p:[power] [spellArgs]

  • Description: Cast a spell on an entity.
  • Permission: magicspells.command.cast.on
  • Granted by default to: OPs

/ms cast at <spell> [world] <x> <y> <z> [pitch] [yaw]

  • Description: Cast a spell at a location.
  • Permission: magicspells.command.cast.at
  • Granted by default to: OPs

Power parameter:

Access to the power parameter can be toggled using the magicspells.command.cast.power permission.

Clone this wiki locally