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

    wooden_dinosaur

    Thank you for this plugin, nisovin. It is truly a versatile solution to many ideas I have had for running a server, and I LOVE the amount of configuration possible. I have in the last week of configuration though begun experiencing a problem which I am in the process of chasing down.
    I am using Craftbukkit 1060, magicspells 1.1 (i believe it was happening in 1.04 as well) , BukkitPermissions with the superperms bridge as well, and I am getting no errors in the console.
    What I am doing is creating multiple copies of spells with different cast-item bindings, but all but 2 of these spells are binding to the stick (id 280).
    I will be in the process over the course of the next couple days seeing if another plugin is conflicting with it, causing the problem. You are probably going to tell me to paste-bin the config, and i will. I was hoping that anyone would be able to throw an idea out before i did so in order to steer me to the possible problem.

    Thanks again for an outstanding plugin!

    Edit: here is my pastebin:
    http://pastebin.com/GtR05m5r
     
  3. Offline

    polakman

  4. Offline

    SayWhat1

    I don't use permissions. Is there a way to set it so that Ops have to use reagents and obey cooldowns?
     
  5. Offline

    nisovin

    You could modify the plugin.yml file in the jar. I'm not planning on changing the defaults, most servers don't make tons of players ops.
     
  6. Offline

    SayWhat1

    Thanks for the quick reply. That did the trick.

    Code:
    general:
        debug: false
        alt-config: altConfig.yml
        str-cast-usage: |
            Usage: /cast <spell>. 
            Use /cast list to see a list of spells.
        str-unknown-spell: You do not know a spell with that name.
        str-spell-change: You are now using the %s spell.
        str-spell-change-empty: You are no longer using a spell.
        str-on-cooldown: That spell is on cooldown (%c seconds remaining).
        str-missing-reagents: You do not have the required reagents for that spell.
        str-cant-cast: You can't cast that spell right now.
        str-no-magic-zone: An anti-magic aura makes your spell fizzle.
        str-console-name: Admin
        text-color: 3
        broadcast-range: 20
        allow-cycle-to-no-spell: true
        ops-have-all-spells: true
        cast-for-free:
        cast-no-cooldown:
        default-all-perms-false: false
        ignore-default-bindings: false
        mana:
            enable-mana-bars: true
            max-mana: 100
            mana-bar-prefix: "Mana:"
            mana-bar-size: 35
            color-full: 10
            color-empty: 0
            regen-tick-seconds: 5
            regen-percent: 5
            show-mana-on-use: true
            show-mana-on-regen: false
            show-mana-on-wood-tool: true
            tool-slot: 8
            mana-potion-cooldown: 30
            str-mana-potion-on-cooldown: You cannot use another mana potion yet (%c seconds).
            mana-potions:
                - 351:4 100
                - 348 60
                - 331 30
            
    spells:
    
        list:
            name: list
            description: List all the spells you know.
            only-show-castable-spells: false
            reload-granted-spells: false
            str-prefix: "Known spells:"
            str-no-spells: You do not know any spells.
        help:
            name: help
            description: Get information about a specified spell.
            str-usage: "Usage: /cast help <spell>"
            str-no-spell: You do not know a spell by that name.
            str-desc-line: "%s - %d"
            str-cost-line: "Cost: %c"
        teach:
            name: teach
            description: Teach a spell to another player.
            require-known-spell: true
            str-usage: "Usage: /cast teach <target> <spell>"
            str-no-target: No such player.
            str-no-spell: You do not know a spell by that name.
            str-cant-teach: You can't teach that spell.
            str-cant-learn: That person cannot learn that spell.
            str-cast-self: You have taught %t the %s spell.
            str-cast-target: "%a has taught you the %s spell."
        forget:
            name: forget
            description: Make a player forget a spell.
            str-usage: "Usage: /cast forget <target> <spell>"
            str-no-target: No such player.
            str-no-spell: You do not know a spell by that name.
            str-doesnt-know: That person does not know that spell.
            str-cast-self: You made %t forget the %s spell.
            str-cast-target: "%a has made you forget the %s spell."
        spellbook:
            name: spellbook
            description: Create a spellbook that teaches a spell.
            default-uses: -1
            destroy-when-used-up: false
            str-use: "Usage: /cast spellbook <spell> [uses]"
            str-cast-self: You have created a spellbook with the %s spell.
            str-no-spell: You do not know a spell by that name.
            str-cant-teach: You can't create a spellbook with that spell.
            str-no-target: You must target a bookcase to create a spellbook.
            str-has-spellbook: That bookcase already has a spellbook.
            str-cant-destroy: You cannot destroy a bookcase with a spellbook.
            str-cant-learn: You cannot learn the spell in this spellbook.
            str-already-known: You already know the %s spell.
            str-learned: You have learned the %s spell!
        bind:
            name: bind
            enable: true
            description: Binds a spell to a wand item.
            str-cast-self: You have successfully bound the %s spell to the item you are holding.
            str-usage: You must specify a spell name and hold an item in your hand.
            str-no-spell: You do not know a spell by that name.
            str-cant-bind: That spell cannot be bound to an item.
    
        blink:
            name: blink
            description: Teleport a short distance.
            cast-item: 35
            cooldown: 8
            range: 25
            smoke-trail: true
            cost:
                - mana 5
            str-cost: 10 mana
            str-cast-self: You blink away!
            str-cast-others: "%a blinks away!"
            str-cant-blink: You cannot blink there.
        build:
            name: build
            enabled: false
            description: Build blocks from far away.
            cast-item: 294
            cooldown: 2
            range: 25
            slot: 0
            consume-block: true
            show-effect: true
            check-plugins: true
            allowed-types: 1,2,3,4,5,12,13,17,20,22,24,35,41,42,43,44,45,47,48,49,50,53,57,65,67,80,85,87,88,89,91,92
            cost:
                - mana 5
            str-invalid-block: You can't build that block.
            str-cant-build: You can't build there.
        carpet:
            name: carpet
            enabled: false
            description: Lets you walk on a platform of glass.
            cast-item: 317
            cooldown: 30
            cancel-on-logout: true
            cancel-on-teleport: true
            size: 2
            cost:
                - 331 5
                - 288 5
            use-cost:
                - 288 1
            use-cost-interval: 50
            str-cost: 5 redstone, 5 feathers, plus 1 feather every 50 blocks
            str-cast-self: You are now walking on air!
            str-cast-others: "%a is now walking on air!"
            str-fade: You are no longer walking on air.
        combust:
            name: combust
            description: Set a target on fire.
            cast-item: 280
            cooldown: 10
            range: 20
            obey-los: true
            fire-ticks: 100
            target-players: true
            check-plugins: true
            cost:
                - mana 10
            str-cost: 10 mana
            str-no-target: No target found.
        confusion:
            name: confusion
            description: Cause nearby monsters to attack each other.
            cast-item: 35
            cooldown: 30
            range: 20
            cost:
                - mana 10
            str-cost: 10 mana
            str-cast-self: You cause nearby monsters to become confused and attack each other.
            str-cast-others: "%a causes nearby monsters to attack each other."
        disarm:
            name: disarm
            enabled: false
            description: Disarm your opponent.
            cast-item: 283
            cooldown: 15
            range: 20
            disarmable-items:
                - 280
                - 261
                - 267
                - 268
                - 276
                - 283
            disarm-duration: 100
            obey-los: true
            cost:
                - 331 4
            str-cost: 4 redstone dust
            str-no-target: No target found.
            str-invalid-item: Your target could not be disarmed.
            str-cast-self: You have disarmed %t.
            str-cast-target: "%a has disarmed you."
        drainlife:
            name: drainlife
            enabled: false
            description: Drain life from your enemy and give it to you.
            cast-item: 283
            cooldown: 5
            range: 15
            damage: 2
            heal: 2
            animation-speed: 2
            obey-los: true
            target-players: false
            check-plugins: true
            cost:
                - 331 2
            str-cost: 2 redstone dust
            str-cast-self: You drain life from your enemy.
            str-no-target: No target found.
        empower:
            name: empower
            description: Makes your spells more powerful.
            cast-item: 280
            power-multiplier: 2
            cooldown: 120
            duration: 30
            num-uses: -1
            cost:
                - mana 10
            use-cost:
                - mana 5
            use-cost-interval: 1
            str-cost: 10 mana, plus 5 mana for each spell cast
            str-cast-self: You feel yourself glowing with magical energy.
            str-cast-others: "%a begins to glow with magical energy."
            str-fade: You are no longer glowing with magical energy.
        entomb:
            name: entomb
            enabled: false
            description: Encase an enemy in glass.
            cast-item: 280
            cooldown: 5
            range: 15
            obey-los: true
            target-players: false
            tomb-block-type: 20
            tomb-duration: 20
            cost:
                - 331 3
            str-cost: 3 redstone dust
            str-no-target: No target found.
        explode:
            name: explode
            description: Create an explosion.
            cast-item: 280
            cooldown: 30
            range: 25
            explosion-size: 4
            backfire-chance: 3
            check-plugins: true
            cost:
                - mana 20
            str-cost: 20 mana
            str-no-target: You cannot create an explosion there.
            str-cast-self: Boom!
            str-cast-others: Boom!
        fireball:
            name: fireball
            description: Throw a fiery ball of destruction.
            cast-item: 280
            cooldown: 15
            range: 30
            require-entity-target: false
            obey-los: true
            target-players: true
            check-plugins: true
            additional-damage: 0
            no-fire: false
            no-explosion: false
            cost: 
                - mana 20
            str-cost: 20 mana
            str-no-target: You cannot throw a fireball there.
            str-cast-self: You throw a fiery ball of destruction!
            str-cast-others: "%a throws a fiery ball of destruction!"
        firenova:
            name: firenova
            description: Summon an expanding ring of fire.
            cast-item: 280
            cooldown: 10
            range: 5
            tick-speed: 10
            check-plugins: true
            cost:
                - mana 10
            str-cost: 10 mana
            str-cast-self: You summon an expanding ring of fire.
            str-cast-others: "%a summons an expanding ring of fire."
        flamewalk:
            name: flamewalk
            description: Burn your enemies around you as you walk.
            cast-item: 280
            cooldown: 30
            range: 8
            fire-ticks: 100
            tick-interval: 100
            target-players: true
            duration: 120
            cost:
                - mana 10
            use-cost:
                - mana 1
            use-cost-interval: 15
            str-cost: 10 mana, plus 1 mana occasionally
            str-cast-self: You begin to burn your enemies around you.
            str-fade: You are no longer burning your enemies.
        forcepush:
            name: forcepush
            description: Push back your enemies.
            cast-item: 35
            cooldown: 8
            range: 10
            pushback-force: 30
            additional-vertical-force: 15
            max-vertical-force: 20
            target-players: true
            cost:
                - mana 10
            str-cost: 10 mana
            str-cast-self: You push back your enemies!
            str-cast-others: "%a pushes back his enemies."
        forcetoss:
            name: forcetoss
            enabled: false
            description: Magically throw an enemy into the air.
            cast-item: 283
            cooldown: 5
            range: 15
            damage: 0
            horizontal-force: 30
            vertical-force: 15
            obey-los: true
            target-players: false
            check-plugins: true
            cost:
                - 331 2
            str-cost: 2 redstone dust
            str-cast-self: You push back your enemy!
            str-cast-others: "%a pushes back his enemy."
        frostwalk:
            name: frostwalk
            enabled: false
            description: Lets you walk on water.
            cast-item: 317
            size: 2
            leave-frozen: false
            cooldown: 30
            cost:
                - 331 6
            use-cost:
                - 331 1
            use-cost-interval: 50
            str-cost: 6 redstone, plus 1 redstone every 50 blocks
            str-cast-self: You can now walk on water!
            str-cast-others: "%a can now walk on water!"
            str-fade: You can no longer walk on water.
        gate:
            name: gate
            enabled: false
            description: Teleport to spawn.
            can-cast-with-item: false
            world: CURRENT
            coordinates: SPAWN
            use-spell-effect: true
            cost:
                - 331 1
                - 265 1
            str-cost: 1 redstone dust and 1 iron bar
            str-cast-self: You have teleported to spawn.
            str-cast-others: "%a teleports!"
            str-gate-failed: Unable to teleport.
        geyser:
            name: geyser
            description: Create a geyser of water at your enemy's feet.
            cast-item: 35
            range: 20
            damage: 0
            velocity: 10
            animation-speed: 5
            geyser-height: 10
            geyser-type: water
            obey-los: true
            target-players: true
            check-plugins: true
            cost:
                - mana 5
            str-cost: 5 mana
            str-cast-self: You create a geyser at your enemy's feet.
            str-no-target: No target found.
        gills:
            name: gills
            enabled: false
            description: Allows you to breath underwater.
            cast-item: 294
            glass-head-effect: true
            cooldown: 60
            duration: 300
            num-uses: 5
            cost:
                - 331 3
            use-cost:
                - 331 1
            use-cost-interval: 1
            str-cost: 3 redstone dust, plus 1 every few seconds
            str-cast-self: You form gills on your neck!
            str-fade: Your gills disappear.
        heal:
            name: heal
            description: Heals a target player.
            cast-item: 35
            heal-amount: 10
            obey-los: true
            cooldown: 0
            range: 12
            cost:
                - mana 5
                - 38 1
            str-cost: 5 mana, 1 rose
            str-cast-self: You have healed %t.
            str-cast-target: "%a has healed you."
            str-no-target: No target to heal.
            str-max-health: "%t is already at max health."
        invulnerability:
            name: invulnerability
            description: Makes you invulnerable to damage.
            cast-item: 35
            damage-causes:
                - block explosion
                - contact
                - drowning
                - entity attack
                - entity explosion
                - fall
                - fire
                - fire tick
                - lava
                - lightning
                - suffocation
            duration: 60
            cost: 
                - mana 20
            use-cost: 
                - mana 5
            use-cost-interval: 5
            str-cost: 20 mana, plus 5 mana occasionally
            str-cast-self: You feel your skin harden.
            str-cast-others: "%a's skin hardens."
            str-fade: You feel your skin return to normal.
        leap:
            name: leap
            enabled: false
            description: Leap forward.
            cast-item: 280
            forward-velocity: 40
            upward-velocity: 15
            cancel-damage: true
            cooldown: 10
            cost:
                - 331 2
            str-cost: 2 redstone dust
            str-cast-self: You leap forward.
            str-cast-others: "%a leaps forward."
        lifewalk:
            name: lifewalk
            enabled: false
            description: Flowers grow in your footsteps!
            cast-item: 317
            tick-interval: 15
            red-flower-chance: 15
            yellow-flower-chance: 15
            sapling-chance: 5
            tallgrass-chance: 25
            fern-chance: 15
            cost:
                - 331 2
                - 38 1
            use-cost:
                - 331 1
            use-cost-interval: 20
            str-cost: 2 redstone and 1 rose, plus 1 redstone every few seconds
            str-cast-self: Flowers grow in your footsteps!
            str-cast-others: Flowers grow in %a's footsteps!
            str-fade: Flowers no longer grow in your footsteps.
        lightning:
            name: lightning
            description: Call down lightning.
            cast-item: 280
            cooldown: 15
            range: 20
            additional-damage: 0
            no-damage: false
            require-entity-target: false
            obey-los: true
            target-players: false
            check-plugins: true
            cost:
                - mana 10
            str-cost: 10 mana
            str-cast-self: You call down lightning.
            str-cast-others: "%a calls down lightning."
            str-no-target: Unable to find target.
        lightwalk:
            name: lightwalk
            enabled: false
            description: Light your path.
            cast-item: 317
            cost:
                - 331 3
                - 50 3
            use-cost:
                - 331 1
            use-cost-interval: 25
            str-cost: 3 redstone and 3 torches, plus 1 redstone occasionally
            str-cast-self: Light appears at your feet.
            str-fade: The light at your feet goes out.
        mana:
            name: lifetap
            enabled: false
            description: Restores mana at the cost of life.
            cooldown: 3
            cast-item: 280
            mana: 25
            cost:
                - health 4
            str-cost: 2 hearts
            str-cast-self: You restore 25 mana.
        mark:
            name: mark
            enabled: false
            description: Marks your location for later recall.
            cooldown: 43200
            permanent-marks: true
            cost:
                - 331 5
                - 265 5
            str-cost: 5 redstone dust and 5 iron bars
            str-cast-self: You have marked your location.
        minion:
            name: minion
            description: Summons an undead minion to aid you.
            cast-item: 35
            cooldown: 60
            duration: 60
            mob-chances:
                - Zombie 75
                - Skeleton 25
            prevent-sun-burn: true
            target-players: false
            cost:
                - mana 25
            str-cost: 25 mana
            str-cast-self: You summon an undead minion.
            str-cast-others: "%a has summoned an undead minion."
            str-fade: Your undead minion dies.
        pain:
            name: pain
            enabled: false
            description: Cause your enemy pain.
            cast-item: 283
            cooldown: 5
            damage: 3
            range: 15
            obey-los: true
            target-players: false
            check-plugins: true
            cost:
                - 331 1
                - health 1
            str-cost: 1 redstone dust and a half heart
            str-no-target: No target found.
        prayer:
            name: prayer
            description: Heals yourself for five hearts.
            cast-item: 35
            cooldown: 15
            amount-healed: 10
            cost:
                - mana 5
                - 38 1
            str-cost: 5 mana, 1 rose
            str-cast-self: You have healed yourself.
            str-at-full-health: You are already at full health.
        purge:
            name: purge
            enabled: false
            description: Kill all monsters and animals around you.
            cast-item: 283
            cooldown: 60
            range: 15
            cost:
                - 331 10
            str-cost: 10 redstone dust
            str-cast-self: You purge all life around you.
            str-cast-others: "%a purges all nearby life."
        recall:
            name: recall
            enabled: false
            description: Teleports you to your marked location.
            cooldown: 300
            max-range: -1
            allow-cross-world: true
            cost:
                - 331 1
                - 265 1
            str-cost: 1 redstone dust and 1 iron bar
            str-cast-self: You teleport to your marked location.
            str-no-mark: You have not marked a location to recall to.
            str-other-world: You cannot recall to another world.
            str-too-far: Your marked location is too far away.
            str-cast-others: "%a disappears!"
        reflect:
            name: reflect
            enabled: false
            description: Reflect spells cast at you.
            cooldown: 30
            num-uses: 5
            cost:
                - 331 3
            use-cost:
                - 331 1
            use-cost-interval: 1
            str-cost: 3 redstone dust plus 1 redstone per spell reflected
            str-cast-self: You feel a magical barrier surround you.
            str-cast-others: A magical barrier surrounds %a.
            str-fade: Your magical barrier fades.
        repair:
            name: repair
            enabled: false
            description: Repairs your gear.
            cooldown: 120
            to-repair:
                - held
                - hotbar
                - inventory
                - helmet
                - chestplate
                - leggings
                - boots
            cost:
                - 331 3
                - 265 1
            str-cost: 3 redstone dust and 1 iron bar
            str-cast-self: You've repaired your gear!
            str-nothing-to-repair: You have nothing to repair.
        safefall:
            name: safefall
            enabled: false
            description: Allows you to fall without taking damage.
            cast-item: 294
            cooldown: 60
            duration: 300
            num-uses: 5
            cost:
                - 331 2
            use-cost:
                - 288 1
            use-cost-interval: 1
            str-cost: 2 redstone dust, plus 1 feather each time you fall
            str-cast-self: You feel lighter.
            str-fade: Your normal weight returns.
        scroll:
            name: scroll
            description: Create a limited use spell scroll.
            cast-for-free: true
            default-uses: 5
            max-uses: 10
            item-id: 339
            right-click-cast: true
            left-click-cast: false
            ignore-cast-perm: false
            set-unstackable: true
            charge-reagents-for-spell-per-charge: false
            require-teach-perm: true
            require-scroll-cast-perm-on-use: true
            str-scroll-over: "Spell Scroll: %s (%u uses remaining)"
            str-usage: |
                You must hold a single blank paper 
                and type /cast scroll <spell> <uses>.
            str-fail: You cannot create a spell scroll at this time.
            str-no-spell: You do not know a spell by that name.
            str-cant-teach: You cannot create a tome with that spell.
            str-cast-self: You have created a spell scroll for %s.
            str-on-use: "Spell Scroll: %s used. %u uses remaining."
            str-use-fail: Unable to use this scroll right now.
        stealth:
            name: stealth
            enabled: false
            description: Become invisible to monsters.
            cast-item: 280
            cooldown: 60
            duration: 20
            cost:
                - 331 3
            str-cost: 3 redstone dust
            str-cast-self: You become invisble to monsters.
            str-fade: You are no longer invisible to monsters.
        stonevision:
            name: stonevision
            enabled: false
            description: See through stone.
            cast-item: 317
            range: 4
            transparent-type: 1
            cooldown: 60
            duration: 30
            cost: 
                - 331 4
                - 1 2
                - 20 2
            str-cost: 4 redstone dust, 2 stone and 2 glass
            str-cast-self: You can see through stone!
            str-fade: You can no longer see through stone.
        summon:
            name: summon
            enabled: false
            description: Summon another player to your position.
            channel-time: 30
            req-participants: 3
            req-percent: 0
            max-distance: 10
            require-exact-name: false
            require-acceptance: true
            max-accept-delay: 90
            accept-command: accept
            str-usage: |
                Usage: /cast summon <playername>, or /cast summon 
                while looking at a sign with a player name on the first line.
            str-no-target: Target player not found.
            str-too-far-away: You are too far away from the summoning ritual.
            str-start-channel: You begin to channel a summoning spell.
            str-moved: You have stopped channeling.
            str-spell-success: You have successfully summoned %k.
            str-summon-pending: You are being summoned! Type /accept to teleport.
            str-summon-accepted: You have been summoned.
            str-summon-expired: The summon has expired.
        sun:
            name: sun
            enabled: false
            description: Changes the time to morning.
            channel-time: 30
            req-participants: 2
            req-percent: 35
            max-distance: 20
            time-to-set: 0
            str-too-far-away: You are too far away from the ritual.
            str-start-channel: You begin to channel the sun spell.
            str-moved: You have stopped channeling.
            str-spell-success: You have successfully called the sun.
            str-announce: The sun has suddenly appeared in the sky!        
        telekinesis:
            name: telekinesis
            enabled: false
            description: Manipulate switches and buttons remotely.
            cast-item: 280
            cooldown: 15
            range: 20
            cost:
                - 331 1
            str-cost: 1 restone dust
            str-no-target: You must target a switch or button.
        tome:
            name: tome
            enabled: false
            description: Create a tome that teaches a spell.
            cancel-read-on-learn: true
            allow-overwrite: false
            max-uses: -1
            default-uses: -1
            require-teach-perm: true
            str-usage: "Usage: While holding a book, /cast tome <spell>"
            str-no-spell: You do not know a spell with that name.
            str-cant-teach: You cannot create a tome with that spell.
            str-no-book: You must be holding a book.
            str-already-has-spell: That book already contains a spell.
            str-already-known: You already know the %s spell.
            str-cant-learn: You cannot learn the spell in this tome.
            str-learned: You have learned the %s spell.
            str-cast-self: You have created a spell tome.
        volley:
            name: volley
            description: Send a volley of arrows at your targeted location.
            cast-item: 280
            cooldown: 45
            range: 30
            arrows: 10
            speed: 20
            spread: 150
            cost:
                - mana 10
            str-cost: 10 mana
            str-cast-self: You fire a volley of magic arrows.
            str-cast-others: "%a fires a volley of arrows."
            str-no-target: No target found.
        walkway:
            name: walkway
            enabled: false
            description: Summon a moving magical walkway to take you places.
            cast-item: 280
            cooldown: 60
            platform-type: 5
            size: 6
            cost:
                - 331 4
            use-cost:
                - 331 1
            use-cost-interval: 25
            str-cost: 4 redstone, plus 1 redstone every 25 blocks
            str-cast-self: You summon a magical walkway.
            str-fade: Your magical walkway disappears.
        wall:
            name: wall
            enabled: false
            description: Creates a temporary wall to block your enemies.
            cast-item: 280
            cooldown: 15
            range: 3
            wall-width: 5
            wall-height: 3
            wall-type: 45
            wall-duration: 15
            cost:
                - 331 2
            str-cost: 2 redstone dust
            str-no-target: Unable to create a wall.
        zap:
            name: zap
            enabled: false
            description: Instantly destroys a block.
            cast-item: 294
            cooldown: 0
            disallowed-blocks: 0,7
            range: 15
            cost:
                - 331 1
            str-cost: 1 redstone dust
            str-cast-self: You zapped a block.
            str-cant-zap: You can't zap that.
            
        external:
            name: gianttree
            enabled: false
            description: Create a giant tree!
            cooldown: 300
            can-cast-by-command: true
            can-cast-with-item: false
            command-to-execute: 
                - "gt 25 4"
            command-to-execute-later: []
            command-delay: 0
            command-to-block:
                - "gt"
            temporary-permissions: []
            require-player-target: false
            obey-los: true
            range: 20
            cost:
                - 331 10
                - 6 5
            str-cost: 10 redstone dust and 5 saplings
            str-cast-self: You grow a tree!
            str-cant-use-command: "&4You don't have permission to do that."
    
    
    
    I'm running CB 1150, MagicSpells v1.1, still have no permissions plugin.

    I can't get the spell empower work. The console isn't spitting out any errors, it's just not recognizing empower as a spell. I'm running as op, and I tried to teach it to myself from the console but it just says that I don't know a spell by that name. Any idea what I did wrong?

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

    nisovin

    This is a fail on my part. I forgot to add it in. It'll come in version 1.2.
     
  8. Offline

    polakman

    Hmm...
    Can somebody help me?!
    I changed some things in config.yml and now bukkit will not read them. What should i do?
    Code:
    general:
        debug: false
        alt-config: altConfig.yml
        str-cast-usage: |
            Usage: /cast <spell>.
            Use /cast list to see a list of spells.
        str-unknown-spell: You do not know a spell with that name.
        str-spell-change: You are now using the %s spell.
        str-spell-change-empty: You are no longer using a spell.
        str-on-cooldown: That spell is on cooldown (%c seconds remaining).
        str-missing-reagents: You do not have the required reagents for that spell.
        str-cant-cast: You can't cast that spell right now.
        str-no-magic-zone: An anti-magic aura makes your spell fizzle.
        str-console-name: Admin
        text-color: 3
        broadcast-range: 20
        allow-cycle-to-no-spell: false
        ops-have-all-spells: true
        default-all-perms-false: false
        ignore-default-bindings: false
        mana:
            enable-mana-bars: true
            max-mana: 100
            mana-bar-prefix: "Mana:"
            mana-bar-size: 35
            color-full: 10
            color-empty: 0
            regen-tick-seconds: 5
            regen-percent: 5
            show-mana-on-use: false
            show-mana-on-regen: false
            show-mana-on-wood-tool: true
            tool-slot: 8
            mana-potion-cooldown: 30
            str-mana-potion-on-cooldown: You cannot use another mana potion yet (%c seconds).
            mana-potions:
                - 351:4 100
                - 348 60
                - 331 30
    
    spells:
    
        list:
            name: list
            description: List all the spells you know.
            only-show-castable-spells: false
            reload-granted-spells: false
            str-prefix: "Known spells:"
            str-no-spells: You do not know any spells.
        help:
            name: help
            description: Get information about a specified spell.
            str-usage: "Usage: /cast help <spell>"
            str-no-spell: You do not know a spell by that name.
            str-desc-line: "%s - %d"
            str-cost-line: "Cost: %c"
        teach:
            name: teach
            description: Teach a spell to another player.
            require-known-spell: true
            str-usage: "Usage: /cast teach <target> <spell>"
            str-no-target: No such player.
            str-no-spell: You do not know a spell by that name.
            str-cant-teach: You can't teach that spell.
            str-cant-learn: That person cannot learn that spell.
            str-cast-self: You have taught %t the %s spell.
            str-cast-target: "%a has taught you the %s spell."
        forget:
            name: forget
            description: Make a player forget a spell.
            str-usage: "Usage: /cast forget <target> <spell>"
            str-no-target: No such player.
            str-no-spell: You do not know a spell by that name.
            str-doesnt-know: That person does not know that spell.
            str-cast-self: You made %t forget the %s spell.
            str-cast-target: "%a has made you forget the %s spell."
        spellbook:
            name: spellbook
            description: Create a spellbook that teaches a spell.
            default-uses: -1
            destroy-when-used-up: false
            str-use: "Usage: /cast spellbook <spell> [uses]"
            str-cast-self: You have created a spellbook with the %s spell.
            str-no-spell: You do not know a spell by that name.
            str-cant-teach: You can't create a spellbook with that spell.
            str-no-target: You must target a bookcase to create a spellbook.
            str-has-spellbook: That bookcase already has a spellbook.
            str-cant-destroy: You cannot destroy a bookcase with a spellbook.
            str-cant-learn: You cannot learn the spell in this spellbook.
            str-already-known: You already know the %s spell.
            str-learned: You have learned the %s spell!
        bind:
            name: bind
            enable: true
            description: Binds a spell to a wand item.
            str-cast-self: You have successfully bound the %s spell to the item you are holding.
            str-usage: You must specify a spell name and hold an item in your hand.
            str-no-spell: You do not know a spell by that name.
            str-cant-bind: That spell cannot be bound to an item.
        blink:
            name: carperetractum
            description: Tworzy niewidzialna line ktora przenosi cie do miejsca na ktore patrzysz.
            cast-item: 75
            cooldown: 8
            range: 25
            smoke-trail: true
            str-cast-self: Uzyles zaklecia Carpe Retractum!
            str-cast-others: "%a uzyl zaklecia Carpe Retractum!"
            str-cant-blink: Nie mozesz sie tam przyciagnac.
        build:
            name: innaminitusconjurus
            description: Tworzy bloki.
            cooldown: 2
            range: 25
            slot: 0
            consume-block: true
            show-effect: true
            check-plugins: true
            allowed-types: 1,2,3,4,5,12,13,17,20,22,24,35,41,42,43,44,45,47,48,49,50,53,57,65,67,80,85,87,88,89,91,92
            cost:
                - mana 5
            str-invalid-block: Nie mozesz stworzyc tego bloku.
            str-cant-build: Nie mozesz tu uzyc Innaminitus Conjurus.
        carpet:
            name: volateasenderay
            description: Pozwala ci unosic sie na niewidzialnej platformie.
            cast-item: 75
            cooldown: 30
            cancel-on-logout: true
            cancel-on-teleport: true
            size: 2
            cost:
                - mana 5
            use-cost:
                - mana 5
            use-cost-interval: 50
            str-cost: 5 redstone, 5 feathers, plus 1 feather co 50 kostek.
            str-cast-self: Unosisz sie na niewidzialnej platformie!
            str-cast-others: "%a porusza sie na niewidzialnej platformie!"
            str-fade: Juz nie poruszasz sie na niewidzialnej platformie
        combust:
            name: incendio
            description: Zapala cel.
            cast-item: 75
            cooldown: 10
            range: 20
            obey-los: true
            fire-ticks: 100
            target-players: true
            check-plugins: true
            cost:
                - mana 5
            str-no-target: Nie znaleziono celu.
        confusion:
            name: confundus
            description: Powoduje ze stworzenia wokol atakuja sie nawzajem
            cast-item: 75
            cooldown: 30
            range: 20
            cost:
                - mana 5
            str-cast-self: Uzyles zaklecia Confundus na okolicznych stworzeniach!
            str-cast-others: "%a uzyl zaklecia Confundus."
        disarm:
            name: expeliarmus
            description: Rozbraja przeciwnika.
            cast-item: 75
            cooldown: 5
            range: 50
            disarmable-items:
                - 280
                - 261
                - 267
                - 268
                - 276
                - 283
                - 75
            disarm-duration: 30
            obey-los: true
            cost:
                - mana 15
            str-cost: 5 many
            str-no-target: Nie znaleziono celu.
            str-invalid-item: Cel nie ma broni.
            str-cast-self: Rozbroiles %t.
            str-cast-target: "%a rozbroil cie."
        drainlife:
            name: avadakedavra
            description: Wysysa sily zyciowe celu, w przypadku poteznego czarnoksieznika tworzy horkruks.
            cast-item: 75
            cooldown: 5
            range: 15
            damage: 9
            heal: 2
            animation-speed: 2
            obey-los: true
            target-players: true
            check-plugins: true
            cost:
                - mana 5
            str-cast-self: Wysysasz sily zyciowe celu.
            str-cast-others: "%a uzyl zaklecia Avada Kedavra."
            str-no-target: Nie znaleziono celu.
        empower:
            name: magicumextremo
            description: Wzmacnia sile twojego zaklecia.
            cast-item: 75
            power-multiplier: 1.5
            cooldown: 120
            duration: 30
            num-uses: 10
            cost:
                - mana 30
            use-cost:
                - mana 10
            use-cost-interval: 1
            str-cost: 30 many i po 10 za kazde zaklecie.
            str-cast-self: Twoja rozdzka drzy i czujesz ze robi sie ciepla.
            str-cast-others: "%a uzyl Magicum Extremo."
            str-fade: Zaklecie Magicum Extremo przestalo dzialac.
        entomb:
            name: duro
            description: Zamienia cel w kamien.
            cast-item: 75
            cooldown: 5
            range: 15
            obey-los: true
            target-players: true
            tomb-block-type: 4
            tomb-duration: 20
            cost:
                - mana 5
            str-no-target: Nie znaleziono celu.
        explode:
            name: bombarda
            description: Rozsadza cel.
            cast-item: 75
            cooldown: 30
            range: 25
            explosion-size: 4
            backfire-chance: 3
            check-plugins: true
            cost:
                - mana 5
            str-no-target: Nie mozesz wysadzic celu.
            str-cast-self: Uzyles zaklecia Bombarda!
            str-cast-others: "%a uzyl zaklecia Bombarda!"
        fireball:
            name: lacarnuminflamare
            description: Wyrzuca kule ognia z konca rozdzki.
            cast-item: 75
            cooldown: 15
            range: 30
            require-entity-target: false
            obey-los: true
            target-players: true
            check-plugins: true
            additional-damage: 0
            no-fire: false
            cost:
                - mana 5
            str-no-target: Nie mozesz tutaj uzyc zaklecia Lacarnum Inflamare.
            str-cast-self: Uzyles zaklecia Lacarnum Inflamare!
            str-cast-others: "%a uzyl zaklecia Lacarnum Inflamare!"
        firenova:
            name: flagrate
            description: Tworzy symbol ognia.
            cast-item: 75
            cooldown: 10
            range: 5
            tick-speed: 10
            check-plugins: true
            cost:
                - mana 5
            str-cast-self: Zaznaczasz miejsce symbolem ognia.
            str-cast-others: "%a zaznacza teren symbolem ognia."
        flamewalk:
            name: szatanskapozoga
            description: Pali wszystko wkolo.
            cast-item: 75
            cooldown: 30
            range: 8
            fire-ticks: 100
            tick-interval: 100
            target-players: true
            duration: 60
            cost:
                - mana 5
            use-cost-interval: 15
            str-cost: 5 many.
            str-cast-self: Zapalasz wszystko wkolo.
            str-fade: Juz nie palisz niczego.
        frostwalk:
            name: ascendio
            description: Pozwala chodzic po wodzie.
            cast-item: 75
            size: 2
            leave-frozen: false
            cooldown: 30
            cost:
                - mana 5
            use-cost:
                - mana 5
            use-cost-interval: 50
            str-cost: 5 many, plus 5 co 50 klocków.
            str-cast-self: Mozesz teraz chodzic po wodzie!
            str-cast-others: "%a uzyl zaklecia Ascendio!"
            str-fade: Juz nie mozesz chodzic po wodzie.
        forcetoss:
            name: levicorpus
            description: Wyrzuca przeciwnika w powietrze.
            cast-item: 75
            cooldown: 5
            range: 100
            damage: 0
            horizontal-force: 30
            vertical-force: 15
            obey-los: true
            target-players: true
            check-plugins: true
            cost:
                - mana 10
            str-cost: 10 many.
            str-cast-self: Uzyles zaklecia Levicorpus!
            str-cast-others: "%a uzyl zaklecia Levicorpus."
        frostwalk:
            name: ascendio
            description: Pozwala chodzic po wodzie.
            cast-item: 75
            size: 2
            leave-frozen: false
            cooldown: 30
            cost:
                - mana 5
            use-cost:
                - mana 5
            use-cost-interval: 50
            str-cost: 5 many, plus 5 co 50 klocków.
            str-cast-self: Mozesz teraz chodzic po wodzie!
            str-cast-others: "%a uzyl zaklecia Ascendio!"
            str-fade: Juz nie mozesz chodzic po wodzie.
        gate:
            name: strictum
            description: Teleportuje do mijsca spawnu.
            can-cast-with-item: true
            cast-item: 75
            world: CURRENT
            coordinates: SPAWN
            use-spell-effect: true
            cost:
                - mana 5
            str-cast-self: Teleportowales sie do spawnu.
            str-cast-others: "%a uzyl zaklecia Strictum!"
            str-gate-failed: Nie mozesz sie teleportowac.
        geyser:
            name: aquaeructo
            description: Zalewa cel.
            cast-item: 75
            range: 20
            damage: 0
            velocity: 10
            animation-speed: 2
            geyser-height: 4
            obey-los: true
            target-players: true
            check-plugins: true
            cost:
                - mana 5
            str-cast-self: Zalales cel.
            str-no-target: Nie znaleziono celu.
        gills:
            name: babloglowa
            description: Pozwala oddychac pod woda.
            cast-item: 75
            glass-head-effect: false
            cooldown: 60
            duration: 300
            num-uses: 5
            cost:
                - mana 5
            use-cost-interval: 1
            str-cost: 5 many.
            str-cast-self: Wyczarowales babel powietrza wokol ust!
            str-fade: Babel powietrza zniknal.
        heal2:
            name: vomicavigorantus
            description: Leczy cel.
            cast-item: 75
            heal-amount: 7
            obey-los: true
            cooldown: 0
            range: 12
            cost:
                - mana 5
            str-cast-self: Uleczyles %t.
            str-cast-target: "%a uleczyl cie."
            str-no-target: Nie znaleziono celu.
            str-max-health: "%t jest w pelni zdrowy."
        heal:
            name: episky
            description: Leczy cel.
            cast-item: 75
            heal-amount: 5
            obey-los: true
            cooldown: 0
            range: 12
            cost:
                - mana 5
            str-cast-self: Uleczyles %t.
            str-cast-target: "%a uleczyl cie."
            str-no-target: Nie znaleziono celu.
            str-max-health: "%t jest w pelni zdrowy."
        invulnerability:
            name: gondoluo
            description: Czyni cie odpornym na ciosy.
            cast-item: 75
            damage-causes:
                - block explosion
                - contact
                - drowning
                - entity attack
                - entity explosion
                - fall
                - fire
                - fire tick
                - lava
                - lightning
                - suffocation
            duration: 60
            cost:
                - mana 5
            use-cost:
                - mana 5
            use-cost-interval: 5
            str-cost: 5 many, plus 5 co min.
            str-cast-self: Czujesz ze twoja skora pokrywa sie obsydianem.
            str-cast-others: "%a uzyl zaklecia Gondoluo."
            str-fade: Czujesz ze obsydian z twojej skory kroszy sie.
        leap:
            name: mobilicorpus
            description: Wznosi cie wysoko.
            cast-item: 75
            forward-velocity: 40
            upward-velocity: 15
            cancel-damage: true
            cooldown: 10
            cost:
                - mana 5
            str-cast-self: Wznosisz sie wysoko.
            str-cast-others: "%a uzyl zaklecia mobilicorpus."
        lifewalk:
            name: orchideus
            description: Wyczarowuje kwiaty wokol ciebie!
            cast-item: 75
            tick-interval: 15
            red-flower-chance: 15
            yellow-flower-chance: 15
            sapling-chance: 0
            tallgrass-chance: 25
            fern-chance: 0
            cost:
                - mana 5
            use-cost:
                - mana 5
            use-cost-interval: 20
            str-cost: 5 many.
            str-cast-self: Wokol pojawiaja sie kwiaty!
            str-cast-others: "%a uzyl zaklecia orchidus!"
            str-fade: Kwiaty juz nie pojawiaja sie wokol.
        lightning:
            name: crucio
            description: Zadaje ogromny bol celowi.
            cast-item: 75
            cooldown: 15
            range: 20
            no-damage: false
            require-entity-target: false
            obey-los: true
            target-players: true
            check-plugins: true
            cost:
                - mana 5
            str-cast-self: Uzyles zaklecia Crucio.
            str-cast-others: "%a uzyl zaklecia Crucio."
            str-no-target: Nie znaleziono celu.
        lightwalk:
            name: lumos
            description: Rozswietla sciezke wokol ciebie.
            cast-item: 75
            cost:
                - mana 5
            use-cost:
                - mana 5
            use-cost-interval: 25
            str-cost: 5 many.
            str-cast-self: Swiatlo bije z twojej rozdzki.
            str-fade: Swiatlo znika.
        mana:
            name: etractumvipera
            description: Daje ci mane wzamian za energie zyciowa.
            cooldown: 3
            cast-item: 75
            mana: 25
            cost:
                - health 4
            str-cost: 2 serduszka
            str-cast-self: Odzyskujesz 25 pkt. many
        mark:
            name: portusset
            description: Tworzy swistoklik.
            cast-item: 75
            cooldown: 43200
            permanent-marks: true
            cost:
                - mana 5
            str-cast-self: Stworzyles swistoklik.
        minion5:
            name: avis
            description: Przyzywa ptaka.
            cast-item: 75
            cooldown: 60
            duration: 60
            mob-chances:
                - Chicken 100
            prevent-sun-burn: true
            target-players: true
            cost:
                - mana 5
            str-cast-self: Przyzwales smoka.
            str-cast-others: "%a uzyl zaklecia Draconifors."
            str-fade: Smok stworzenie znika.
        minion4:
            name: draconifors
            description: Przyzywa smoka.
            cast-item: 75
            cooldown: 60
            duration: 60
            mob-chances:
                - Ghast 100
            prevent-sun-burn: true
            target-players: true
            cost:
                - mana 5
            str-cast-self: Przyzwales smoka.
            str-cast-others: "%a uzyl zaklecia Draconifors."
            str-fade: Smok stworzenie znika.
        minion:
            name: serpensortia
            description: Przyzywa zombie.
            cast-item: 75
            cooldown: 60
            duration: 60
            mob-chances:
                - Zombie 100
            prevent-sun-burn: true
            target-players: true
            cost:
                - mana 5
            str-cast-self: Przyzwales zombie.
            str-cast-others: "%a uzyl zaklecia Serpensortia."
            str-fade: Zombie stworzenie znika.
        minion2:
            name: dementia
            description: Przyzywa dementora.
            cast-item: 75
            cooldown: 60
            duration: 60
            mob-chances:
                - Skeleton 100
            prevent-sun-burn: true
            target-players: true
            cost:
                - mana 5
            str-cast-self: Przyzwales dementora.
            str-cast-others: "%a uzyl zaklecia Dementia."
            str-fade: Dementor znika.
        minion3:
            name: arachnainfima
            description: Przyzywa akromantule.
            cast-item: 75
            cooldown: 60
            duration: 60
            mob-chances:
                - Spider 100
            prevent-sun-burn: true
            target-players: true
            cost:
                - mana 5
            str-cast-self: Przyzwales akromantule.
            str-cast-others: "%a uzyl zaklecia Arachna Infima."
            str-fade: Akromantula znika.
        pain:
            name: sectumsempra
            description: Niewidzialne noze rozcinaja cel.
            cast-item: 75
            cooldown: 5
            damage: 5
            range: 15
            obey-los: true
            target-players: true
            check-plugins: true
            cost:
                - mana 5
            str-no-target: Nie znaleziono celu.
        pain1:
            name: dretwota
            description: Zaklecie poturbowuje przeciwnika.
            cast-item: 75
            cooldown: 5
            damage: 3
            range: 15
            obey-los: true
            target-players: true
            check-plugins: true
            cost:
                - mana 5
            str-no-target: Nie znaleziono celu.
        pain3:
            name: diffindo
            description: Przecina przeciwnika.
            cast-item: 75
            cooldown: 5
            damage: 2
            range: 15
            obey-los: true
            target-players: true
            check-plugins: true
            cost:
                - mana 5
            str-no-target: Nie znaleziono celu.
        pain4:
            name: rictusempra
            description: Wyzwala snop zoltego swiatla ktory powoduje bolesny smiech.
            cast-item: 75
            cooldown: 5
            damage: 1
            range: 15
            obey-los: true
            target-players: true
            check-plugins: true
            cost:
                - mana 5
            str-no-target: Nie znaleziono celu.
        pain5:
            name: mortaddin
            description: Zaklecie tak silne ze moze zabic 300 smokow w jednym momencie.
            cast-item: 75
            cooldown: 5
            damage: 10
            range: 15
            obey-los: true
            target-players: true
            check-plugins: true
            cost:
                - mana 5
            str-no-target: Nie znaleziono celu.
        prayer:
            name: ferula
            description: Leczy cie.
            cast-item: 75
            cooldown: 15
            amount-healed: 10
            cost:
                - mana 5
            str-cast-self: Uleczyles sie.
            str-at-full-health: Juz jestes w pelni zdrowy.
        purge:
            name: protegohorriblis
            description: Najsilniejsze zaklecie ochrony przed agresywnymi stworzeniami.
            cast-item: 75
            cooldown: 60
            range: 15
            cost:
                - mana 5
            str-cast-self: Usuwasz wrogie stworzenia wokol.
            str-cast-others: "%a usunal agresywne stworzenia wokol."
        recall:
            name: portus
            description: Teleportuje cie do swistoklik.
            cast-item: 75
            cooldown: 300
            max-range: -1
            allow-cross-world: true
            cost:
                - mana 5
            str-cast-self: Teleportuje cie do swistoklika.
            str-no-mark: Nie masz wyznaczonego swistoklika.
            str-other-world: Nie mozesz teleportowac sie do innego swiata.
            str-too-far: Twoj swistoklik jest zbyt daleko.
            str-cast-others: "%a uzyl swistoklika!"
        reflect:
            name: cogitandum
            description: Odbija zaklecie przeciwnika.
            cooldown: 30
            num-uses: 5
            cost:
                - mana 5
            use-cost:
                - mana 5
            use-cost-interval: 1
            str-cost: 5 many i po 5 za kazde odbite zaklecie.
            str-cast-self: Czujesz ze otacza cie magiczna bariera.
            str-cast-others: Magiczna bariera otacza %a.
            str-fade: Bariera znika.
        repair:
            name: reparo
            description: Naprawia twoj sprzet.
            cooldown: 120
            to-repair:
                - held
                - hotbar
                - inventory
                - helmet
                - chestplate
                - leggings
                - boots
            cost:
                - mana 20
            str-cost: 20 many.
            str-cast-self: Naprawiles swoj sprzet!
            str-nothing-to-repair: Nie masz niczego do naprawy.
        safefall:
            name: evertestatum
            description: Obniza twoja wage do zera, do tego stopnia ze nie dostajesz obrazen przy upadku.
            cast-item: 75
            cooldown: 60
            duration: 300
            num-uses: 5
            cost:
                - mana 5
            use-cost:
                - mana 5
            use-cost-interval: 1
            str-cost: 2 redstone dust, plus 1 feather za czas kiedy jestes lzejszy.
            str-cast-self: Czujesz ze sie lekki jak piorko.
            str-fade: Powraca toja normalna waga.
        scroll:
            name: acciozwoj
            description: Przyzwa limitowany zwoj magii.
            cast-for-free: true
            default-uses: 5
            max-uses: 10
            item-id: 339
            right-click-cast: true
            left-click-cast: false
            ignore-cast-perm: false
            set-unstackable: true
            charge-reagents-for-spell-per-charge: false
            require-teach-perm: true
            require-scroll-cast-perm-on-use: true
            str-scroll-over: "Zwoj: %s (Jeszcze %u uzyc)."
            str-usage: |
                Musisz trzymac pojedyncza kartke papieru
                i wpisac /acciozwoj <zaklecie> <ilosc uzyc>.
            str-fail: Nie udalo sie stworzyc zwoju.
            str-no-spell: Nie znasz tego zaklecia.
            str-cant-teach: Nie mozesz stworzyc tego zwoju.
            str-cast-self: stworzyles zwoj %s.
            str-on-use: "Uzyles zwoju: %s (Jeszcze %u urzyc)."
            str-use-fail: Nie mozesz teraz uzyc tego zwoju.
        stealth:
            name: muffliato
            description: Tlumi odglosy czarodzieja powodujac iz jest niedostrzegalny dla innych.
            cast-item: 75
            cooldown: 60
            duration: 20
            cost:
                - mana 5
            str-cast-self: Jestes niedostrzegalny dla innych.
            str-fade: Zaklecie Muffliato przestalo dzialac.
        stonevision:
            name: legilimens
            description: Pozwala widziec przez sciany.
            cast-item: 75
            range: 4
            transparent-type: 1,2,3,4,5,12,13,17,20,22,24,35,41,42,43,44,45,47,48,49,50,53,57,65,67,80,85,87,88,89,91,92
            cooldown: 60
            duration: 30
            cost:
                - mana 5
            str-cast-self: Widzisz przez sciany!
            str-fade: Juz nie widzisz przez sciany.
        summon:
            name: przyzwij
            description: Przyzywa innego czarodzieja do ciebie.
            cast-item: 75
            channel-time: 30
            req-participants: 1
            req-percent: 0
            max-distance: 10
            require-exact-name: false
            require-acceptance: false
            max-accept-delay: 90
            accept-command: ok
            str-usage: |
                Usage: /przyzwij <imie czarodzieja>, albo /przyzwij
            str-no-target: Nie znaleziono czarodzieja.
            str-too-far-away: Jestes zbyt daleko.
            str-start-channel: Zaczynasz przyzywanie.
            str-moved: Zatrzymales przyzywanie.
            str-spell-success: Przyzwales %k.
            str-summon-pending: Jestes przyzwany! Wpisz /ok aby zaakceptowac przyzwanie.
            str-summon-accepted: Zostales przyzwany.
            str-summon-expired: Przyzwales %k.
        sun:
            name: lumosmaxima
            description: Zmienia noc w dzien.
            cast-item: 75
            channel-time: 5
            req-participants: 1
            req-percent: 10
            max-distance: 20
            time-to-set: 0
            str-too-far-away: Jestes zbyt daleko.
            str-start-channel: Zaczynasz czarowanie.
            str-moved: Zatrzymales czarowanie.
            str-spell-success: Udalo ci sie wyczarowac dzien.
            str-announce: Slonce pojawia sie na niebie!
        telekinesis:
            name: wingardiumleviosa
            description: Manipuluje dzwigniami.
            cast-item: 75
            cooldown: 15
            range: 100
            cost:
                - mana 5
            str-no-target: Musisz nacelowac na dzwignie.
        tome:
            name: ksiega
            enabled: true
            description: Tworzy ksiege ktora uczy zaklecia.
            cast-item: 75
            cancel-read-on-learn: true
            allow-overwrite: false
            max-uses: -1
            default-uses: -1
            require-teach-perm: true
            str-usage: "Usage: gdy trzymasz ksiazke, /tome <zaklecie>"
            str-no-spell: Nie znasz tego zaklecia.
            str-cant-teach: Nie mozesz stworzyc ksiegi z tym zakleciem.
            str-no-book: Musisz trzymac ksiazke.
            str-already-has-spell: Ksiazka juz zawiera zaklecie.
            str-already-known: Juz znasz zaklecie %s .
            str-cant-learn: Nie mozesz nauczyc sie tego zaklecia.
            str-learned: Poznales zaklecie %s .
            str-cast-self: Stworzyles ksiege z zakleciem.
        volley:
            name: perriculum
            description: Wysyla deszcz iskier w wyznaczone miejsce.
            cast-item: 75
            cooldown: 45
            range: 30
            arrows: 10
            speed: 20
            spread: 150
            cost:
                - mana 5
            str-cast-self: Z twojej rozdzki wystrzela deszcz iskier.
            str-cast-others: "%a uzywa zaklecia Perriculum."
            str-no-target: Nie znaleziono celu.
        walkway:
            name: rivate
            description: Zaznacza przebieg twojej drogi.
            cast-item: 75
            cooldown: 60
            platform-type: 5
            size: 6
            cost:
                - mana 10
            use-cost:
                - mana 5
            use-cost-interval: 25
            str-cost: 10 many i po 5 co 25 klockow.
            str-cast-self: Uzyles zaklecia Rivate.
            str-fade: Zaklecie Rivate przestalo dzialac.
        wall:
            name: protego
            description: Tworzy magiczna ochronna bariere.
            cast-item: 75
            cooldown: 15
            range: 3
            wall-width: 5
            wall-height: 3
            wall-type: 20
            wall-duration: 15
            cost:
                - mana 5
            str-no-target: Nie mozesz uzyc tu Protego.
        wall2:
            name: protegomaxima
            description: Tworzy magiczna ochronna bariere.
            cast-item: 75
            cooldown: 15
            range: 3
            wall-width: 10
            wall-height: 5
            wall-type: 20
            wall-duration: 30
            cost:
                - mana 5
            str-no-target: Nie mozesz uzyc tu Protego Maxima.
        zap:
            name: expulso
            description: Wysadza namierzony obiekt.
            cast-item: 75
            cooldown: 0
            disallowed-blocks: 0,7
            range: 15
            cost:
                - mana 5
            str-cast-self: Wysadziles namierzony obiekt.
            str-cant-zap: Nie morzesz tego wysadzic.
    
        external:
            name: morsmorde
            enabled: true
            description: Tworzy symbol Smierciozercow!
            cooldown: 300
            can-cast-by-command: false
            can-cast-with-item: true
            cast-item: 75
            command-to-execute:
                - "gt 25 4"
            command-to-execute-later: []
            command-delay: 0
            command-to-block:
                - "gt"
            temporary-permissions: []
            require-player-target: false
            obey-los: true
            range: 20
            cost:
                - mana 50
            str-cost: 50 many.
            str-cast-self: Przyzwales znak Czarnego Pana!
            str-cant-use-command: &4Nie mozesz tego uzyc.
    
    spellcopies:
        - minion=minion1
        - minion=minion3
        - minion=minion2
        - minion=minion4
        - minion=minion5
        - pain=pain1
        - pain=pain2
        - pain=pain3
        - pain=pain4
        - pain=pain5
        - heal=heal2
        - wall=wall2  
    PS. Spells and whole plugin are translated by me, and this isn't why it doesn't works.
     
  9. Offline

    nisovin

    @polakman You are using special characters, which means you must convert your config file to UTF-8, or else you need to delete those special characters. Also, your spell copies are backwards.

    @wooden_dinosaur You have the ignore-default-bindings option set to true, so it's not going to use the cast-item options you defined at all.
     
  10. Offline

    polakman

    So how should i make those spell copies?

    i think i know i wrote spell copy second in line and that should be first right?

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

    Turtletime

    Hi, is there any way to configure it so there is no reagents? also great mod, many thanks!
     
  12. Offline

    polakman

    write - mana 0 in line cost:
    like this
    Code:
        blink:
            name: blink
            description: Teleport a short distance.
            cast-item: 35
            cooldown: 8
            range: 25
            smoke-trail: true
            cost:
                - mana 0
            str-cost: 0 mana
            str-cast-self: You blink away!
            str-cast-others: "%a blinks away!"
            str-cant-blink: You cannot blink there. 
     
  13. I must admit I haven't the slightest idea what or where this is:
     
  14. Offline

    xDice

    carpet doesn't work...
    all other spells work fine.
     
  15. Offline

    RugRats

    Does this support permissions pex?
     
  16. Offline

    doomday58

    Hi I just changed some things in the config folder and now we are getting this error
    Code:
    2011-09-25 20:21:59 [SEVERE] Error occurred while enabling MagicSpells v1.1 (Is it up to date?): while scanning a simple key; could not found expected ':'
    while scanning a simple key
     in "<reader>", line 6, column 9:
                Use /cast list to see a list of  ...
                ^
    could not found expected ':'
     in "<reader>", line 7, column 5:
            str-unknown-spell: You do not kn ...
            ^
    
     at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(ScannerImpl.java:400)
     at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.java:231)
     at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:182)
     at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:564)
     at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
     at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
     at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
     at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
     at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
     at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
     at org.bukkit.util.config.Configuration.load(Configuration.java:82)
     at com.nisovin.magicspells.util.MagicConfig.<init>(MagicConfig.java:17)
     at com.nisovin.magicspells.MagicSpells.load(MagicSpells.java:116)
     at com.nisovin.magicspells.MagicSpells.onEnable(MagicSpells.java:91)
     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:920)
     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
     at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    and this is the config.yml
    Code:
    general:
        debug: false
        alt-config: altConfig.yml
        str-cast-usage: |
            Usage: /cast <spell>.
            Use /cast list to see a list of spells.
        str-unknown-spell: You do not know a spell with that name.
        str-spell-change: You are now using the %s spell.
        str-spell-change-empty: You are no longer using a spell.
        str-on-cooldown: That spell is on cooldown (%c seconds remaining).
        str-missing-reagents: You do not have the required reagents for that spell.
        str-cant-cast: You can't cast that spell right now.
        str-no-magic-zone: An anti-magic aura makes your spell fizzle.
        str-console-name: Admin
        text-color: 3
        broadcast-range: 20
        allow-cycle-to-no-spell: false
        ops-have-all-spells: true
        default-all-perms-false: false
        ignore-default-bindings: false
        mana:
            enable-mana-bars: true
            max-mana: 150
            mana-bar-prefix: "Mana:"
            mana-bar-size: 35
            color-full: 10
            color-empty: 8
            regen-tick-seconds: 5
            regen-percent: 5
            show-mana-on-use: false
            show-mana-on-regen: false
            show-mana-on-wood-tool: true
            tool-slot: 8
            mana-potion-cooldown: 30
            str-mana-potion-on-cooldown: You cannot use another mana potion yet (%c seconds).
            mana-potions:
                - 351:4 100
                - 348 60
                - 331 30
    
    spells:
    
        list:
            name: list
            description: List all the spells you know.
            only-show-castable-spells: false
            reload-granted-spells: false
            str-prefix: "Known spells:"
            str-no-spells: You do not know any spells.
        help:
            name: help
            description: Get information about a specified spell.
            str-usage: "Usage: /cast help <spell>"
            str-no-spell: You do not know a spell by that name.
            str-desc-line: "%s - %d"
            str-cost-line: "Cost: %c"
        teach:
            name: teach
            description: Teach a spell to another player.
            require-known-spell: true
            str-usage: "Usage: /cast teach <target> <spell>"
            str-no-target: No such player.
            str-no-spell: You do not know a spell by that name.
            str-cant-teach: You can't teach that spell.
            str-cant-learn: That person cannot learn that spell.
            str-cast-self: You have taught %t the %s spell.
            str-cast-target: "%a has taught you the %s spell."
        forget:
            name: forget
            description: Make a player forget a spell.
            str-usage: "Usage: /cast forget <target> <spell>"
            str-no-target: No such player.
            str-no-spell: You do not know a spell by that name.
            str-doesnt-know: That person does not know that spell.
            str-cast-self: You made %t forget the %s spell.
            str-cast-target: "%a has made you forget the %s spell."
        spellbook:
            name: spellbook
            description: Create a spellbook that teaches a spell.
            default-uses: -1
            destroy-when-used-up: false
            str-use: "Usage: /cast spellbook <spell> [uses]"
            str-cast-self: You have created a spellbook with the %s spell.
            str-no-spell: You do not know a spell by that name.
            str-cant-teach: You can't create a spellbook with that spell.
            str-no-target: You must target a bookcase to create a spellbook.
            str-has-spellbook: That bookcase already has a spellbook.
            str-cant-destroy: You cannot destroy a bookcase with a spellbook.
            str-cant-learn: You cannot learn the spell in this spellbook.
            str-already-known: You already know the %s spell.
            str-learned: You have learned the %s spell!
        bind:
            name: bind
            enable: false
            description: Binds a spell to a wand item.
            str-cast-self: You have successfully bound the %s spell to the item you are holding.
            str-usage: You must specify a spell name and hold an item in your hand.
            str-no-spell: You do not know a spell by that name.
            str-cant-bind: That spell cannot be bound to an item.
    
        blink:
            name: blink
            description: Teleport a short distance.
            cast-item: 280
            cooldown: 8
            range: 25
            smoke-trail: true
            cost:
                - 331 2
            str-cost: 2 redstone dust
            str-cast-self: You blink away!
            str-cast-others: "%a blinks away!"
            str-cant-blink: You cannot blink there.
        build:
            name: build
            description: Build blocks from far away.
            cast-item: 294
            cooldown: 2
            range: 25
            slot: 0
            consume-block: true
            show-effect: true
            check-plugins: true
            allowed-types: 1,2,3,4,5,12,13,17,20,22,24,35,41,42,43,44,45,47,48,49,50,53,57,65,67,80,85,87,88,89,91,92
            cost:
                - mana 5
            str-invalid-block: You can't build that block.
            str-cant-build: You can't build there.
        carpet:
            name: carpet
            description: Lets you walk on a platform of glass.
            cast-item: 317
            cooldown: 30
            cancel-on-logout: true
            cancel-on-teleport: true
            size: 2
            cost:
                - 331 5
                - 288 5
            use-cost:
                - 288 1
            use-cost-interval: 50
            str-cost: 5 redstone, 5 feathers, plus 1 feather every 50 blocks
            str-cast-self: You are now walking on air!
            str-cast-others: "%a is now walking on air!"
            str-fade: You are no longer walking on air.
        combust:
            name: combust
            description: Wizardry - Set a target on fire.
            cast-item: 283
            cooldown: 10
            range: 20
            obey-los: true
            fire-ticks: 100
            target-players: true
            check-plugins: true
            cost:
                - mana 15
            str-cost: 15 mana
            str-no-target: No target found.
        confusion:
            name: confusion
            description: Necromancy - Cause nearby monsters to attack each other.
            cast-item: 284
            cooldown: 30
            range: 20
            cost:
                - mana 20
            str-cost: 20 mana
            str-cast-self: You cause nearby monsters to become confused and attack each other.
            str-cast-others: "%a causes nearby monsters to attack each other."
        disarm:
            name: disarm
            description: Disarm your opponent.
            cast-item: 283
            cooldown: 15
            range: 20
            disarmable-items:
                - 280
                - 261
                - 267
                - 268
                - 276
                - 283
            disarm-duration: 100
            obey-los: true
            cost:
                - 331 4
            str-cost: 4 redstone dust
            str-no-target: No target found.
            str-invalid-item: Your target could not be disarmed.
            str-cast-self: You have disarmed %t.
            str-cast-target: "%a has disarmed you."
        drainlife:
            name: drainlife
            description: Necromancy - Drain life from your enemy and give it to you.
            cast-item: 283
            cooldown: 5
            range: 20
            damage: 2
            heal: 2
            animation-speed: 2
            obey-los: true
            target-players: true
            check-plugins: true
            cost:
                - mana 30
            str-cost: 30 mana
            str-cast-self: You drain life from your enemy.
            str-no-target: No target found.
        empower:
            name: empower
            description: Makes your spells more powerful.
            cast-item: 280
            power-multiplier: 1.5
            cooldown: 120
            duration: 30
            num-uses: 10
            cost:
                - 331 3
            use-cost:
                - 331 2
            use-cost-interval: 1
            str-cost: 3 redstone, plus 2 redstone for each spell cast
            str-cast-self: You feel yourself glowing with magical energy.
            str-cast-others: "%a begins to glow with magical energy."
            str-fade: You are no longer glowing with magical energy.
        entomb:
            name: entomb
            description: Necromancy - Encase an enemy in sandstone.
            cast-item: 294
            cooldown: 5
            range: 20
            obey-los: true
            target-players: true
            tomb-block-type: 24
            tomb-duration: 40
            cost:
                - mana 30
            str-cost: 3 redstone dust and 1 glass
            str-no-target: No target found.
        explode:
            name: explode
            description: Create an explosion.
            cast-item: 283
            cooldown: 30
            range: 25
            explosion-size: 4
            backfire-chance: 3
            check-plugins: true
            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!
        fireball:
            name: fireball
            description: Wizardry - Throw a fiery ball of destruction.
            cast-item: 283
            cooldown: 10
            range: 35
            require-entity-target: false
            obey-los: true
            target-players: true
            check-plugins: true
            additional-damage: 1
            no-fire: false
            no-explosion: true
            cost:
                - mana 20
            str-cost: 20 mana
            str-no-target: You cannot throw a fireball there.
            str-cast-self: You throw a fiery ball of destruction!
            str-cast-others: "%a throws a fiery ball of destruction!"
        firenova:
            name: firenova
            description: Necromancy - Summon an expanding ring of fire.
            cast-item: 285
            cooldown: 20
            range: 7
            tick-speed: 10
            check-plugins: true
            cost:
                - mana 40
            str-cost: 40 mana
            str-cast-self: You summon an expanding ring of fire.
            str-cast-others: "%a summons an expanding ring of fire."
        flamewalk:
            name: flamewalk
            description: Necromancy - Burn your enemies around you as you walk.
            cast-item: 286
            cooldown: 30
            range: 8
            fire-ticks: 70
            tick-interval: 70
            target-players: true
            duration: 30
            cost:
                - mana 30
            use-cost:
                - mana 15
            use-cost-interval: 15
            str-cost: 30 mana plus 15 occasionally
            str-cast-self: You begin to burn your enemies around you.
            str-fade: You are no longer burning your enemies.
        forcepush:
            name: forcepush
            description: Wizardry - Push back your enemies.
            cast-item: 285
            cooldown: 15
            range: 15
            pushback-force: 30
            additional-vertical-force: 15
            max-vertical-force: 20
            target-players: true
            cost:
                - mana 20
            str-cost: 20 mana
            str-cast-self: You push back your enemies!
            str-cast-others: "%a pushes back his enemies."
        forcetoss:
            name: forcetoss
            description: Necromancy - Magically throw an enemy into the air.
            cast-item: 285
            cooldown: 10
            range: 15
            damage: 1
            horizontal-force: 30
            vertical-force: 15
            obey-los: true
            target-players: true
            check-plugins: true
            cost:
                - mana 20
            str-cost: 20 mana
            str-cast-self: You push back your enemy!
            str-cast-others: "%a pushes back his enemy."
        frostwalk:
            name: frostwalk
            description: Necromancy Lets you walk on water.
            cast-item: 294
            size: 2
            leave-frozen: false
            cooldown: 30
            cost:
                - mana 20
            use-cost:
                - 10 1
            use-cost-interval: 50
            str-cost: 20 mana plus 10 every 50 blocks
            str-cast-self: You can now walk on water!
            str-cast-others: "%a can now walk on water!"
            str-fade: You can no longer walk on water.
        gate:
            name: gate
            description: Ancient Magicks - Rip open a path throught the universe to spawn.
            can-cast-with-item: false
            world: CURRENT
            coordinates: SPAWN
            use-spell-effect: true
            cost:
                - mana 125
            str-cost: 125 mana use with caution!
            str-cast-self: You have teleported to spawn.
            str-cast-others: "%a teleports!"
            str-gate-failed: Unable to teleport.
        geyser:
            name: geyser
            description: Create a geyser of water at your enemy's feet.
            cast-item: 283
            range: 20
            damage: 0
            velocity: 10
            animation-speed: 2
            geyser-height: 4
            geyser-type: water
            obey-los: true
            target-players: false
            check-plugins: true
            cost:
                - 331 2
            str-cost: 2 redstone dust
            str-cast-self: You create a geyser at your enemy's feet.
            str-no-target: No target found.
        gills:
            name: gills
            description: Necromancy - Allows you to breath underwater.
            cast-item: 294
            glass-head-effect: true
            cooldown: 60
            duration: 300
            num-uses: 5
            cost:
                - mana 30
            use-cost:
                - mana 10
            use-cost-interval: 15
            str-cost: 30 mana plus 10 every few seconds
            str-cast-self: You form gills on your neck!
            str-fade: Your gills disappear.
        heal:
            name: heal
            description: Wizardry - Heals a target player.
            cast-item: 294
            heal-amount: 5
            obey-los: true
            cooldown: 0
            range: 12
            cost:
                - mana 20
            str-cost: 20 mana
            str-cast-self: You have healed %t.
            str-cast-target: "%a has healed you."
            str-no-target: No target to heal.
            str-max-health: "%t is already at max health."
        invulnerability:
            name: invulnerability
            description: Necromancy - Makes you invulnerable to damage.
            cast-item: 285
            damage-causes:
                - block explosion
                - contact
                - drowning
                - entity attack
                - entity explosion
                - fall
                - fire
                - fire tick
                - lava
                - lightning
                - suffocation
            duration: 20
            cost:
                - mana 30
            use-cost:
                - mana 10
            use-cost-interval: 5
            str-cost: 30 mana plus 10 occasionally
            str-cast-self: You feel your skin harden.
            str-cast-others: "%a's skin hardens."
            str-fade: You feel your skin return to normal.
        leap:
            name: leap
            description: Leap forward.
            cast-item: 280
            forward-velocity: 40
            upward-velocity: 15
            cancel-damage: true
            cooldown: 10
            cost:
                - 331 2
            str-cost: 2 redstone dust
            str-cast-self: You leap forward.
            str-cast-others: "%a leaps forward."
        lifewalk:
            name: lifewalk
            description: Flowers grow in your footsteps!
            cast-item: 317
            tick-interval: 15
            red-flower-chance: 15
            yellow-flower-chance: 15
            sapling-chance: 5
            tallgrass-chance: 25
            fern-chance: 15
            cost:
                - 331 2
                - 38 1
            use-cost:
                - 331 1
            use-cost-interval: 20
            str-cost: 2 redstone and 1 rose, plus 1 redstone every few seconds
            str-cast-self: Flowers grow in your footsteps!
            str-cast-others: Flowers grow in %a's footsteps!
            str-fade: Flowers no longer grow in your footsteps.
        lightning:
            name: lightning
            description: Wizardry - Call down lightning.
            cast-item: 283
            cooldown: 3
            range: 40
            additional-damage: 0
            no-damage: false
            require-entity-target: false
            obey-los: true
            target-players: true
            check-plugins: true
            cost:
                - mana 35
            str-cost: 35 mana
            str-cast-self: You call down lightning.
            str-cast-others: "%a calls down lightning."
            str-no-target: Unable to find target.
        lightwalk:
            name: lightwalk
            description: Light your path.
            cast-item: 317
            cost:
                - 331 3
                - 50 3
            use-cost:
                - 331 1
            use-cost-interval: 25
            str-cost: 3 redstone and 3 torches, plus 1 redstone occasionally
            str-cast-self: Light appears at your feet.
            str-fade: The light at your feet goes out.
        mana:
            name: lifetap
            description: Necromancy - Restores mana at the cost of life.
            cooldown: 3
            cast-item: 284
            mana: 25
            cost:
                - health 4
            str-cost: 2 hearts
            str-cast-self: You restore 25 mana.
        mark:
            name: mark
            description: Ancient Magicks - Quantum Marks your location for later recall.
            cooldown: 70
            permanent-marks: true
            cost:
                - mana 75
            str-cost: 75 mana
            str-cast-self: You have marked your location.
        minion:
            name: minion
            description: Necromancy - Summons an undead minion to aid you.
            cast-item: 286
            cooldown: 10
            duration: 90
            mob-chances:
                - Zombie 75
                - Skeleton 25
            prevent-sun-burn: true
            target-players: true
            cost:
                - mana 35
            str-cost: 35 mana
            str-cast-self: You summon an undead minion.
            str-cast-others: "%a has summoned an undead minion."
            str-fade: Your undead minion dies.
        pain:
            name: pain
            description: Necromancy - Cause your enemy pain.
            cast-item: 283
            cooldown: 5
            damage: 8
            range: 35
            obey-los: true
            target-players: true
            check-plugins: true
            cost:
                - mana 35
            str-cost: 35 mana
            str-no-target: No target found.
        prayer:
            name: prayer
            description: Wizardry Heals yourself for five hearts.
            cast-item: 38
            cooldown: 15
            amount-healed: 10
            cost:
                - 331 1
            str-cost: 1 redstone dust
            str-cast-self: You have healed yourself.
            str-at-full-health: You are already at full health.
        purge:
            name: purge
            description: Wizardry - Kill all monsters and animals around you.
            cast-item: 286
            cooldown: 30
            range: 20
            cost:
                - mana 25
            str-cost: 25 mana
            str-cast-self: You purge all life around you.
            str-cast-others: "%a purges all nearby life."
        recall:
            name: recall
            description: Ancient Magicks -  Rip open a path through space to your marked location.
            cooldown: 300
            max-range: -1
            allow-cross-world: true
            cost:
                - mana 125
            str-cost: 125 mana use sparingly!
            str-cast-self: You teleport to your marked location.
            str-no-mark: You have not marked a location to recall to.
            str-other-world: You cannot recall to another world.
            str-too-far: Your marked location is too far away.
            str-cast-others: "%a disappears!"
        reflect:
            name: reflect
            description: Reflect spells cast at you.
            cooldown: 30
            num-uses: 5
            cost:
                - 331 3
            use-cost:
                - 331 1
            use-cost-interval: 1
            str-cost: 3 redstone dust plus 1 redstone per spell reflected
            str-cast-self: You feel a magical barrier surround you.
            str-cast-others: A magical barrier surrounds %a.
            str-fade: Your magical barrier fades.
        repair:
            name: repair
            description: Repairs your gear.
            cooldown: 120
            to-repair:
                - held
                - hotbar
                - inventory
                - helmet
                - chestplate
                - leggings
                - boots
            cost:
                - 331 3
                - 265 1
            str-cost: 3 redstone dust and 1 iron bar
            str-cast-self: You've repaired your gear!
            str-nothing-to-repair: You have nothing to repair.
        safefall:
            name: safefall
            description: Wizardry Allows you to fall without taking damage.
            cast-item: 294
            cooldown: 60
            duration: 40
            num-uses: 5
            cost:
                - mana 30
            use-cost:
                - mana 15
            use-cost-interval: 1
            str-cost: 30 mana plus 15 each time you fall
            str-cast-self: You feel lighter.
            str-fade: Your normal weight returns.
        scroll:
            name: scroll
            description: Ancient Magicks - Create a limited use spell scroll.
            cast-for-free: true
            default-uses: 5
            max-uses: 6
            item-id: 339
            right-click-cast: true
            left-click-cast: false
            ignore-cast-perm: true
            set-unstackable: false
            charge-reagents-for-spell-per-charge: false
            require-teach-perm: true
            require-scroll-cast-perm-on-use: true
            str-scroll-over: "Spell Scroll: %s (%u uses remaining)"
            str-usage: |
                You must hold a single blank paper
                and type /cast scroll <spell> <uses>.
            str-fail: You cannot create a spell scroll at this time.
            str-no-spell: You do not know a spell by that name.
            str-cant-teach: You cannot create a tome with that spell.
            str-cast-self: You have created a spell scroll for %s.
            str-on-use: "Spell Scroll: %s used. %u uses remaining."
            str-use-fail: Unable to use this scroll right now.
        stealth:
            name: stealth
            description: Become invisible to monsters.
            cast-item: 280
            cooldown: 60
            duration: 20
            cost:
                - 331 3
            str-cost: 3 redstone dust
            str-cast-self: You become invisble to monsters.
            str-fade: You are no longer invisible to monsters.
        stonevision:
            name: stonevision
            description: See through stone.
            cast-item: 317
            range: 4
            transparent-type: 1
            cooldown: 60
            duration: 30
            cost:
                - 331 4
                - 1 2
                - 20 2
            str-cost: 4 redstone dust, 2 stone and 2 glass
            str-cast-self: You can see through stone!
            str-fade: You can no longer see through stone.
        summon:
            name: summon
            description: Wizardry Summon another player to your position.
            channel-time: 15
            req-participants: 2
            req-percent: 0
            max-distance: 10
            require-exact-name: false
            require-acceptance: true
            max-accept-delay: 90
            accept-command: accept
            str-usage: |
                Usage: /cast summon <playername>, or /cast summon
                while looking at a sign with a player name on the first line.
            str-no-target: Target player not found.
            str-too-far-away: You are too far away from the summoning ritual.
            str-start-channel: You begin to channel a summoning spell.
            str-moved: You have stopped channeling.
            str-spell-success: You have successfully summoned %k.
            str-summon-pending: You are being summoned! Type /accept to teleport.
            str-summon-accepted: You have been summoned.
            str-summon-expired: The summon has expired.
        sun:
            name: sun
            description: Changes the time to morning.
            channel-time: 30
            req-participants: 2
            req-percent: 35
            max-distance: 20
            time-to-set: 0
            str-too-far-away: You are too far away from the ritual.
            str-start-channel: You begin to channel the sun spell.
            str-moved: You have stopped channeling.
            str-spell-success: You have successfully called the sun.
            str-announce: The sun has suddenly appeared in the sky!
        telekinesis:
            name: telekinesis
            description: Wizardry Manipulate switches and buttons remotely.
            cast-item: 285
            cooldown: 15
            range: 20
            cost:
                - mana 10
            str-cost: 10 mana
            str-no-target: You must target a switch or button.
        tome:
            name: tome
            enabled: false
            description: Create a tome that teaches a spell.
            cancel-read-on-learn: true
            allow-overwrite: false
            max-uses: -1
            default-uses: -1
            require-teach-perm: true
            str-usage: "Usage: While holding a book, /cast tome <spell>"
            str-no-spell: You do not know a spell with that name.
            str-cant-teach: You cannot create a tome with that spell.
            str-no-book: You must be holding a book.
            str-already-has-spell: That book already contains a spell.
            str-already-known: You already know the %s spell.
            str-cant-learn: You cannot learn the spell in this tome.
            str-learned: You have learned the %s spell.
            str-cast-self: You have created a spell tome.
        volley:
            name: volley
            description: Necromancy - Send a volley of arrows at your targeted location.
            cast-item: 283
            cooldown: 45
            range: 30
            arrows: 10
            speed: 20
            spread: 150
            cost:
                - 331 3
                - 262 2
            str-cost: 3 redstone dust and 2 arrows
            str-cast-self: You fire a volley of magic arrows.
            str-cast-others: "%a fires a volley of arrows."
            str-no-target: No target found.
        walkway:
            name: walkway
            description: Summon a moving magical walkway to take you places.
            cast-item: 280
            cooldown: 60
            platform-type: 5
            size: 6
            cost:
                - 331 4
            use-cost:
                - 331 1
            use-cost-interval: 25
            str-cost: 4 redstone, plus 1 redstone every 25 blocks
            str-cast-self: You summon a magical walkway.
            str-fade: Your magical walkway disappears.
        wall:
            name: wall
            description: Ancient Magicks - Creates a temporary wall to block your enemies.
            cast-item: 280
            cooldown: 15
            range: 3
            wall-width: 5
            wall-height: 3
            wall-type: 45
            wall-duration: 15
            cost:
                - 331 2
                - 1 2
            str-cost: 2 redstone dust and 2 stone
            str-no-target: Unable to create a wall.
        zap:
            name: zap
            description: Instantly destroys a block.
            cast-item: 294
            cooldown: 0
            disallowed-blocks: 0,7
            range: 15
            cost:
                - 331 1
            str-cost: 1 redstone dust
            str-cast-self: You zapped a block.
            str-cant-zap: You can't zap that.
    
        external:
            name: gianttree
            enabled: false
            description: Create a giant tree!
            cooldown: 300
            can-cast-by-command: true
            can-cast-with-item: false
            command-to-execute:
                - "gt 25 4"
            command-to-execute-later: []
            command-delay: 0
            command-to-block:
                - "gt"
            temporary-permissions: []
            require-player-target: false
            obey-los: true
            range: 20
            cost:
                - 331 10
                - 6 5
            str-cost: 10 redstone dust and 5 saplings
            str-cast-self: You grow a tree!
            str-cant-use-command: "&4You don't have permission to do that."
    We are running bukkit 1185 and any help would be greatly appreciated.
     
  17. Offline

    polakman

  18. Offline

    nisovin

  19. I'm using warpz0rs warps on my server which uses "/ listwarps" to show all warps, "/setwarp <name>" to create a warp and "/warp <name>" to warp to the specified warpplace. If i would like to make this into a spell insted, how would I do that since it demands a <name> input from the player?

    I also haven't managed to make any spell use up mana.

    Btw. If i would have some ideas on things to add to this plugin, where would you like me to print them down? Here, in a private mess, by mail or would you prefer if i'd just keep them to myself? ;P
     
  20. Offline

    polakman

    and why did reflect and disarm spell dont works?
     
  21. Offline

    nisovin

    Your warp spell would look something like this:
    Code:
    external:
        name: warp
        description: Warp to a place
        cooldown: 60
        command-to-execute:
            - "warp %1"
        command-to-block:
            - "warp"
    (etc)
    
    Have you enabled the mana system and set mana costs for spells? The mana system should be working fine. If you have ideas, you can submit a ticket.

    I've tested both reflect and disarm and they seem to work fine. I can't tell you more than that without some more information.

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

    Thyrin

    I'm sorry, but I can't find where to do this:
    Note for 1.8: Please change the spells/scroll/stack-by-data-var option from bj to bs.

    Many spells are not working, nor throwing up any messages, but im guessing its because I didn't change that option yet.
     
  24. Offline

    nisovin

    That only fixes the problem with paper not stacking due to the scroll mechanics. It doesn't affect other spells at all. You can set it by just adding that option to the scroll spell's options.
     
  25. Offline

    Quizdonkey

    Is there any way to make cooldowns/reagent costs affect OP's as well?
     
  26. Offline

    nicrobkal

    I can't seem to download the config file. It just goes to a blank website. Otherwise, I bet it would be a fantastic plugin.
     
  27. Offline

    wooden_dinosaur

    nisovin, this is a must-have plugin. I have a few suggestions if they are possible?
    1. Could you make it to where only known, cast-able spells are cycled thru on wand item? (not every spell you know) i.e situations where you may know the spell but are forbidden to cast it. So disallow cycling to it in this event.
    2. Could you add optional channel-time to all spells?
    3. Could you make granting spells a toggle so that you could actually remove the spell from their grant list in game?

    If I have overlooked ways to do any of these, anyone feel free to let me know.

    Edit: oh and its not a big deal, but if you cycle to no spell readied with a cast-item, you cannot Shift-click to the previous (last) in the list. I don't know if this was intended or not.

    Thanks again!
     
  28. Offline

    LucidLethargy

    Last I checked on 1185 spells would no longer go away after their timers went out... so people could fly and do things I have made available indefinitely. Has this been fixed, or is this a known issue that's being worked on? I use spout as well if that has anything to do with it, however I have not tested after my initial test on the dev build of the spout server client.
     
  29. Offline

    nisovin

    The default config will automatically be created when the plugin first loads.
    1. I can add this.
    2. Maybe, but it's not a high priority.
    3. No. There's no way for me to tell when another plugin has removed a permission, so it's impossible to make this dynamic. This is what the "forget" spell is for.
    This is not a known issue. I need to know the usual stuff: plugin version, config file, etc. Including additional information, your problem isn't entirely clear.
     
  30. Offline

    ClickCraft

    I wonder if you think about using the plugin Ultraitems to add new items to the Mana Potion.

    With Essentials, it recognizes the new item as a data value (equal to the lapis lazuli 351:4). But MagicSpells can not recognize.
    This is going to be perfect to do it!
     
  31. Offline

    Dalinius

    I am having some difficulty in creating scrolls or tomes that can be sold using my server's store plugin. The commands to make the scrolls and tomes seem to work fine, but I cannot seem to get these items to work within the store plugin.

    I currently use RealShop for my store plugin, but I also tried using Showcase and I am not able to get this to work in either plugin. Is there some basic setup I am missing, or is their a preferred store plugin to use with this? I am willing to switch store plugins if I can get one that will work with scrolls and tomes.

    Other than my inability to figure out how to sell scrolls and tomes, this plugin has been running great and my users are having a blast testing out all of the spells. Thanks for a great plugin.
     

Share This Page