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 Jul 1, 2013ok i will try that centaurianArcher. and do you also know anything about my last question about making changes to the .jar file itself. and sorry if i say anything incorrectly, i may not use the proper terms that you are used to hearing. so about the .jar file, i am changing all the instant.ProjectileSpell lines (explosive arrow spell) to targeted.ProjectileSpell (my custom spell) and it says i can only save with UTF-8. but when i start my server it cant load and says invalid plugin.yml. is there another way to save it or a specific download i can make to prevent this from occuring? Thx
kene1234
-
View User Profile
-
Send Message
Posted Jun 30, 2013@thc001
I don't think it's possible, but that feature would be sweet! Instead, for your convenience, I have here a list of Minecraft item ID's that have durability: http://pastebin.com/qxePd0X4
Simply remove the lines for the items that you want affected by your repair spell. I can't promise it will work, but I can promise that this is a complete list(With the exception of anvils)!
@kene1234
Have you tried using the number 20 for your potion effect spell? I think it needs to read "type: 20"
(Without the quotations.)
-
View User Profile
-
Send Message
Posted Jun 30, 2013okay so what im doing is trying to change the instant.ProjectileSpell (explosive arrow) to targeted.ProjectileSpell (making a custom spell). i change them all in the actual .jar file for the plugin but when i try to save it, it says i can only save with UTF-8. then when i start my server, it doesn't work as normal. Can someone tell me how i can possibly avoid saving it that way or is it not possible? plz help :/
-
View User Profile
-
Send Message
Posted Jun 30, 2013can someone tell me how to make a projectile fly forever.
-
View User Profile
-
Send Message
Posted Jun 30, 2013Thanks for this great plugin. It makes my RPG server very different! :)
Just one question, is it possible to make the "repair" spell to have a white-listed items instead of black-listed items?
Now there is a "ignore-items" but I think a "allowed-items" is also a great option :)
-
View User Profile
-
Send Message
Posted Jun 30, 2013@centaurianArcher
I made request, you can back me up here: http://dev.bukkit.org/bukkit-plugins/magicspells/forum/54712-mana-bar-alternative/
Piece.
-
View User Profile
-
Send Message
Posted Jun 30, 2013uugh I still can't figure out the right thing to type in. I am trying to make a projectile spell and I want the impact of the projectile to cause the wither effect on the target. does anyone know the right thing to put as the effect. I feel something is missing because it doesn't work when I just put wither or WITHER.
-
View User Profile
-
Send Message
Posted Jun 29, 2013I havent been able to get line/trail to work in spell effects, does anyone have a spell they have that works with this?
-
View User Profile
-
Send Message
Posted Jun 29, 2013@craftovski No problem! If you have a neat suggestion(which you do!) I would recommend making a new thread in the official MagicSpells forum: http://dev.bukkit.org/bukkit-plugins/magicspells/forum/
@kene1234
The wither effect? I thought it was just called "Wither" or "WITHER". It's effect number 20. http://www.minecraftwiki.net/wiki/Data_Values#Status_effects
-
View User Profile
-
Send Message
Posted Jun 29, 2013I was wondering if any1 knows the full name for the wither effect. I am trying 2 put it in as an effect for one of my spells. and well I am new to coding etc. so if U know the full thing that I can put in, it would make my day if u post a reply. thx :)
-
View User Profile
-
Send Message
Posted Jun 29, 2013@Necromedes
1) You could set up a passive spell with the 'spelltargeted' trigger for the spell cast and then use the CastModifiers 'chance' to set the chance is might happen.
2) for this I don't know for sure (haven't messed with this) but the two things I would check is to make sure you have the right ID:datavalue and it set in the mana potion set in that section.
-
View User Profile
-
Send Message
Posted Jun 29, 2013@centaurianArcher
Thank you for your help.
And i have another question/request if possible, show mana bar on Air bar(bubbles) because it already looks kinda like mana(better then food bar or exp bar) and its rarely used(only under water).
Hope you consider this in future updates. Thx.
-
View User Profile
-
Send Message
Posted Jun 29, 2013Ok, two questions.
01: I would like a few of my spells to have possible effects (Fire spell has a chance to ignite target, lightning blinds the target, etc..." Is there a way to add a chance to targeted spells and somehow link them to other spells, like with a multispell but with a chance to effect option.
02: I have tried to make certain potions restore mana to players but they never seemed to work. Any idea's on why not?
-
View User Profile
-
Send Message
Posted Jun 28, 2013@craftovski
Your answer... LIES HERE...!
http://nisovin.com/magicspells/manaconfiguration
...in the configuration!
To put a player in a group, you must give them the magicspells.rank.<rankname> permission node.
-
View User Profile
-
Send Message
Posted Jun 28, 2013How to increase players mana, i see theres 3 groups in config but how do i apply 1 of them to some player or group of players.
Thx.
-
View User Profile
-
Send Message
Posted Jun 25, 2013Idea:
Find
Allows you to find the co-ordinates of a specific player. ./cast find Bobthebuilder16
The scroll would have to ask what player to find, rather than find the player put on the scroll. (Probably annoying to code.)
Would be very useful for Factions, where players might want to find or buy a spell so they can find where their worst enemy's faction base is.
-
View User Profile
-
Send Message
Posted Jun 25, 2013Any way to prevent mobs "peaceful" be damaged by spells?. For example, I want the spell "firenova" only hurt the players not peaceful mobs.
This is possible?.
-
View User Profile
-
Send Message
Posted Jun 24, 2013@McF4rtson
Yes, you could see documentation, it's called "zones" there.
-
View User Profile
-
Send Message
Posted Jun 24, 2013Is it possible to limit certain areas where spells cannot be casted, say, a PvP lobby?
-
View User Profile
-
Send Message
Posted Jun 24, 2013It seems that the Plugin will not accept negative values for potion effects.
I had an idea for "Soften" which would make a player or mob more vulnerable to attacks by giving him/her -3 resistance, hence increasing the damage taken by 60%.