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 Aug 17, 2012awesome! hope you update it for 1.3.2
-
View User Profile
-
Send Message
Posted Aug 16, 2012Is there anyway to get NoCheatPlus working with MagicSpells in the matter of using "temporary-permissions:" NoCheatPlus is stopping players on my server from using /cast pain and other long range damage attacks. I tried putting the NoCheatPlus bypass in stating it as a temporary-permission in MagicSpells, however it didnt work. I had to put the bypass in to GroupManager for the group to get it to work.
While I have no problem just leaving it in the GroupManager for that class, it would be nice to get it to work through MagicSpells simply and only through that command. Because now that class is susceptible to people hacking using long range attack type mods.
If there is anything i can do, thanks for the help regardless!
-
View User Profile
-
Send Message
Posted Aug 16, 2012@deleted_6837836
I'm not having either of these problems. I can fire as many projectiles as I want, and cast items with different data values seem to work just fine.
Also, no matter what I try, I can't actually get an item 104 with a data value in my inventory. It always reverts to data 0.
-
View User Profile
-
Send Message
Posted Aug 16, 2012@deleted_6837836
"External Spells, use it."
I don't want to have to use that plugin though if they can be added as spells into this one. Also, that plugin requires a permissions plugin. With this plugin, I can just teach players the spells and they can't get them without me giving them out. (I use the default permissions.yml file)
So... yeah, those spells I mentioned are cool and worthy to be added to this plugin I think.
-
View User Profile
-
Send Message
Posted Aug 16, 2012Anyone understand how to use sounds? I can't seem to figure this out...
-
View User Profile
-
Send Message
Posted Aug 16, 2012@n33dy1
External Spells, use it.
-Anyway, for my 2 questions (repeating again):
For the projectile spell, you can't cast it again until the projectile lands, unlike the fireball spell. This prevents spamming the projectile. Is there a way to cast the projectile spell before the previous projectile lands?
I set a wand as "104:1" but 104 with different damages (104:2, 104:3, etc.) uses the same spell. Why are these not seperated? I don't have "104" in the "ignore damage values" list.
-
View User Profile
-
Send Message
Posted Aug 16, 2012Do the addons MagicSpellsShop and MagicSpellsTowny currently work with 2.9? Or should I continue to wait?
-
View User Profile
-
Send Message
Posted Aug 15, 2012Hey nisovin. Love this plugin. It's always getting better. I'm currently implementing cybernetic implants and unique radio airlifts on a Tekkit server using your fantastic plugin. Item values match perfect, giving me dozens of new avenues for casting items and scrolls. I was wondering if projectile entities such as arrows have a numeric value attached to them before you use an enumerator (like "arrow") If this is true, is it possible to use the dummy values for Tekkit projectiles? For instance: The configured entity value for a thrown javelin is: 251. Is there a way to use that projectile entity in a spell?
IndustrialCraft has a laser which would make an excellent propagator for a spell.
-
View User Profile
-
Send Message
Posted Aug 15, 2012Please add the following spells from this plugin http://dev.bukkit.org/server-mods/minecraft-last-airbender/
AirBubble FireJet FireBlast
And also please add some of the spells from MagicalSpells too. Not sure if it's considered stealing because it's open source... but your command setup is the best so far.
Something else that would be cool is the ability for admins to bind a spell to any item and then give the item away with infinite charges for use as a wand. Also, not sure if this is already working or not but if it isn't, then the ability to bind a spell to the hotbar and just right-click to use it. (if you know the spell)
-
View User Profile
-
Send Message
Posted Aug 15, 2012@mattbrw08
Are you sure that's not caused by having flying disabled in your server config? I used SmartMoving on my server (which doesn't have it installed) and I would get messages like that when I was climbing ceiling-bars and such. Try enabling flying just to see if that works as a temporary fix. :)
-
View User Profile
-
Send Message
Posted Aug 14, 2012Also, i'm having a lot of problems with craftbukkit and many of the spells. things like /cast leap are often denied as craftbukkit always says "so-and-so moved too quickly!" and pulls them back to the ground. anyone know a way around this?
-
View User Profile
-
Send Message
Posted Aug 14, 2012@Redstoner_Pro
I dont have that in my config, How can i make spells only work in one world?
-
View User Profile
-
Send Message
Posted Aug 14, 2012@mattbrw08
I think it works on most things, just that there's a list of ignored items (fishing rods and flint & steel by default) in the lines for Repair in the config.
-
View User Profile
-
Send Message
Posted Aug 13, 2012@woodendinosaur
is there a way to get the repair to work on picks, and swords rather than just the armor it defaults as?
-
View User Profile
-
Send Message
Posted Aug 13, 2012@deleted_6837836
about worldguard:
As the projectile spell just casts the other spell(s) attached to it, if those spells can be blocked in their settings then yes. IE: exposivearrow - if explode spell has check-plugins: true and the region the spell is triggering disallows explosives then the spell will not cast.
The other option is to setup a blacklist of spells in the regions from the configuration. see http://nisovin.com/magicspells/nomagiczones for more info.
-
View User Profile
-
Send Message
Posted Aug 13, 2012Many questions:
Is there WorldGuard support? I can set anti magic areas to prevent explosion from griefing but what about projectile spells?
For the projectile spell, you can't cast it again until the projectile lands, unlike the fireball spell. This prevents spamming the projectile. Is there a way to cast the projectile spell before the previous projectile lands?
I have multiple "sounds", such as cave1,cave2,cave3,etc.. the nisovin.com only says cave. Can all varaints (numbered) of sounds be used?
I set a wand as "104:1" but 104 with different damages (104:2, 104:3, etc.) uses the same spell. Why are these not seperated? I don't have "104" in the "ignore damage values" list.
-
View User Profile
-
Send Message
Posted Aug 12, 2012@woodendinosaur
Yea, Fixed it all now. Even the Shuriken. Forgot to add a ConditionVar or ModifierVar, One or the Other :P Thanks
-
View User Profile
-
Send Message
Posted Aug 12, 2012@mattbrw08
repair:
spell-class: ".instant.RepairSpell"
name: repair
spell-icon: 58
description: Repairs your gear.
cooldown: 120
repair-amount: 300
to-repair:
- held
- hotbar
- inventory
- helmet
- chestplate
- leggings
- boots
ignore-items:
- 259
- 346
cost:
- 331 3
- 265 1
str-cost: 3 redstone dust and 1 iron bar
str-cast-self: You've repaired your gear!
str-nothing-to-repair: You have nothing to repair.
Taken from [[http://nisovin.com/magicspells/config.yml|Default config]]
-
View User Profile
-
Send Message
Posted Aug 12, 2012@woodendinosaur
My apologies.. I said /cast armor...... but was thinking of /cast repair. sorry! haha made myself look stupid
-
View User Profile
-
Send Message
Posted Aug 12, 2012@mattbrw08
The armor spell only supports items that would go in your armor slots. If you wanted to summon weapons or picks, you would use the conjure spell. To my knowledge, there is no option for temporary conjuring though.