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 8, 2013It would be great if you could add support for EpicBosses :P
Having a boss use firenova, fireball etc. would be great!
-
View User Profile
-
Send Message
Posted Aug 8, 2013@BerryMe
Oh! I think I've got it! Could you try removing the modifier from your passive spell? It could be that the spell is checking to see if you're switching to and from the dye, since you have a trigger and a modifier both working at the same time. It's possible that you don't need the modifier.
-
View User Profile
-
Send Message
Posted Aug 7, 2013@neoteknic
/cast teach {player} {spell} if you use a permission plugin tho you might wanna add the permission to
-
View User Profile
-
Send Message
Posted Aug 7, 2013Hello, Is it possible with a server command to add a spell to someone ? Ex : /givespell player spellname
-
View User Profile
-
Send Message
Posted Aug 6, 2013Hi nisovin. A hook with Factions is planned ? ^_^
Exemple: faction-targets: ally, neutral
-
View User Profile
-
Send Message
Posted Aug 6, 2013@Reddragon94
if you use a permissions plugin then add them to that with magicspells.cast.(yourspell) if you use the name: spell option and use a space there it won't let you cast it. and you need to use an item then. if its none of these options then give a better description, thanks
-
View User Profile
-
Send Message
Posted Aug 5, 2013I can“t cast a lot of spells to the players although I have activate the spells for players. Please help me.
-
View User Profile
-
Send Message
Posted Aug 5, 2013@LihPeu i made a spider that shoots out green projectiles that poison/damage people on hit, only the other people on that group get damaged by the poison. groupbasedpvp blocks the damage since it simulates a direct damage. if you want i can show you my problem on my server if you don't completly get it
-
View User Profile
-
Send Message
Posted Aug 5, 2013@centaurianArcher
YES THAT WHAT I WAS LOOKING FOR! THANKS
-
View User Profile
-
Send Message
Posted Aug 5, 2013@Frogawesome
You have beneficial: true on all those spells, so they are going to work on both teams. What are you trying to achieve and what is currently happening?
@Lukethenuke
Ensure you have permission nodes magicspells.cast.* and magicspells.grant.* for testing.
External spells sometimes don't work with other plugins as they expect a player instant to call the command. Also remove the cost items for testing.
-
View User Profile
-
Send Message
Posted Aug 5, 2013@LihPeu hm i still can't get it to work i copied everything into the config of magicspells teams. and added the permissions into the groups. it might be that pex is the problem? these are the spells i use for the potion effect http://pastebin.com/V2vxpSNF maybe that can help to solve the problem
-
View User Profile
-
Send Message
Posted Aug 5, 2013@BerryMe
Are you sure you got the spaces right? this is a problem i also had that magicspells dind't 'read' the spell. if that doesn't work then try adding: cast-without-target: true that should fix it.
-
View User Profile
-
Send Message
Posted Aug 4, 2013Hey there, I've posted this on the forums but I don't think I'll likely get a response on there any time soon so I'm posting it here in hopes of having more luck.
I'm using craftbukkit 1.6.2 and v2.16.1 of MagicSpells and my problem currently is, while following examples in the documentation, I've stumbled upon an issue. For some reason, this spell doesn't work nor does it let me teach it to myself. All I'm trying to do is get this one command to work using the plugin Custom Professions so that I can have a magic skill.
I don't need to keep the gianttree part but since its a testing command spell, I had hoped it would work.
Edit: I also added "always-granted" to the config and it still says I don't know the spell. It doesn't even give a message about reagents needed or anything. It only says "You do not know a spell by that name." even when I use teach. I'm also OP.
Any help you guys can give me is much appreciated.
Cheers.
-
View User Profile
-
Send Message
Posted Aug 4, 2013@GamerzzWnJ
Quote from the Mana Configuration page of the Plugin Manual "simply give them the magicspells.rank.<rankname> permission node"
-
View User Profile
-
Send Message
Posted Aug 4, 2013Hi, does anybody here know how to set the rank of a user?
inside "Mana.yml" there is ranks: master: max-mana: regen-amount: prefix: "Mana:" color-full: color-empty: adept: max-mana: regen-amount: prefix: "Mana:" color-full: color-empty: novice: max-mana: regen-amount: prefix: "Mana:" color-full: color-empty:
i left everything blank here but i filled it in the the .yml, anyways, i cant find the option to set the rank of an user and it seems that they are all on the master rank :/
-
View User Profile
-
Send Message
Posted Aug 4, 2013@centaurianArcher
I am certain it is the passive spell not working, but the spell is meant to target the caster not a target, that is why it is non-targeted. I also tried casting the spells individually and it is the passive spell not working.
-
View User Profile
-
Send Message
Posted Aug 4, 2013@BerryMe
I'm not certain what's wrong. One trick I employ when I don't know which spell is causing the problem is I give all of the important spells a unique "str-cast-self" message. That way, if one of them simply isn't going off, or is going off when it shouldn't, I'll know which one it is.
Also, try setting airheal's "target-players" to "true". That might be the issue.
-
View User Profile
-
Send Message
Posted Aug 4, 2013I seem to have a problem with passive spells, can someone explain why this doesn't work.
http://pastebin.com/D6mFqfKn
-
View User Profile
-
Send Message
Posted Aug 4, 2013@Frogawesome
Keep it simple, I had it setup wrong for along time and here is what I use now. http://pastebin.com/PGrF5Uec
Also MagicSpells has a beneficial option for spells within the same team ;)
-
View User Profile
-
Send Message
Posted Aug 4, 2013@LihPeu
I tried it and first i used the default generated config and added it to the groups, i use pex btw. but then sometimes it works half means like the group with the same permission can't attack eachother but also can't attack any other group even though they have the magicspells.team.two permission?