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 Mar 7, 2013Please help. I have volatile turned off in the config, but the explode spell is still destroying blocks, even though normally Towny Advanced plugin reverses all explosion damage like tnt. Spell damaged blocks do not reverse back.
-
View User Profile
-
Send Message
Posted Mar 3, 2013Very good plugin, I have 1 problem: What are the names of the permissions for permissionsex for enable players to cast a scroll?
Fore the fireball I tried this: magicspells.cast.fireball
But it does not work, the users have no permissions.
EDIT: Tried everything, from deinstalling plugins etc., can confirm the permission system (magicspells.grant.spellname) is not working. Too bad, this would have been a nice plugin.
-
View User Profile
-
Send Message
Posted Mar 3, 2013Would it be possible to change all Bukkit-Events that you fire to custom events extending those, possible with a spell reference? By "all" i mean things like damage, blockbreak, blockplace, things that players do...
It would make exempting from NoCheatPlus checks possible, otherwise only instant spells could be made compatible without allowing massive abuse, potentially.
-
View User Profile
-
Send Message
Posted Mar 2, 2013Love the plugin, currently running it on my server.
One issue though, I've made a spell shop which uses XP as currency, but some of spellshops will tell players they cannot afford a spell, even if they have sufficient xp, and i can't seem to pinpoint the issue since other spells sell just fine.
The spellls that have been confirmed to have an issue so far are "Teach" and "Lightning"
-
View User Profile
-
Send Message
Posted Mar 2, 2013Would it be possible to add Factions support? Now people use spells to break into factions and grief :/
-
View User Profile
-
Send Message
Posted Mar 1, 2013amazing kid : don't give the player the permission to cast the x spell with stick in world two.
-
View User Profile
-
Send Message
Posted Mar 1, 2013Just wondering if there is a way to disable binded items in different worlds. For example I want x spells to be binded to stick in world one. But in world two I want y spells binded to bone and nothing binded to a stick.
Thanks
-
View User Profile
-
Send Message
Posted Feb 28, 2013It seems anytime I use
the lightning sound can be heard around the world. Is there any way to fix this? With an increasing number of magic users on my server, it's getting quite noisy! Thanks.
-
View User Profile
-
Send Message
Posted Feb 27, 2013@Sorrento110
Unless you put those spells inside the code brackets we can't see spacing, and nine times out of ten that is the problem. With the formating as is, I can see the cost is messed up. It should be:
not
-
View User Profile
-
Send Message
Posted Feb 27, 2013This plugin is so freaking awesome !
Nisovin I have a couple of questions for ya : So far we cannot use nocheatplus or anticheat with magic spells (it disables all spell damage). Is there another anti-hack plugin out there that supports magic spells you know of? if not thats ok just curious :)
Also : Every spell We have that does not require a target can knock off picture frames off walls, even in worldguarded protected areas, along with towny protections.. Any way to prevent this?
-
View User Profile
-
Send Message
Posted Feb 27, 2013Everytime I try and create my own multispells, the entire plugin stops recognizing spells, giving me "you do not know a spell by this name" even on the vanilla spells.
These are the three main spells I was wanting to incorporate. Can anyone tell me what is wrong?
death:
spell-class: ".Multispell"
name: death
description: All will die.
cast-item: nether_star
cooldown: 120
check-individual-cooldowns: false
cost: - mana 100
str-cost: 100 mana
spells:
- drainlife
- DELAY 20
- drainlife
- DELAY 20
- minion
- minion
- minion
thunderstorm:
spell-class: ".Multispell"
name: thunderstorm
description: You called a thunderstorm.
cast-item: blaze_powder
cooldown: 120
check-individual-cooldowns: false
cost: - mana 100
str-cost: 100 mana
spells:
- storm
- DELAY 20
- storm
- DELAY 30
- zeus
- DELAY 20
- zeus
- DELAY 1
- lightwalk
typhoon:
spell-class: ".Multispell"
name: typhoon
description: You started a typhoon.
cast-item: lapis_lazuli
cooldown: 120
check-individual-cooldowns: false
cost: - mana 100
str-cost: 100 mana
spells:
- water
- DELAY 20
- water
- DELAY 30
- storm
- water
- DELAY 20
- water
- DELAY 10
- forcepush
The YAML is correct as well. This is just to see if I did something wrong with the code.
-
View User Profile
-
Send Message
Posted Feb 26, 2013@shadoom23
You would have to change that in nocheat, just look for settings involving playermovement and playerspeed
-
View User Profile
-
Send Message
Posted Feb 26, 2013is it possible to let "haste" not trigger nocheat?
-
View User Profile
-
Send Message
Posted Feb 25, 2013@Superboop
Thankyou!
-
View User Profile
-
Send Message
Posted Feb 23, 2013Hi Sweenster13 here,
I have had a problem with spellbook txt files part of the plugin its a set of text files the
plugin is suppose to generate but its not generating them for people for some reason which makes everyone ingame have all the command spells
and the groups with permissions to have all spells and teach them have none and in the config folder I have ops-have-all-spells: true yet I have the
same spells command ingame as players who dont have that permission.
and no one is able to gain spells and ops dont have only have the basic help and list spells
These are my magicspells nodes for owner and I am using bpermissions
- magicspells.grant.*
- magicspells.learn.*
- magicspells.cast.*
- magicspells.teach.*
and in the spellbook folder there is no txt file created for me and the people that do have a a txt file have extra spells ingame that they dont have in there txt file. So it would seem that no txt files are generating.
-
View User Profile
-
Send Message
Posted Feb 22, 2013@Danzabarr
Try cake_block instead of cake?
-
View User Profile
-
Send Message
Posted Feb 22, 2013can anyone manage to materialize a cake? mine gives a nasty error.
-
View User Profile
-
Send Message
Posted Feb 22, 2013I Was Wondering One Very Thing About This, You Know With Anvils You Can Rename Things? Why Not Make The Sticks Name Wand Or Be Able To Name It Anything! That Would Be Awsome.
-
View User Profile
-
Send Message
Posted Feb 20, 2013@Nico_Linsalata
If you open the Magic Spells folder, you should see a spells-regular file. Inside, there's an argument for each spell called cast-item. Change that, and it should change the default item used to cast or select the spells.
Hope this helped.
-
View User Profile
-
Send Message
Posted Feb 20, 2013Hello, I was wondering if it is possible to change the Item: Book, to a different object. For Cititraders I need to select the trader with a book, but when I do it combines with this. I have searched the config, but can;t seem to find it. Please Help.