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 12, 2012Seems to be an issue, or lack of understanding on my part with the damage of the snowballs in the Freeze spell. If you create a copy of that spell and modify the damage the spell chooses the lowest damage of the 2 spells. That's against the v2.6.1, when done with the dev build, latest as of the post, it chooses the highest damage, but regardless of how many copies you make, all the features work correctly, number, spread and such. Except damage. Happen to know of a workaround or does this fall into the bug category?
-
View User Profile
-
Send Message
Posted May 11, 2012I've spent months perfecting my config file and I've added so many fun spells. Thanks so much for making this perfect plugin! I hope one day you come visit my server :]
-
View User Profile
-
Send Message
Posted May 11, 2012i have a spell scroll with id 339:29, and i have it drop off of the mob, but when i my players USE the scroll, it doesn't disappear. i have the scroll as -1, and the spell reagent set to
339:29 1. Specifically GiantTree, and BLink, and MOST LIKELY a few others.
I have the scroll use ITSELF as the reagent, but yet the scroll still doesn;t want to disappear, i had it working b4, is there anything i need to do?
EDIT: I got it... Scrolls Cast For Free: False...
-
View User Profile
-
Send Message
Posted May 11, 2012Hello i have a little problem, I took the. jar and I put it in my plugin folder of my server do I start my server and the plugin works but I have no spells in my spells book folder can you help me please, I know that we must ask you ca often but I'm searching the Internet I did not encounter the similar problem thank you in advance for the help you bring me.
-
View User Profile
-
Send Message
Posted May 10, 2012@nisovin
I just disabled all plugins but magicspells and i still have the problem
Did you try with pvp enabled?
Works with pvp set to false..
-
View User Profile
-
Send Message
Posted May 10, 2012@iMer_
I just fired a bunch of snowball projectiles at a player and it never caused knockback or damage. I'm not sure why you're having a problem.
-
View User Profile
-
Send Message
Posted May 10, 2012@nisovin
I dont want it to knock back players/mobs
It would kinda suck when they try to buff eachother and one knocks the other off a ledge or so
It just need to hit the ground - not an entity (using the Area Effect Spell)
-
View User Profile
-
Send Message
Posted May 10, 2012@iMer_
What? Obviously if you get hit by a projectile, then you get hit. What do you want it to do, make the projectile disappear before it hits anything?
-
View User Profile
-
Send Message
Posted May 10, 2012@nisovin
Not that i know of..
I only have bPermissions, Essentials, MagicSpells and MobDisguise running.
Or does it only cancel the damage - not the getting hit part?
-
View User Profile
-
Send Message
Posted May 10, 2012@Tsunero
No, there's no way to block those messages.
@iMer_
Do you have a plugin that gives snowballs damage? Snowballs don't have damage normally.
-
View User Profile
-
Send Message
Posted May 10, 2012Me again
After finding out that "amplifier" isnt called "amplifier" but "strength" I ran into another problem:
I cant seem to disable projectile damage..
projectile_test:
spell-class: ".instant.ProjectileSpell"
projectile: snowball
require-hit-entity: false
target-players: false
cancel-damage: true
spells:
- aoe_test
It still damages me/other players
Any ideas (using latest dev build)?
-
View User Profile
-
Send Message
Posted May 10, 2012I know I've been bugging this thread a lot. I'm sorry >.< and thank you for being so patient with me.
Is there anything I can do to gag a command line, within the plugin?
Like, I'm using external command spells, and the str-cast-self and str-cast-others work just fine, but if I use a spell to, say, make a glass dome, it shows the worldedit line as well.
Since my server is a strict role-playing environment, this kind of takes away from the experience a little bit...
-
View User Profile
-
Send Message
Posted May 9, 2012@rurikar
i somehow missed that >.< really cant read sometimes thanks..
-
View User Profile
-
Send Message
Posted May 9, 2012@iMer_
magicspells.grant.*
add that to your permissions under the default user.
-
View User Profile
-
Send Message
Posted May 9, 2012Is there an easy way to give players access to all the spells so they don't have to learn them/get tought?
-
View User Profile
-
Send Message
Posted May 9, 2012@nisovin
yep thanks for your help :)
-
View User Profile
-
Send Message
Posted May 9, 2012@MattPlaysYT
You probably have the magicspells.noreagents and magicspells.nocooldown permission nodes.
-
View User Profile
-
Send Message
Posted May 9, 2012@nisovin
yes i am an op and i have read the permissions (i am using bpermissions) but is it a problem with the spell?
-
View User Profile
-
Send Message
Posted May 9, 2012@MattPlaysYT
Are you an op? Have you read the permissions information?
-
View User Profile
-
Send Message
Posted May 9, 2012hi, so far all my spells are working but the cool down and cost of using the spell is not working I dont know if i typed it wrong or if it is a bug?
Here is a spell:
Thanks in advanced :)