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 May 28, 2012@crehop
Flatfile works fine. I doubt using MySQL would improve anything. I'd like to point out that the server itself creates a file for each player to store their location, inventory, and other data. Also, that's not "exactly what MySQL is for".
@Killer2demon
I'm not sure what you're asking. MagicSpells will just check to see if a player is in a region you've specified in the config file, nothing more.
-
View User Profile
-
Send Message
Posted May 28, 2012How do you turn off the default stick thing i tried doing 0 and 7 but it still goes to 280 + 7.
-
View User Profile
-
Send Message
Posted May 28, 2012Can you make small fireball more smooth? Like a Blaze :D
Or can you make large fireball disable returning by punch.
-
View User Profile
-
Send Message
Posted May 27, 2012I tried to make a spell that load a schematic from worldedit and past it in air.
But It keeps saying no perrmissions.
I did set temporary permissions as you can see in the spell config:
http://pastebin.com/eX6bfSnc
Tried with all of the 3 last versions and even last dev build but it's not working
Using Bpermissions i first had PEX and just switched special for this and now it's still not working :S
And last RB and also tried first RB but nothing seems to work.
Hope someone can tell me what i'm doing wrong.
-
View User Profile
-
Send Message
Posted May 27, 2012@nisovin
If I have multiple worldguard regions inside a larger one will no magic zones still respect their region they are set to?
-
View User Profile
-
Send Message
Posted May 27, 2012Hello I would only ask you a question. is it possible that you make a Spell what can make the same as the In enchanting Table? I mean it like this:
you make the spell and you can enchant the first item in you inventory with XXLevel. (and that you can change the spell like you need it 10,20,30,40,50 as you wish. because that would a really nice spell what you can also use as spell scrolls.) and the Abilities should be same random like it is when you are enchanting with the Table )
that is my idea i dont know if you can do it or it is possible but it would really really nice :)
and congratulate to your awesome Plugin ! Fewa
-
View User Profile
-
Send Message
Posted May 26, 2012can you please please add MYSQL support for the spellbook instead of read/writing to a text flatfile and creating a new one for every user i have 1000's of users and i want to use this but the demands may be too high on server if using flatfile thanks for the consideration this is exactly what MYSQL is for tho so it should be easy
-
View User Profile
-
Send Message
Posted May 25, 2012CastModifiers has a ton of potential in it really looking forward to see what I can do with it! Thanks!
-
View User Profile
-
Send Message
Posted May 25, 2012@chlitto
http://nisovin.com/magicspells/nomagiczones
-
View User Profile
-
Send Message
Posted May 25, 2012@Wookieguy
http://nisovin.com/magicspells/unbindspell
-
View User Profile
-
Send Message
Posted May 25, 2012I apologize if this was made obvious somewhere I didn't look, but how do you unbind a spell from an item? I heard that the fist method no longer works, but have not figured out the alternative.
-
View User Profile
-
Send Message
Posted May 25, 2012@Redstoner_Pro
Flamewalk can't burn forests down, it only sets mobs on fire.
-
View User Profile
-
Send Message
Posted May 25, 2012@woodendinosaur Ok, Now how would i implement that, or is it still a work in progress. People are using firewalk spells to burn down protected forests, and using freezewalk to kill water fountains. I'm ready to disable all these buff spells until I can find a solution to this.
-
View User Profile
-
Send Message
Posted May 25, 2012@Redstoner_Pro
Nisovin has been working on this, Redstone_Pro. :D http://code.google.com/p/nisovin-minecraft-bukkit-plugins/source/browse/trunk/MagicSpells/src/com/nisovin/magicspells/BuffManager.java
-
View User Profile
-
Send Message
Posted May 25, 2012whats the "Optional dependency" for "WorldGuard"? because i would like to disable spells on wg regions
-
View User Profile
-
Send Message
Posted May 24, 2012When scrolling over a scroll, it doesn't give any info about spell or charges left. Any help would be great.
-
View User Profile
-
Send Message
Posted May 24, 2012Ill ask this again as it seem my post just was not seen.... Is it possible to cancel out buffspells when entering a no magic zone? I'm having an issue with player activating the spell then teleporting just outside the region and walking in with the spell active.
-
View User Profile
-
Send Message
Posted May 24, 2012@Killer2demon
Well, you can add all of your spells to the allowed-spells list.
-
View User Profile
-
Send Message
Posted May 24, 2012@nisovin
Is there currently a way to disallow only certain spells in anti-magic zones?
-
View User Profile
-
Send Message
Posted May 24, 2012Announcement: I've officially released version 1.0 of the new addon MagicSpellsCastModifiers. It's quite powerful, so have a look. I've also recently released a new version of MagicSpellsShop.