MagicSpells
Note: MagicSpells is being maintained on this GitHub fork and you can find help at the official Discord.
Info
MagicSpells is a Minecraft Bukkit plugin that creates magic spells your players can use. Its main purpose is to give your players access to certain abilities that you might not want to give them unlimited access to. However, instead of just giving them access to boring commands, they instead get more interesting spells. Each spell can be configured in many ways:
- Reagent costs (the cost of using the spell, including items, mana, health, hunger, experience, and item durability)
- Cooldowns (the amount of time a player must wait between uses)
- Durations (how long certain effects last)
- Ranges (how far away spells can be used from their target)
- Many more options, depending on the spell
Spells can be cast by using the /cast command, swinging a configurable wand item, or both. It's also possible to have them triggered from other actions the player may take. It's all customizable.
Usage
Before a player can cast a spell, they must already know it. There are several ways a player can learn a spell:
- Taught with the teach spell
- Learned from a spellbook
- Learned from a tome
- Gained from a grant permission
- Purchased from a shop
- Being a server op (they know all spells) For example, a server op can teach Bob the blink spell by typing: ''/cast teach bob blink''.
Once a spell is learned, it can be cast either by using the ''/cast'' command or by using a wand item. Now that Bob knows the blink spell, he can either cast it by command, by typing ''/cast blink'', or he can cast it with a wand item. To select the spell, he holds the wand in his hand and right clicks. Right clicking will cycle through any spells assigned to the item he is holding. When he has the one he wants, he left clicks to cast.
If Bob does not have the required reagents for the spell, or if he has cast it recently and it is still on cooldown, he will not be able to cast the spell and will instead receive an error message.
If mana is enabled, a player can use the ''/mana'' command to see how much mana they currently have. Mana can also be configured so it is displayed on the experience bar.
Useful Links
Videos
@nab821
Try using modifiers:
http://nisovin.com/magicspells/modifiers
@Bentze
Try giving them permission node "-magicspells.grant.*" if you are using group manager like me. Not sure if it can fix it though.
I'm trying to figure out the magicxp system. The wiki says something like this:
(Please ignore the bullet points, the editor does not let me switch line for some reason)
Here's the link: http://nisovin.com/magicspells/magicxp
Annnnd nothing comes up by the /magicxp command. (Everything else works fine, including the xp header)
Anybody knows how to fix this?
Is there a way to fix every player knows every spell even if they dont have the permissions
@broluigi
You can add money as a cost like mana the same way you add a mana cost, but it requires vault. Check under the spell config page http://nisovin.com/magicspells/spellconfiguration
Is there a way that you can test for if a player is on a block with this?
@Zerkhaan
You can cast a targeted spell in the console against a player using:
/c spellname playername
You can cast a targeted spell in the console to a location using:
/c spellname world,x,y,z
There is a way with the console to cast a Targeted Spell ?
@TheMageOfMC
Menu Spell is what you are looking for, as for the other two, just like making your own menus, you can make wands and magical items (i.e.: Predefined items and Passive Spells).
I love this plugin. The only problem is the spell menu. Could you add a spell menu like this plugin has http://dev.bukkit.org/bukkit-plugins/magic/ ? And maybe craftable wands and magic items?
@TehMinecraftPoke Yes you can do that with item formatting and a config option. For Lightning you would do: cast-item: stick|LADEDAWand you can also do colors etc, but lore and enchantments wont effect it more info on formatting can be found at http://nisovin.com/magicspells/itemtype
Is it possible to make a spell item specific? For example:
A stick named "LADEDA Wand" can cast lightning.
A stick named "Swaggie Wand" can cast leap.
@broluigi
Put it in a rank using Pex and users must buy that Rank then you can set that group to expire and anything you want...
is there a way to make a spell cost economy money? I need a spell to cost eco money and others to cost EXPerience points. as well as some spells that cost both! Can you help me?
Latest Dev Build is AOK! Yeah, No more nagging messages about some features being diasbled and using protocol Lib...Thanks, Good Work! :)
Or through the magic to make block more flexible (greatly).
I doubt whether the magic can produce magical effect. Mean,
It can be more involved with block?
(an idea about spell:)
(the above, are come out of the translation software. Please forgive me.
I cannot cast spells with items that are named.
BUG REPORT:
One of my players has done some testing and found the summon spell fails if the caster is standing on a half slab. It will say success, but no teleport will happen.
@MCTylerPVP
It's all so easy to do and that's another part of the beauty of this plugin. It's just a matter of combining spells, spell effects and permission groups in clever ways.