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

    KuroSnow

    You. Are freaking awesome. =) Is there anything you can't do? =D

    So, I know i've made a lot of requests + suggestions, but I have three more for the idea box:

    1) Spells that require a reagent to cast, but do not consume the reagent,
    2) An armor spell that grants armor value for the duration,
    and
    3) A haste spell that makes you run faster.

    =) Keep up the amazing!

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

    Dae Fenris

    It's working now! It was the indentation. I didn't realize it was under the spell indentation. Thanks!
     
  4. Offline

    Abengoshis

    How do I, for example, make a spellbook with the spell "Blink" on a bookcase. I look at the bookcase and type /cast spellbook blink and it says "You can't create a spellbook with that spell".

    EDIT: Never mind, figured it out. I'm new to permissions...
     
  5. Offline

    KuroSnow

    So, I can't find lifewalk in the config file... =/
     
  6. Offline

    nisovin

    I forgot to put it in. It's in the link in the original post though.
     
  7. Offline

    kahlilnc

    Can you add snare spell. Grabs target and pulls closer. Maybe with a little stun.
     
  8. Offline

    xDice

    how can i switch off the explosion of fireball?
     
  9. Offline

    Darkvoltage3

    where do you access the config for the new spells and the buff spells?
     
  10. Offline

    nisovin

    From the original post.
     
  11. Offline

    Darkvoltage3

    what original post?

    never mind i found 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

    solarcloud7

    Cant wait for Stonevision!
     
  13. Offline

    nisovin

    The wait is over!

    Version 0.6 released! New spells! Bug fixes! Plus, an attempt to make certain spells play nicely with other plugins. The combust, explode, fireball, firenova, flamewalk, lightning, and volley spells should now obey PvP restrictions. The lightning spell has received several new options to make this work.
     
  14. Awesome update, thanks!
     
  15. Offline

    Hagon94

    EDIT: Ignore my previous message, I was too stupid to read the ENTIRE post :p
    Great plugin! When my server makes it big, this will definately be an awesome addition to the server.
     
  16. Request:

    You made teach/forget work in console. My next request would be to make "spellbook" work in the console, but with coordinates.

    "cast spellbook spellname x,y,z" for example. Would be great!

    It could then check if there's a bookshelf there, albeit not required for me.

    ===

    Edit, a command to "reload" the books file would also work :)
     
  17. Offline

    Malber

    Hi, i am not very much into this mod, but i have a problem. When i try to cast a spell, it just says that i do not have the required reagents. Why is this? I hope this is not a too stupid question.. :)
     
  18. Offline

    Abengoshis

    Telekinesis appears to be broken for me. :S It casts the spell but the button doesn't switch.
    EDIT: Never mind, it just appears to be quite laggy...
     
  19. Offline

    nisovin

    That would be because that's how the plugin works. Have you read the entire first post? And looked through the config file?
    It also doesn't work very well. I haven't really looked into how to make it work correctly.
     
  20. Offline

    Abengoshis

    It is a great idea though. I have a wizards tower and the only way to get in is to press a button you can't reach. xD
     
  21. Offline

    Malber

    Thanks a lot, I have only watched videos with admins playing, so I did not know that it costed anything. :)
     
  22. Offline

    nickpicks

    Hello,

    is it possible that only user permissions are allowed and not group permissions?
    All group permissions i added got completly ignored. Only user permissions worked
     
  23. Offline

    Makke288

    Hi em when i cast a spell it stands=you do not have the required reagents for that spells plz help :(
     
  24. Offline

    nisovin

    Group permissions should work fine. This plugin doesn't do anything special with groups at all.
    You should read the whole first post. It explains a lot.
     
  25. Offline

    KuroSnow

    You. Are a god. Every time I get the new version set up and settled in, you come up with another one that ROCKS MY WORLD. =D

    So, here's a question for you. Is it possible to have a version of the invulnerability spell or something, that's more like an "armor" spell, in that instead of negating all damage, it reduces damage? =)

    Many thanks mate. My players love you =)
     
  26. Offline

    MojoManagement

    Any chance to disable world-fireball-block-dmg???
     
  27. Bug report:

    Code:
    14:48:40 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'c' in plugin MagicSpells v0.5
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:287)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:712)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:678)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:671)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
            at com.nisovin.MagicSpells.Spells.BlinkSpell.castSpell(BlinkSpell.java:57)
            at com.nisovin.MagicSpells.Spell.cast(Spell.java:92)
            at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:206)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    
     
  28. Offline

    Rpa;otj

    Is there a possibility of configuring the damage on the fireball spell? It only hits for 1.5 hearts on my server and I was trying to make my new class a glass cannon with about 3 times that damage on fireball! Thanks for any response!
     
  29. Offline

    Owenfitz

    my brother is starting a magic shop on my server. he wants to sell items that can be used once. obviously he would use the bind spell but we don't quite understand how it works. could someone please helps me by posting a tutorial with the basics of binding, how to set it to 1 cast, how to do it in bulk(many items at once or fast). And just a couple questions. does the binded item change names to indicate it is binded? And can it be set so the item will be deleted after being used
     
  30. Offline

    nisovin

    Unfortunately, while this sounds like an awesome idea, the binding doesn't work like that. Binding just binds the spell to a generic item type for the player doing the binding. It doesn't allow it to be sold with the binding intact, the item is unchanged.

    I don't think there's a way to do what you're wanting with the way the game works right now, but I'll think on it.
     
  31. Offline

    Owenfitz

    ok thanks anyway
     

Share This Page