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 Nov 3, 2012Is there any way to make a close combat spell, like 2 blocks range because when i do, it requires left click to cast and left clicking with something in ur hand deals damage, and if you deal damage with an item it seems to not cast anything.
-
View User Profile
-
Send Message
Posted Nov 3, 2012Would it be possible to add the flying arrow trail to players that are using a flying spell from this plugin? That way it will be a lot easier to tell players apart from the ones that are flying illegally via some hack.
-
View User Profile
-
Send Message
Posted Nov 3, 2012@LihPeu
Hey is there info anywhere for MagicSpellsteams? That sounds really cool and was always something that was a concern to me. Never read about it until now.
-
View User Profile
-
Send Message
Posted Nov 3, 2012LihPeu - there is an error in the config for the latest dev build. There is a tab in the line for enderchest mana which gives the error xXCooLDuDe360Xx gets. If you try to edit the config file to fix it, you get the mapping values not allowed here error
-
View User Profile
-
Send Message
Posted Nov 3, 2012@zarakh01
MagicSpellsTeams, you can find a dev build here: http://nisovin.com/magicspells/dev/
@xXCooLDuDe360Xx
Stop spamming the comments, make a forum post here http://dev.bukkit.org/server-mods/magicspells/forum/ and use pastebin to share your config for others to help.
-
View User Profile
-
Send Message
Posted Nov 3, 2012er, what do i do after i found the error
:P lol
-
View User Profile
-
Send Message
Posted Nov 3, 2012rengvall01 - Ahh, thanks
found the error
20:18:03 [SEVERE] org.bukkit.configuration.InvalidConfigurationException: while scanning for the next token found character '\t' that cannot start any token in "<string>", line 465, column 9: - mana 50 ^
-
View User Profile
-
Send Message
Posted Nov 3, 2012xXCoolDuDe360Xx - did you look in your server logs to see if its even loading? MagicSpells wasn't doing anything for me, so I looked in the server logs and found there was an error and it failed to load
-
View User Profile
-
Send Message
Posted Nov 3, 2012@rengvall01
I cant even pick my spell :P
the stick doesnt do anything :P
-
View User Profile
-
Send Message
Posted Nov 3, 2012This might be related to xXCoolDuDe360Xx's problem, as I just get /cast when trying to cast a spell. My problem is that when I make changes to the MagicSpells config file I get an error in the server log and MagicSpells fails to load, I haven't tried changes in all locations of the spells, but by changing the cast item of armor from book to stick (or the id number) I get a server error.
2012-11-03 04:32:44 [SEVERE] Caused by: mapping values are not allowed here in "<string>", line 121, column 27: str-usage: \"Usage: /cast help <spell>\"
It doesn't matter which spell I change, I always get the same error
have same problem with version 2.9 and 2.10, had problem on both craftbukkit version 1.4.2-R0.1 and R0.2
-
View User Profile
-
Send Message
Posted Nov 3, 2012i typed "/magicspellcast" "/magicspellmana" "/cast firenova" "/cast volley" "/cast blink" "/cast tree" for "/magicspellcast" & "/magicspellmana", i get the reply "/magicspellcast" & "/magicspellmana" and nothing happens for "/cast firenova" "/cast volley" "/cast blink" "/cast tree" i get the reply "/cast" and nothing happens
i spam the stick with left click & right click, nothing happens
im using version 1.4.2 and i have 15 plugins on my server: CensorIt, WorldEdit, WorldGuard, Citizens, CraftConomy3, CombatCrits, BleedingMobs, Vault, Modifyworld, PermissionsEx, mcMMO, Essentials, ChatManager, MagicSpells and EpicZones
Am i doing something wrong?
-
View User Profile
-
Send Message
Posted Nov 2, 2012Is there a way to set people as allies or something so aoe damage spells dont hit them and healing effects only work on them?
-
View User Profile
-
Send Message
Posted Nov 2, 2012Spell name glitch seems to be fixed, another glitch. If you conjure an item it wont stack with an item stack already in your inventory. So if you get 1 slimeball for healing another player, it will spawn in a new slot each time instead of stacking on the already created stack.
-
View User Profile
-
Send Message
Posted Nov 2, 2012Could you please post the configurations for the waterwalk, enderchest and disguise spells? :)
Also, please allow item names in passive spells rightclick trigger
-
View User Profile
-
Send Message
Posted Nov 2, 2012@jjacobson
Add the permission magicspells.grant.* to whatever your default permission group is
-
View User Profile
-
Send Message
Posted Nov 1, 2012Is there a way to make every player learn every spell when they first join the server? Instead of having to teach them the spells they automatically know them all when they join?
-
View User Profile
-
Send Message
Posted Nov 1, 2012Could I make a request for a command?
/cast unbind all
-
View User Profile
-
Send Message
Posted Nov 1, 2012@shankomaster
I'm also having an issue with spells with different header names being removed.
Also, can cast modifiers use custom item names now too for holding/wearing conditions? or is it limited to cost, cast-items etc?
-
View User Profile
-
Send Message
Posted Nov 1, 2012I was having an issue with spells that had a different name from their spell heading being removed from spell books. I also got errors when trying to purchase them using MagicSpells Shop 1.5, I cant test or get errors at the moment but I will try again later
-
View User Profile
-
Send Message
Posted Oct 31, 2012Would it be possible to make Melee skills? Because every time i try to make one, if the target is in range to be hit by the item its bound to the spell never casts... also passive skills dont work with the on hit requirement unless u wait about 1-2 seconds between hits...