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 14, 2012Any chance you could add a permission that lets the user override anti-magic zones? Or if there is already a way of doing this point me in the right direction?
Also, I can't remember but I think I mentioned this awhile back, anti-magic zones don't block passive spells, any way to fix that?
on a side note I found a way to get around tempgrant permissions not letting you use cast-items. If you make the spell into a passive spell with the trigger being rightclick and the trigger item the same as your cast item then will cast on right click.
-
View User Profile
-
Send Message
Posted Oct 13, 2012How do I grant the Projectile and PotionEffects spells?
-
View User Profile
-
Send Message
Posted Oct 8, 2012I have a problem with the ScrollSpell. This is my configuration:
Which should allow people to use a Spellbook without having to pay reagents on casting the spell with the spellbook. The reagents are deducted on creation, but then the plugin asks for the reagents again when someone wants to perform a spell. Yes, the test persons had the .cast node for the said spell and the node that relates to "require-scroll-cast-perm-on-use: true" and the permission node for using spellbooks. The problem here is that the plugin still deducts reagents even though the config says "cast-for-free: true"
We use MagicSpells 2.9 as far as I know, furthermore do we work with PermissionsEx and Craftbukkit 1.3.2 RB 1.0
Can anypony point out the problem here?
-
View User Profile
-
Send Message
Posted Oct 8, 2012@burp27
Do you also know the spell you're trying to bind to a scroll? And are you trying to make a normal scroll or a base scroll? Base scrolls also require an additional permission node.
-
View User Profile
-
Send Message
Posted Oct 8, 2012The scroll spell doesn't work? I can't bind a spell to a scroll. It says: You don't know a spell with that name
-
View User Profile
-
Send Message
Posted Oct 6, 2012By using the tempgrant permissions would we be able to give the spell but when removed the perm also remove the spell ?
-
View User Profile
-
Send Message
Posted Oct 5, 2012I have a question about the permissions spell.
Could I use that spell to give players a set of magicspells for a limited period of time?
I have classes on my server and would like to use the permissions spell to make a sort of class trial period using this spell... They use the spell to give them a certain classes beginner spells for a limited time.
That way the players can test the classes before they choose the one they want.
-
View User Profile
-
Send Message
Posted Oct 2, 2012@MattSheridan
Np. :) Just know that a lot of plugins don't seem to like the permission spell. I'm not actually sure if it's the plugins or the permission plugin people use that doesn't like it. I know PEX doesn't like having temp permissions given and taken away like that. bPermissions seems to do ok though.
-
View User Profile
-
Send Message
Posted Oct 2, 2012@Faldonboy
Ah, thanks! I'll have to try that out, then!
By the way, that's an especially nice implementation of it. I think one of my players asked for a spell exactly like that when I first put MagicSpells on the server.
-
View User Profile
-
Send Message
Posted Oct 2, 2012I have a really simple question, will stonevision work if your server has orbfuscator?
-
View User Profile
-
Send Message
Posted Sep 30, 2012@MattSheridan
Still works to my knowledge, here's an example spell from my server.
-
View User Profile
-
Send Message
Posted Sep 30, 2012Huh. Was the PermissionSpell class removed? I wanted to implement the DeathChest plugin as a spell.
-
View User Profile
-
Send Message
Posted Sep 29, 2012@rladbsgh
Righclickblock is listed in the passive spell page here Death and Respawn cause the passive to trigger when you die or respawn(Respawn only takes place AFTER you hit the respawn button) Ticks will cause the passive to activate after the specified server ticks have passed(20 ticks = one second) Take note that it will activate everytime the specified amount of time has passed. The only one of these three that has a variable is "ticks" and it's the amount of ticks you want it to cast on(ticks 600 for example would cause the spell to trigger every 30 seconds)
-
View User Profile
-
Send Message
Posted Sep 29, 2012Can someone explain the passive triggers "death, respawn, rightclickblock, ticks"? (Parameters / var, etc.)
They're not listed on the manual site.
-
View User Profile
-
Send Message
Posted Sep 28, 2012@rellac
Just blacklist the Mark spell only. The No Magic Zone page tells you how.
-
View User Profile
-
Send Message
Posted Sep 28, 2012Is it possible to prevent a player from marking in a specific location without banning all spells in that area?
-
View User Profile
-
Send Message
Posted Sep 28, 2012At every command, the server reacts with /cast.
how do i fix this? None of the commands work
-
View User Profile
-
Send Message
Posted Sep 28, 2012@nisovin
I don't know what is causing it, but the volley spell is broken (at least, it is on my server). When you cast the spell it does notify you about it, but no arrows are launched. The config part of the volley spell is like this on my server..:
volley: spell-class: ".targeted.VolleySpell" name: volley spell-icon: bow description: Send a volley of arrows at your targeted location. cast-item: blaze_rod cooldown: 45 range: 30 arrows: 10 speed: 20 spread: 150 shoot-interval: 0 cost: - mana 20 - arrow 2 str-cost: 20 mana and 2 arrows str-cast-self: You fire a volley of magic arrows. str-cast-others: "%a fires a volley of arrows." str-no-target: No target found.
Can you help me please?
-
View User Profile
-
Send Message
Posted Sep 27, 2012I'm trying to run a server where spells cost Exp to use... I see the note at the top of the page, but I'm requesting that this be fixed next. If you want to know more about the server and what it entails for the purpose of ideas, don't hesitate to pm.
-
View User Profile
-
Send Message
Posted Sep 27, 2012Hi ! Can you update MagicSpellsShop ?