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
-
View User Profile
-
Send Message
Posted Jul 28, 2012@SuperMinecraftBrosMC
Put your config into Pastebin and post the link here or put the spells that are using those cast modifiers in here please
-
View User Profile
-
Send Message
Posted Jul 28, 2012Need Help with MagicSpellsCastModifiers 15:55:56 [WARNING] [MagicSpells] Problem with modifier: day 15:55:56 [WARNING] [MagicSpells] Problem with modifier: onblock 120 15:55:56 [WARNING] [MagicSpells] Problem with modifier: chance 30 15:55:56 [WARNING] [MagicSpells] Problem with modifier: chance 50
MagicSpells Version - Latest CB Verion - RB5 MAgicSpellsCastModifier - Latest
-
View User Profile
-
Send Message
Posted Jul 28, 2012For passives, is there any way besides making an insanely long list to exclude certain spells from activating a spellcast trigger? I dislike the list and help spells triggering it. I want it to trigger for all spells except help and list, people are using them as free ways to trigger passives.
-
View User Profile
-
Send Message
Posted Jul 28, 2012How can i make it so people get items over a certain period of time or just for placing a certain amount of blocks?
-
View User Profile
-
Send Message
Posted Jul 28, 2012@SuperMinecraftBrosMC
Did you ever get that to work? And if you did add me on skype (RyanDT13) but if you didn't you could still add me ^_^
-
View User Profile
-
Send Message
Posted Jul 28, 2012@Faldonboy
The buff trigger basically 'triggers' when the player logs in. That's it. It can't continually check the modifiers to see when they change.
-
View User Profile
-
Send Message
Posted Jul 27, 2012Hmm, is it intentional that a passive with a buff trigger doesn't obey cast modifiers? I wanted to set a spell up that causes the buff to be permanent as long as you're wearing a full set of armor. It doesn't even obey the world requirement.
Example:
-
View User Profile
-
Send Message
Posted Jul 27, 2012@deleted_6837836
No, should only need perms for the passive.
-
View User Profile
-
Send Message
Posted Jul 27, 2012For the passive spell, do they need permissions to learn / teach / cast for the triggered spells?
-
View User Profile
-
Send Message
Posted Jul 25, 2012@nisovin
Figured it out. I deleted the Mana Potions in the Mana Regen Option and replaced it with "" by mistake. Hope this will be my final question, How would I make a spell that has a chance to activate on or another command. Like /me I suck. 50% /me I rule! 50% Is this possible? Because as I said before this is my first time trying to make something within minecraft :D And how do i enable a Cast Time on Spells?
-
View User Profile
-
Send Message
Posted Jul 25, 2012Any chance you can make the "wearing" and "holding" cast modifiers accept data values?
-
View User Profile
-
Send Message
Posted Jul 25, 2012@SuperMinecraftBrosMC
Looks like you're missing a number somewhere. It's hard to tell without more of the error message, or the config file. The spell-class for conjure is ".instant.ConjureSpell".
@Takumi8
Yes, add them to that list.
-
View User Profile
-
Send Message
Posted Jul 25, 2012@nisovin
Changing Durability? Meaning the cast-items that changes durability but that are not listed in the 'ignore-cast-item-durability'? Yes, I think most of my items that stop cycling through spells with the wand, after the first use, are probably all items such as iron swords, pickaxes, etc, that have a changing durability. Do I include all those items to 'ignore-cast-item-durability' in the config? Thanks, Takumi
-
View User Profile
-
Send Message
Posted Jul 25, 2012@nisovin
Sexxxxyyy, thanks hun <3
-
View User Profile
-
Send Message
Posted Jul 25, 2012I get this error. Im trying to recreate DvZ but I keep getting this:
2012-07-25 18:24:33 [SEVERE] Error occurred while enabling MagicSpells v2.8.1 (Is it up to date?) java.lang.NumberFormatException: For input string: ""
Im using the Latest Bukkit [Not Dev] Im using the latest MagicSpells version Im only using the MagicSpells plugin so far. HELP! Giggity!
@nisovin
Is it the same spell-class?
-
View User Profile
-
Send Message
Posted Jul 25, 2012@SuperMinecraftBrosMC
The conjure spell does do this still...
-
View User Profile
-
Send Message
Posted Jul 24, 2012How would one make a spell that when casted has a chance of giving you items EG coal [Amount] 5% ironpick [Amount] 100%
Or just make a Conjure spell like in version 2.6 I do believe P.S I cant code Java :/
-
View User Profile
-
Send Message
Posted Jul 24, 2012@SovietWinter
The ability to have buffs as a passive effect is now properly supported in 2.8.2.
@Amazing_kid
Just copy and paste the example into your config then edit, add, and remove as necessary.
@Faldonboy
It's not really possible at present. It would require some significant changes to the MagicSpells code, as it currently expects a player to be casting spells.
@Takumi8
Are you using a cast item that has changing durability?
-
View User Profile
-
Send Message
Posted Jul 23, 2012Thanks for the help,
but I have another problem that after an user cycles through the spell with a specific item, and after the user used the spell, they can't cycle through the list of spells again!?
This occurs for all my wands that I have attached to, please help.
Kind Regards, Takumi
-
View User Profile
-
Send Message
Posted Jul 23, 2012I'm not sure if this is even possible but It just popped in my head. It would be really cool if you could make it so we can assign spells to mobs that they have a % chance of using while targeting you. It's kind of out of the scope of what this plugin is for but it would still be awesome and could be an add-on for MagicSpells.