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

    airsoftinva

    Aha! thanks so much. Can't believe i missed that
     
  3. Offline

    monkeymii

    some reason setting it to ops not having all spells.. seems to still give me all the spells ill upload the whole magic spells folder please fix this D: my txt file in spellbooks is monkeymii

    I seem to be getting a random selection fot he spells and even volley isnt included.

    Also when i change the cast-for-free-no-cooldowns to true
    i still have cooldowns

    <Edit by Moderator: Redacted filesmelt url>

    ==EDIT==
    My blink copies also seem to be messing up and not working properly.
     
    Last edited by a moderator: Feb 20, 2019
  4. Offline

    nisovin

    Updated to version 0.4.1. Mostly bug fixes, no new spells.
    Thanks, this should be fixed now.
    This means you have used a tab in your config file. You must only use spaces. I'll also point out you spelled gills wrong.
    The no spells for ops option works for me...you do have a bunch of spells in your spellbook though. You also might have some spells granted by permissions. The no cooldown option was added to the config but not implemented, this has been added to 0.4.1. I tested your blink spells and they seem to be working fine. Though I'll point out that the short one is only 5 blocks, which is practically worthless, and the other two are both 20 blocks.

    I'd also like to mention that if all you want to do is change the spell's name, you don't have to make a spell copy. You can just set the spell's name property.
     
    Last edited by a moderator: Feb 20, 2019
  5. Offline

    anon

    Cant wait for fire stuff! Specially now that it was kinda of nerfed.
     
  6. Offline

    Shad

    I'm getting some funky stuff going on with the plugin after a flawless time. For some reason no one is able to use /cast list (or any spells for that matter) including operators and admins. I started messing around trying to find what was causing it. I went to the last build of craftbukkit and gave my self op with only magicspells running and it still will not let me /cast list. Do you know what's up? I don't get any errors either.

    Thanks :)
     
  7. Request:

    Make "forget" and "teach" work in the server console. "cast" actually gives feedback in console, but doesn't work otherwise. Would love if you can make teach and forget to work!

    Alternatively, a console command that reloads the spellbooks from file, then I can just edit those, then reload ;)
     
  8. Offline

    monkeymii

    also as this hasnt been fixed or replied to earlier ill post again:
    i seem to get this in my logs:
    Code:
    2011-05-27 10:19:13 [SEVERE] MagicSpells: Error loading spellbooks
    2011-05-27 10:19:13 [INFO] MagicSpells v0.4 loaded!
    obviously its the severe error im talking about but it seems like its a random error as the spellbooks do work
     
  9. Offline

    Elfsovereign

    I get the same error as you Monkeymii, is that something I should be concerned about?
     
  10. Offline

    Stroved

    We have factions on our server, and we just moved from my laptop to our new server. I moved everything over fine, but people are having trouble using their magic spells, but the OP's aren't, we can use them fine.

    Now the way that we let users have their spells is like this:
    This has worked perfectly before, and then we moved to the new server and UPDATED to the newest version of this ( we were on 0.2 before, now we are on 0.4.1) and they can't use their spells when they login. I have to give them the spells manually.

    Am I just doing stuff wrong or is this a bug?
     
  11. Offline

    monkeymii

    meh... everything seems fine so if it iw with you i guess we can simply ignore it right now
     
  12. Offline

    Monkah

    does with work with the test build?
     
  13. Offline

    Kainzo

    Herocract Coding and HeroMagic will be combining forces with MagicSpells - so expect some changes and one will go away.
     
  14. Offline

    iRageU95

    HELP! It keeps saying "Error loading spellbook"
     
  15. nisovin, there seems to be an issue with forcepush, used on players, likely. Have at least one log entry where server instantly crashed after using it, and other players have also reported they used it right before a server crash.

    Hope you can look into that.

    I hope the cooperation with HeroCraft does not change this plugin in any major way, as it works very well for what it should do, and it was the original in hMod. If anything, they should be contributing code to you...
     
  16. Offline

    Kainzo

    Not to derail this thread anymore than it needs to be - HeroMagic was a spiritual successor of MagicSpells - we've had it and been using it for several months. The base framework of MagicSpells will be kept as is on this plugin - the permission system, spells. We aim to add additional things, commandless binds - etc. His methods in that respect are better than what we can accomplish under our current load.

    Anyways! I'm very happy to see nisovin back coding for MC :)
     
  17. Offline

    Hex

    Could you make all the spells accessible with the stick right clicking? So far, only some spells are accessible with the stick right clicking function.
     
  18. Offline

    nisovin

    Are there any errors that show up in the console? If there are, I'd love to see it.

    This error is actually referring to the bookcases created by the spellbook spell. If you don't have any, it throws the error. It can be ignored. In the next version it won't throw this error.
    Sounds like a config issue. Hard to say though.
    The permissions code hasn't changed since I put it in, so I've have to assume this is an issue with your configuration.
    I've tested this with build 816 and everything seems to be working fine.
     
  19. No errors thrown, people mentioned it only happens when you use it against players, not sure though. It surely does not have a 100% occurance rate.
     
  20. Offline

    kahlilnc

    Can you make explosion spell, compatible with worldguard. Because I have world guard explosion block damage off and the explode spell destroyed blocks.

    What is the 'health bar' option? What does it do when I enable it. Or disable?

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

    KuroSnow

    Thank you so much for the awesome updates, and for listening to our greedy requests. =) This has rapidly turned from an incredible plugin to an incrediculous one! lol =)

    Could I also suggest maybe have it so that you can set which spells players may teach, and which ones they can't? Like for example, Have certain players be "masters" of certain spells, that they may pass their knowledge of spells onto others. But I don't want them being able to pass on all the spells they know, just certain ones.

    Another idea is, is there a way to, kinda mix and match spell effects? I guess an example would be combust and explosion, to create like a fireball effect that leaves a small explosion crater, and sets mobs / objects in a radius on fire. Another idea would be volley and entomb, a volley of arrows that encase their victims. I dunno, just kinda runnin with the wild ideas =)

    Keep up the epic awesome! =D
     
  22. Offline

    Hex

    How come my freeze spell doesnt work, but my crater spell does?
    Code:
        freeze:
            description: Encase an enemy in glass.
            cast-item: 280
            cooldown: 5
            range: 15
            precision: 15
            target-players: false
            tomb-block-type: 80
            tomb-duration: 20
            cost:
                - 331 3
                - 332 1
            str-cost: 3 redstone dust and 1 glass
            str-no-target: No target found.
        crater:
            description: Create a huge explosion.
            explosion-size: 8
            cast-item: 283
            cooldown: 30
            range: 25
            explosion-size: 4
            backfire-chance: 3
            cost:
                - 331 5
                - 289 1
            str-cost: 5 redstone dust and 1 gunpowder
            str-no-target: You cannot create an explosion there.
            str-cast-self: Boom!
            str-cast-others: Boom!
    spellcopies:
        - freeze=entomb
        - crater=explode
     
  23. Offline

    ClonedInsanity

    It doesn't seem to rename custom entomb spells, if you scroll through all the spells bound to 280 you should have two copies of entomb.
     
  24. Offline

    Wakko

    Code:
    [SEVERE] MagicSpells: Error loading spellbooks
    [INFO] MagicSpells v0.4.1 loaded!
    is this important or can i ignore this?
     
  25. Offline

    Hex

    It does, however both of them are glass traps. (I want an snow one)
     
  26. Offline

    ClonedInsanity

    Code:
    freeze:
            name: Freeze
            description: Encase an enemy in snow.
            cast-item: 280
            cooldown: 10
            range: 15
            precision: 15
            target-players: false
            tomb-block-type: 80
            tomb-duration: 30
            cost:
                - 331 10
            str-cost: 10 redstone dust
            str-no-target: No target found.
    Thats my freeze, works fine for me save for the wrong name.
     
  27. Offline

    MeinerHosen

    I'm liking this plugin already and I've only just configured the files.

    Looking forward to using this :D
     
  28. Offline

    Hex

    Is to possible to make the volley spell toss out snowballs instead? Instead of just arrows.
     
  29. Offline

    MeinerHosen

    I like this idea:D
     
  30. Offline

    Hex

    Can anyone gimme some custom made spells? I cant think of any for my server. :)
     
  31. Offline

    MeinerHosen

    I'd say play Elder Scrolls for awhile, that might get your creativity flowing :p
     

Share This Page