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 7, 2013@n33dy1
You can disable a spell in the config (with enabled: false) or just remove it from the config completely, and that spell will no longer load.
@craftovski
The prerequisites option is not a simple string, it is a list. You must use a list format.
prerequisites: [ lvl1 ]
-
View User Profile
-
Send Message
Posted Jul 7, 2013Question about prerequisites option. I added prerequisites: lvl1 to next lvl of that spell (lvl2) and player can learn lvl2 spell without knowing required spell (lvl1).
I reloaded spells with /cast reload (in console). Am i doing something wrong?
Thx
-
View User Profile
-
Send Message
Posted Jul 7, 2013Can you add Firework effects?
-
View User Profile
-
Send Message
Posted Jul 6, 2013I cant make spell tomes anymore I get kicked from my server
-
View User Profile
-
Send Message
Posted Jul 6, 2013Looks like everything is fine in 1.6, except DisguiseSpells won't load. Love the Arrow Spell, thanks nisovin!
EDIT - Any way to add mana usage to Arrow Spell?
-
View User Profile
-
Send Message
Posted Jul 5, 2013Is there an option to disable certain spells to stop the listeners for them completely? There is another plugin I use with powers in it and they have it so if no players with certain powers are online, then that power isn't even loaded. You can also stop certain powers as if they were separate plugins. I like this plugin and that plugin, it would be cool if they both worked like that. :) I'm really cray cray 'bout my TPS.
-
View User Profile
-
Send Message
Posted Jul 5, 2013I love this Plugin and use it constantly, But I don't know how to use "Predefined Items" Could anyone give me a link or tell me how
-
View User Profile
-
Send Message
Posted Jul 5, 2013@JacktarDean
You could use ServerSigns and just create a sign that has the "give" command associated with it?
-
View User Profile
-
Send Message
Posted Jul 4, 2013it wont open when i download it
-
View User Profile
-
Send Message
Posted Jul 4, 2013can you update for 1.6.1? beacause i cant get it :(
-
View User Profile
-
Send Message
Posted Jul 3, 2013@nisovin Thanks for the fast 1.6.1 dev build, looking forward to the MagicSpellsDisguise update.
-
View User Profile
-
Send Message
Posted Jul 3, 2013Hello I need a bit of help. I want a spell so when I type /cast start it gives all players in the game a diamond sword
-
View User Profile
-
Send Message
Posted Jul 2, 2013Is it possible to configure predefined tomes, much like predefined scrolls, so that I can have other plugins create them? I'd like to make tomes available as mob drops and treasure from dungeons.
-
View User Profile
-
Send Message
Posted Jul 2, 2013@nisovin
Exactly what i was looking for, thx.
-
View User Profile
-
Send Message
Posted Jul 2, 2013@kene1234
What did you use to edit the file? With Notepad (PlusPlus) you can change the encoding to UTF-8 and then save.
-
View User Profile
-
Send Message
Posted Jul 2, 2013@craftovski
The option is "prerequisites". http://nisovin.com/magicspells/spellconfiguration
-
View User Profile
-
Send Message
Posted Jul 2, 2013Question. Is it possible to disable learning of some spell unless u have required spell, for example you cant obtain Frostwalk unless u have lilywalk.
If its not possible atm could you consider adding that option in future updates. You can add another configurable option in spells-regular.yml , for example: "requirement: <spellname>".
Thx.
-
View User Profile
-
Send Message
Posted Jul 1, 2013@incorruptable
Give your user magicspells.rank.<rankname> permission node, if u didnt edit rank names in mana config file then magicspells.rank.novice gets him 100 mana, magicspells.rank.adept 150 mana and magicspells.rank.master 200 mana.
You can change names of ranks, max mana for ranks and you can add more ranks in mana config file.
-
View User Profile
-
Send Message
Posted Jul 1, 2013How do I change a person's base amount of mana. Two players on my server have completed what is needed to have their mana increased in size.
-
View User Profile
-
Send Message
Posted Jul 1, 2013@kene1234
I... I don't know anything about that. Coding and java are both beyond my knowledge. Sorry!