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 Oct 30, 2012Had some issues, but now fixed. Great plugin!
-
View User Profile
-
Send Message
Posted Oct 29, 2012Have you ever thought of making a bridge for Ctizens2?
http://wiki.citizensnpcs.com/Citizens_Wiki
-
View User Profile
-
Send Message
Posted Oct 29, 2012@nisovin
Thanks niso :)
Keep up the nice work.
-
View User Profile
-
Send Message
Posted Oct 29, 2012A new dev build of 2.10 is up, which should be compatible with Minecraft 1.4.2.
-
View User Profile
-
Send Message
Posted Oct 28, 2012I will be looking forward to the update for 1.4.2. Seems a few handlers have been broken, such as explosion.
-
View User Profile
-
Send Message
Posted Oct 27, 2012@Gotex007
Haha np :P Glad you got it working.
-
View User Profile
-
Send Message
Posted Oct 27, 2012@Faldonboy
Wow. I feel so stupid. I had the noreagents variable set to true in the permissions and apparently that meant no costs at all. I didn't want reagent costs so I set noreagent to true and that was the problem. Thanks for your patience. ><
-
View User Profile
-
Send Message
Posted Oct 27, 2012@Gotex007
Has to be a problem with your permissions, I'm able to use your config as is just fine and it charges the mana costs. Try experimenting with other permission plugins on a test server I guess. If you do I'd recommend bPermissions, it's fairly simple and the most stable out of the current permission plugins.
Question though, I don't know much about PermissionsBukkit, does it support per-player permissions and/or group inheritance? If it supports group inheritance you may have given permissions to a group to ignore reagents on accident and that could be your problem.
-
View User Profile
-
Send Message
Posted Oct 27, 2012@Faldonboy
http://pastebin.com/Mtg1Gmeg
I use PermissionsBukkit. It's nice and simple.
-
View User Profile
-
Send Message
Posted Oct 27, 2012@Gotex007
What permission plugin do you use? And can you put your MagicSpells config in a Pastebin and post it here please.
-
View User Profile
-
Send Message
Posted Oct 27, 2012@Faldonboy
I did what you said. It still doesn't have any cost for anything. It's the same situation. :/
-
View User Profile
-
Send Message
Posted Oct 27, 2012@Gotex007
...You have to give the appropriate permissions when you do that, kind of thought it was self-explanatory. Turn the setting back on and give yourself magicspells.cast.* and magicspells.learn.*
Also, you must have changed something else because that setting does nothing to spell cycling.
-
View User Profile
-
Send Message
Posted Oct 27, 2012@Faldonboy
All that did was make me unable to cast anything at all. That and it broke the spell cycling on the items.
-
View User Profile
-
Send Message
Posted Oct 27, 2012@zarakh01
Yes
@Gotex007
It's "cost" , and try setting default-all-perms-false to true and try using a spell
-
View User Profile
-
Send Message
Posted Oct 26, 2012@ zarakh01
Is the variable for the cost "cost" or "use-cost"? I'm really trying to figure out why the cost never comes into account when casting. It just casts, but no cost.
e.g.
cost:
- mana 25
-
View User Profile
-
Send Message
Posted Oct 26, 2012Hmm, can multispells have the "use" and "use-cost" requirements?
-
View User Profile
-
Send Message
Posted Oct 26, 2012@fuzyfeet
It's not just me, everybody has no cost. Whether the cost be reagents, mana, hunger, or health.
-
View User Profile
-
Send Message
Posted Oct 26, 2012@Gotex007
Are you an Op? By default Ops get all spells and no cost for casting spells ("ops-ignore-reagents" in the config).
-
View User Profile
-
Send Message
Posted Oct 26, 2012I can't get the mana system to work. I put mana costs on everything and it doesn't seem to be working. Spells aren't using mana when casted at all, even though i have the mana system enabled. Any help?
Edit: Upon further inspection, no form of cost is working. Items, hunger, health, or mana.
-
View User Profile
-
Send Message
Posted Oct 26, 2012@watdidyusaey
Use interrupt-on-damage, not cancel-on-damage. http://nisovin.com/magicspells/spellconfiguration
@zarakh01
Spell power increases will stack multiplicative. So, 1.05 * 1.10 = 1.155.