Inactive [FUN] MagicSpells - Add magic to your server

Discussion in 'Inactive/Unsupported Plugins' started by nisovin, May 8, 2011.

  1. Offline

    nisovin

    MagicSpells - Add magic to your server!

    View the plugin on BukkitDev!

    MagicSpells is a plugin that creates 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. Each spell can be assigned customized reagent (item) costs, cooldowns. durations, ranges, and so on. Spells can be cast by using the /cast command, swinging a wand, or both. It's all customizable.

    Download

    Important: Read before downloading! There is a lot of information in this post. I know, it's a lot to read. However, I spent quite a while writing it all in what I hope is a clear, informative, and understandable manner. So, please, read the entire post before asking a question. Chances are, the answer is already here. I also suggest taking a nice look through the configuration file. Is it a massive file? Yes, it is. But if your question is "can I do this?" then a look through the configuration options would be a good idea.
    Plugin Manual

    There is a lot of useful information in the plugin manual, which can be found here:

    MagicSpells Plugin Manual

    Usage

    Spells can be cast either by using the /cast command or by using a wand item. To cast a spell, a player must first know the spell. Server operators know all spells by default. They can teach spells to other players by using the teach spell. For example, to teach bob the blink spell, an operator would type: /cast teach bob blink.

    Bob can now use 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.

    Spells

    View Spell List

    Configuration

    The zip file contains a config.yml file that should go into the MagicSpells folder within your plugins directory. The default configuration has appropriate spell costs, durations, and messages for each spell. However, you will most likely want to customize this to fit your server.

    You can modify the config.yml file directly, or you can choose to leave it intact and instead create an alternate config file, by default altConfig.yml. Any configuration values in this alternate file will override the values in the main config file.

    There are some general configuration options that apply to all spells, as well as options for each individual spell. Important: The default configuration file does NOT contain all config options, it is just an example. Just because a config option isn't in the default doesn't mean it is not available. For example, it's possible to add a duration to any buff spell, even though the default configuration file does not have a duration on all buff spells.

    To reload the configuration, simply cast the fake reload spell (/cast reload). Only server operators can do this (it can also be done from the command line).

    Please see the plugin manual for information about all of the various configuration options.

    Frequently Asked Questions

    Help me! Why isn't it working?
    If - after reading through this entire post - you can't figure out why it isn't working, please take the time to submit a proper help request. You can post your request either on in this thread or in the MagicSpells forum. You should provide the following information:
    • The CraftBukkit build you're using.
    • The MagicSpells version you're using.
    • Which permissions plugin (if any) you are using.
    • The error in the console, if there is one.
    • Your config file(s). Please don't post them directly , use a service like http://pastebin.com and just post the link.
    It says I need reagents whenever I cast a spell! Where do I get reagents?
    One of the main ideas behind this plugin is to give players cool abilities, but with a cost. The reagents are the spell's cost. This can be configured in the config.yml file individually for every spell. The config option name is "cost". You can also add your name to the list of exceptions in the general.cast-for-free option.

    Can I unbind spells from items?
    Yes. Simply use the bind spell to bind the spell to your empty hand, and it will no longer be bound to any item.

    Why can't my players cast spells?
    Why does it say "You cannot cast that spell right now" when I try to cast any spell?
    If you're using Permissions, please make sure your permissions are all set up correctly. Look in the Configuration: Permissions section for more information. Also double check and make sure your use-permissions config option is set to true.

    What are the Permissions nodes?
    The nodes are listed on the permissions information page in the plugin manual.

    I can't get my Permissions working! Can you help me?
    Remember that all nodes use the "real" spell name, rather than the name you define with the "name" option. If you cannot get your permissions working, feel free to ask for help. Make sure you specify which permissions plugin you are using, and all of the items from the "Help Me!" question above.

    Will you add iConomy (or another economy plugin) support?
    With the addition of the 'tome' and 'scroll' spells, I currently have no plans to add special support for an economy plugin. You should be able to create tomes and scrolls and sell them using any plugin that allows you to sell items, thus allowing you to sell spells.

    I have a great spell idea! Will you add it?
    Please tell me about it by submitting a ticket! I can't guarantee that I'll make it, but if it's a feasible idea, I'll definitely consider it. I'm always looking for new spell ideas. Note that I may not respond directly to your idea, but I always read the suggestions.

    I've found a bug! What do I do?
    Please submit a ticket! Please include your CraftBukkit build number, any error in the console, the situation that caused the error (if known), and if you think it's applicable, the list of plugins you use.

    Change Log

    View full change log



    Donate: Always gotta have a donate link for those who love their plugin authors.
     
  2. Offline

    nisovin

    Comma.
     
  3. Offline

    polakman

    thx nis, and my suggestion what about adding arrow type var to volley spell :)
     
  4. Offline

    nisovin

    Version 2.3 is released! It has some bug fixes, some explode improvements, and some new bind features. MagicSpellsShop has also been updated, and is now capable of selling scrolls!
    You mean like for fire arrows?
     
  5. Offline

    polakman

    for fire other items as arrow

    then it could be like quaffle for quidditch

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  6. Offline

    QBcrusher

    hi, a bunch of spells on my server do damage to people even when pvp is off. is there anyway to fix this?
     
  7. Offline

    shanko

    I think spells bound to items like leaves are broken

    my spells bound to leaves and stickypistons wont work on those items
     
  8. Offline

    nisovin

    Have you added leaves to the ignore-cast-item-durability list?
     
  9. Offline

    shanko

    Yup, theyve always been on it and worked on 2.2, I took them off just to test and it wouldn't work. I even took them off and set the cast item to 18:0 and it wouldn't work with those leaves either
     
  10. Offline

    nisovin

    Dang, you're right, I broked it. Try this version:

    http://nisovin.com/magicspells/MagicSpells-v2.3-fix.jar
     
  11. Offline

    shanko

    actually it seems no items on the durability list are working, I think that function of the plugin is broken

    edit:nvm lol we have a habit of posting at the same time

    yep its fixed now :D Thanks

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  12. Offline

    Ffej720

    Hi there, this is one of my favorite one but just one question: is it possible to know which spell a scoll have been set? like I make a blink scroll but it stay named 'paper' I would like if the name could change to the spell name or show the spell in a message when left clicking with the paper, so is there a way to do it or a possible update with that? Thx again for this system I love it :) cya
     
  13. Offline

    nisovin

    The scroll type should show up in chat when you scroll over it in the hotbar.
     
  14. Offline

    The.Colonies

    Hey, your plug-in seems great and I am currently trying to implement it into my up and coming server. However when placed into my plugins it doesnt like to run for whatever reason. This is the error im getting:
    [​IMG]
    it you cant see that, it is also attached to this. Thanks for any help and if you need more information from me and about my server to help just let me know.
    Thanks Again for Everything!
    -much appreciated (future) plugin user.
     

    Attached Files:

  15. Offline

    nisovin

    Looks like it's probably a corrupt file. Try downloading it again.
     
  16. Offline

    The.Colonies

    Hmm, well i appreciate you're quick reply, but even after re-downloading im getting same severe report :/ Im guessing i do what i do with all plugins i've done that all work, i've just taken the jar and placed it in with the plugin folder. Which is what I did with the jar for this, but is there something else I need to do? -again thanks for putting time in to help out it is much appreciated!

    NVM I got it seems awesome! thanks for help, just one more question.. things like forcetoss that only work for mobs, is there a way to make it used against other players too? we plan on doing a pvp server so things like that would be awesome

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  17. Offline

    shanko

    NVM I got it seems awesome! thanks for help, just one more question.. things like forcetoss that only work for mobs, is there a way to make it used against other players too? we plan on doing a pvp server so things like that would be awesome


    check target-players: true


    Also im so stoke for the next update, I wonder what shadowstep is and if its any similiar to the one I made on my server :p

    I still have the first version of Magic Spells Shop, if I upgrade will I have to remake all my spell shop signs? Also if I do, what do you put for the currency part to make it charge economy money and not items?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  18. Offline

    nisovin

    You won't have to recreate your shops. And you can set up your currencies yourself to be how you want. If you don't specify any, it will default to using Vault.
     
  19. Offline

    shanko

    awesome! :D
     
  20. Offline

    MagikarpLOL123

    Does it work with PermissionsBukkit?
     
  21. Offline

    shanko

    Yup! I think its even tested on it if I remember right

    not sure what to make out of these errors

    http://pastebin.com/UqGCfxj3

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  22. Offline

    nisovin

    I'm not sure what they are either. They don't seem to be caused by MagicSpells. Did you change anything recently, like update the server version? And what versions of everything are you running?
     
  23. Offline

    Brisos

    TLDR: I am looking for something to allow this mod's spells to be rewarded to players for doing things in game (exploring, looting chests, killing monsters, mining rare ores to trade for spells or even other, compatible adventure-focused mods) etc...). Thanks for the great mod!

    Hello, and thank you for this mod! I host a server for myself and my kid on Multiplay and recently decided to spice things up with mods. Since multiplay offers an easy installation system for mods (including bukkit and Magic Spells) this is the first mod I installed.

    My purpose is to make the game more interesting for my kid, especially. She loves Minecraft but is slowly getting bored as we mostly have done a bit of everything the game offers. Building incredible replicas of Minas tirith is not something a 6year old is much into. Her favorite part of the game is exploring and getting rewarded for it. She loves building up our "house" as well but cannot focus on that part of the game very long. More adventuring options is what we need. So I have some noob questions I hope someone patient will be able to answer:

    1)Does your mod offer a way to reward spells to players for exploring dungeons from a mod like Catacombs (I'm going to ask the question in that thread as well I think)? Is it possible, for example, to have a dungeon chest randomly contain a spell-wand or scroll?

    2)People above mention the Magic Shop - is that what is sounds like? A store that sells spells for, say, gold nuggets and such? That could motivate my kid to go mining and would be quite awesome.

    3)Would the author or anyone knowledgeable be able to recommend a mod(s) that works well with or complements this, in SMP? Catacombs could be an example, if it allows MagicSpells as chest rewards.

    Thanks again for the mod!

    **edit**
    Catacombs uses Bukkit's "Material" class for chest loot customization. Does MagicSpells use that for spell books as well?
     
  24. Offline

    shanko

    I have Magicspells 2.3.1
    and MagicSpellsShop 1.0

    but It seems to have happened when my server was exploding (crashing) so I'm guessing lots of weird things can happen then

    MagicSpells is very flexible and can easily tie in with other plugins to provide a reward System. The shop is amazing and does just what you want. The only thing is you would have to set the shop up for your kid, or else if he tried to set it up he can put any prices he wants for every spell (which would ruin the progression thing lol)


    Edit: One Idea I had while playing with the plugin, was to make the teach spell cost 1 gold block or 1 diamond block depending on how good the spell is. :]

    On the latest MagicSpellShop and MagicSpells if a player doesn't have enough econony money to buy a spell it gives this error

    http://pastebin.com/4TVM3fhw

    edit: scratch that, it gives the error even if I have enough money and wont teach the spell, This is on an already existing sign btw with the format

    [SPELL SHOP]
    cost
    spell-name
    anythingyouwant(my description)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  25. Offline

    nisovin

    You have Vault installed? Also, your cost and spellname lines seem to be mixed up.

    Edit: Actually, can I see your shop config file?
     
  26. Offline

    Brisos

    Does anyone have tips on how to build a decent looking shop to have the signs/stores in? My new plan is to let my kid get golden apples from Catacombs and use those and the cash she gets as currency. The shop will be small with 2-3 spell choices probably, to start with. Maybe combining the signs with bookshelves might look better.

    Any advice?
     
  27. Offline

    rejectdeath

    On my server, I go by default permissinos/op settings. Occasionally I'll need players to help with moderating and op them. As an op they know all spells, which is ok. But later when I de-op them, they still know all the spells! I would really appreciate it if you could fix this, or explain to me how I can change a setting or something to make this not happen. Thanks!
    EDIT: Hey by the way, the tome spell isn't working. According to the mod, that spell doesn't exist. I really need it to work so I can sell tomes using a shop mod!
     
  28. Offline

    shanko

    Yeah i mixed it up in my post, they are in the right order in game

    heres my config

    http://pastebin.com/wRx5ZzSu

    Ive posted this in NoLagg topic but both plugins together make the explosion spell and any kind of its variants not cost any reagents or need any cooldown, producing lots of lag on the server since players can create explosions at will wherever they want and as quickly as they can click.

    http://forums.bukkit.org/threads/fi...-common-lag-causes-on-your-server-1846.36986/

    Also my machinegun spell would be amazing if there could be some way to disable the fire from small fireballs =/ maybe if we could change it to normal snowballs that still do damage. I saw the projectile spell in the next update but not sure what that does! Im hopeful

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  29. Offline

    Brisos

    I am having problems with the Tome spell as well. It is not enabled by default in the config.yml file. If I try to "enable" it, then everyone on the server, including admins/OPs, lose all their spells. I've tried overriding permission in permbukkit to no avail.

    Any clue?
     
  30. Offline

    nisovin

    http://dev.bukkit.org/server-mods/magicspells/pages/spell-list/
     
  31. Offline

    Kyeria

    I have a question/suggestion here. Is there anyway possible you could make it so that OP's need MP/Reagents to cast spells and have cool downs through an option in the magic spells config.yml file? Such as, make it so that OP's permissions on those are set to false by default and then give us a true/false command? Something like this;

    default-OP-perms-magicspells.noreagents-magicspells.nocooldown false: true

    I realize that you've said that it's possible to do this through permissions, but I have been fighting with BPermissions for weeks trying to get this to work and it makes absolutely no sense to me. The few times I've gotten it to work, all my other commands eventually stop working and tell me that I don't have permission to use them and or the permissions just default and I have to reset everything back up.

    I absolutely love this plugin and have so much fun with it, but I can't figure out permissions and it's really starting to frustrate me. :(

    If you could add this as an option I would appreciate it so much and be grateful for all eternity!
     
    blab140 likes this.

Share This Page