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 Jan 3, 2014My buff spell doesn't work anymore since the last dev builds from magicspells on 1.7
Am i doing something wrong?
hyperspeed: spell-class: ".PassiveSpell" name: hyperspeed triggers: - buff chance: 100 cooldown: 4 spells: - superspeed
superspeed: spell-class: ".targeted.PotionEffectSpell" name: superspeed spell-icon: spider_eye description: Have Unhuman Speed.. always! cast-item: blaze_rod cooldown: 45 range: 10 type: 1 strength: 1 duration: 50000 targeted: false can-target: players,monsters cost: - mana 12 str-cost: 12 mana str-cast-self: You have gained Ultimate Speed str-no-target: No target found.
-
View User Profile
-
Send Message
Posted Jan 3, 2014I can't seem to find the ride spell. Was it removed?
-
View User Profile
-
Send Message
Posted Jan 2, 2014Suggestion: New Conjure spell option.
Check if player has item. For example, if you use the conjure spell to give a random item, check if the player has this item and if so roll again. The only way to perform this kind of check is using individual conjure spells with a hasitem modifier, but this is not practical and cannot be random.
items:
- "item_one 1 20%"
- "item_two 1 20%"
- "item_three 1 20%"
- "item_four 1 20%"
- "item_five 1 20%"
calculate-drops-individually: false
<</code>>
Thanks for your continued development on this project.
-
View User Profile
-
Send Message
Posted Jan 1, 2014Something seems to have been changed over the last couple of days to prevent this plugin from loading. I have created a ticked entitled "Plugin Not Enabling On 1.7.2/1.7.4". I am running cb2975.
-
View User Profile
-
Send Message
Posted Dec 29, 2013Hello, I am looking for some help. I am attempting to make a fire trail toggle-able. I have made spell which makes a particle trail move behind someone when they sprint, the problem is I am trying to make it toggle-able with a command. Does anyone have an idea how this could be done? The spell triggers on sprint and I would like to make a command like "/trail on" and "/trail off". Any help is appreciated thanks :D
-
View User Profile
-
Send Message
Posted Dec 29, 2013@BerryMe
alright, thanks.
-
View User Profile
-
Send Message
Posted Dec 28, 2013@LaughNgamez
The only way I know would be setting the server gamerule to keepinventory: true
-
View User Profile
-
Send Message
Posted Dec 27, 2013How does one use the homing missile spell :O? It sounds like a great spell for beginners but I can't seem to find it :I
-
View User Profile
-
Send Message
Posted Dec 27, 2013Hello! I had an idea for the plugin. Would it be possible to make a spell that detected on use if a player was looking at an item (which would be of course lying on the ground), and if they are it summons it to them? I think it would be difficult to make it fly toward them, so maybe you could just make it disappear from the floor and appear in their inventory? I am not sure if this is possible, but this would be a great addition! I need something like this for my server.
-
View User Profile
-
Send Message
Posted Dec 27, 2013@BerryMe
Okay thanks, how would I make it so they don't drop their current gear?
-
View User Profile
-
Send Message
Posted Dec 27, 2013@LaughNgamez
You could use a passive spell with the trigger kill player and make it use a conjure spell
-
View User Profile
-
Send Message
Posted Dec 27, 2013Is it possible to change what players drop with this plugin, I can't find anyway to make that spell.
-
View User Profile
-
Send Message
Posted Dec 26, 2013Does anyone know how to get the fuse sound effect to work again?
-
View User Profile
-
Send Message
Posted Dec 25, 2013@runelynx
It is defined in each spell (in the default configs it is a stick, blaze rod or book). If your asking about where in the plugin manual it is explained it is here, nine items down.
-
View User Profile
-
Send Message
Posted Dec 25, 2013Maybe I'm crazy, but I've been looking in the help area for 20 minutes now and I can't find where the default cast wand is defined :(
-
View User Profile
-
Send Message
Posted Dec 25, 2013Can someone help me and write example of working arrow spell that use potion Effect Spell ?
-
View User Profile
-
Send Message
Posted Dec 24, 2013@BerryMe
str-cant-blink: " "
-
View User Profile
-
Send Message
Posted Dec 24, 2013Is there a way to have nothing in a str? For example in str-cant-blink: You cannot blink there! It gets annoying when it fails and keeps displaying.
tldr: I would like a way to leave str blank
-
View User Profile
-
Send Message
Posted Dec 23, 2013@Mordrogg
Thank you so much, I must have over looked it sorry.
-
View User Profile
-
Send Message
Posted Dec 23, 2013@OMZIGIAN
Oh that is actually simple. in general.yml there is option "ignore-cast-item-durability" and you just have to make a list of items to ignore durability like: