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 Jun 4, 2012If you mean a passive potion effect can be used with the new Passive spell then I <3 you.
-
View User Profile
-
Send Message
Posted Jun 4, 2012Is there a way to have the conjure spell give item A OR item A? I want it to have a 50/50 chance of giving one of two items, but I don't want it to give both. If I just add both of them to the spell with a 50% chance, sometimes both will be given and sometimes neither will be.
-
View User Profile
-
Send Message
Posted Jun 4, 2012@woodendinosaur
I can't seem to replicate this problem, it works fine for me. Are you sure you aren't doing something wrong when entering the new value?
-
View User Profile
-
Send Message
Posted Jun 3, 2012Using the leap spell, I have the upward-velocity set to 11 and when I change the forward velocity to < tested values = 17, 18, 19 > it seems to break the spell. I get no spells listed that are bound to that item until i change it back ( 23 at the moment ). The goal was to have the feather with leap spell bound to it acting like flapping wings in order to "fly" (cooldown set to 0 too by the way). I can manage the current settings, I just wanted to scale the forward movement back a bit. Let me know if you need more information.
-
View User Profile
-
Send Message
Posted Jun 3, 2012@Dinastya
Please open a ticket and give me a list of spells that cause issues, and I'll look into it. I make no promises, however. Also, some problems may be fixable simply by setting the check-plugins option to false for those spells.
-
View User Profile
-
Send Message
Posted Jun 3, 2012@nisovin Could you please hook into AntiCheat
Since some spells are getting blocked or are spamming warnings.
Here is a documentation to hook into it:
http://dev.bukkit.org/server-mods/anticheat/pages/api-documentation/
Since NoCheat has lots of performance issues and lots of bugs i prefer using this.
But if you don't wanna hook into it i will stick with NoCheat
-
View User Profile
-
Send Message
Posted Jun 2, 2012@Dinastya
Hmm weird because I have OP, meaning I have all permissions, but I'll have a look.
EDIT: Nope, that's not the case, still the same problem. I'll send a ticket.
-
View User Profile
-
Send Message
Posted Jun 2, 2012Is your site down?
-
View User Profile
-
Send Message
Posted Jun 2, 2012Hey, i have been running this mod as a test and it is so awesome! Only one problem occurd:
I can't use spells on players, my PVP is on and i am not close to a town (im using SimpleRegionMarket). The problem might be becouse im running the server on Online-Mode: False, and my friend (where i tested this on) hasn't bought Minecraft, maybe this might stuck it becouse he is not in the Minecraft Database?. But its weird becouse he can't use the spell on me too, i have bought Minecraft. We are both having the same permissions and stuff too.
When i check the config, then all spells that i tried were having Target-Players: True and some that i tested were Target-Players: False.
Please, i need help. Can somebody please give me a clue?
Note: I am using Minecraft 1.2.5 R1.0 as Craftbukkit and 1.2.5 as Minecraft. And i am using PermissionsEx as Permissions plug-in.
-
View User Profile
-
Send Message
Posted Jun 1, 2012I have a question: I have Magicspells on my server, and everytime someone loggs in that person knows ALL the spells, even though I have in the permissions the selected spells. And they are able to learn and cast spells they shouldn't. I have them in groups and I'm using the permissions of a selected group of spells. But people from group 1 are able to cast/learn the spells from group 2??
-
View User Profile
-
Send Message
Posted Jun 1, 2012@deleted_6837836
Think you have no permission to create one then.
Not sure though never used it.
But that's what default will happen with signs when you got no permissions.
so guess it's also in your situation.
-
View User Profile
-
Send Message
Posted Jun 1, 2012For some reason, MagicSpellsShop doesn't work. When I place a sign with the [SPELL SHOP] (configured it that way) and info, the content in the sign simply disappears. Even when removing all other plugins (except for magicspells, vault, iconomy, and magicspelllsshop). Even when updating all the plugins + craftbukkit itself. There's no error message which is rather strange too. Help?
-
View User Profile
-
Send Message
Posted May 30, 2012My spells wont damage anyone , any guess?
-
View User Profile
-
Send Message
Posted May 30, 2012How do you make it so when you click a item it trows a potion.
Not that it add the potion effect just to the player
but so it trows it and so it also give effect to nearby players
and so u hear the potion sound like splash potions and see effect etc etc.
EDIT: Fixed it with multiple spells and effects and works fine now.
-
View User Profile
-
Send Message
Posted May 29, 2012@nisovin
Great!! :) Found it completely misread that option.
Thanks a lot now i can finish it :)
Btw for the armor would it be hard to make a option that just set the armor instead of temporary give it?
If not i will create something for it.
-
View User Profile
-
Send Message
Posted May 29, 2012@Dinastya
The bPermission commands do not support temporary permissions, unfortunately. However, please read the external command page, there is already an option to run the commands on the command line.
-
View User Profile
-
Send Message
Posted May 29, 2012@rurikar
But it's not giving temporary permissions to switch groups.
It give 3 times a bpermissions error with no permissions.
How would talking fix this?
Like the commands are already runned so it already failed with updating there groups.
Players start in group user and then they talk and they are user.
But then as soon as they use a spell they should change groups.
I know your the creator of DVZ and your probably already noticed int he pastebin that it's for DVZ hope you don't mind i will give credits to you.
But making a complete custom version with other classes/monsters etc.
But yeah i have everything working now expect the group changing.
-
View User Profile
-
Send Message
Posted May 29, 2012@Dinastya
Have people talk in chat after then change groups.
-
View User Profile
-
Send Message
Posted May 28, 2012@nisovin
Thanks for your respond.
I have tried what you said and i was be able to load and paste now.
But still a lot things aren't working as example /top from essentials and /setwarp.
While /item from essentials works fine.
And also bpermissions commands aren't working it gives lots of warnings that it can't be used.
Here my setup of some spells http://pastebin.com/UZ7hNcz5
Hope you have another idea what can be wrong i really hope this can work fine :D
Also it might be a good feature to add command-to-execute-console: to ExternalCommandSpell
That way we can set up a list of commands that get runned from console if permissions fail.
EDIT:
Got all from the portal to work :) Added PluginPermissionsResolver to the enabled list and then all worked. But the bpermissions group changing still wont work i tried all other combinations possible with the resolver but none seem to work. If you could get the console command to work in this situation it would fix everything. but if you have a other solution i'm also happy :)
-
View User Profile
-
Send Message
Posted May 28, 2012@Dinastya
Try this:
Open the wepif.yml file in your server's root folder. In the section under resolvers, remove all of the entries except DinnerPermsResolver. Then reload and see if they work.