Inactive [FUN] MagicSpells - Add magic to your server

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

  1. Offline

    nisovin

    MagicSpells - Add magic to your server!

    View the plugin on BukkitDev!

    MagicSpells is a plugin that creates spells your players can use. Its main purpose is to give your players access to certain abilities that you might not want to give them unlimited access to. Each spell can be assigned customized reagent (item) costs, cooldowns. durations, ranges, and so on. Spells can be cast by using the /cast command, swinging a wand, or both. It's all customizable.

    Download

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

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

    MagicSpells Plugin Manual

    Usage

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

    Bob can now use the blink spell. He can either cast it by command, by typing /cast blink, or he can cast it with a wand item. To select the spell, he holds the wand in his hand and right clicks. Right clicking will cycle through any spells assigned to the item he is holding. When he has the one he wants, he left clicks to cast.

    If Bob does not have the required reagents for the spell, or if he has cast it recently and it is still on cooldown, he will not be able to cast the spell and will instead receive an error message.

    If mana is enabled, a player can use the /mana command to see how much mana they currently have.

    Spells

    View Spell List

    Configuration

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

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

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

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

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

    Frequently Asked Questions

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

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

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

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

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

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

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

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

    Change Log

    View full change log



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

    nisovin

    I really don't know what would cause this error. Have you tried redownloading and reinstalling the plugin? Perhaps your configuration has an issue that's causing this?
    None of those permissions actually give a player a spell. You either need to teach the spells or give them grant permissions, as the first post says.
     
  3. Offline

    bradgillap

    I was planning on generating a new map for 1.8 and going near vanilla with a few admin mods but this plugin looks so fantastic and fun that I'm now thinking of building an entire world and story around it. So if a mod has a spell can they automatically teach it or can I limit them to use and not allow them to teach everything?
     
  4. Is there a way to make it so, Spells that creates blocks, can't drop items if destroyed?

    Like if I cast Wall, someone can destroy a piece of it, and it drops an item.

    This could cause the farming of items haha
     
  5. Offline

    Syd

    Is it possible to change the block destruction behavior of fireball?
     
  6. Offline

    lolwizard

    dunno i disabled it overnight and now now it works just fine :confused: thanks this is the future of my server. (all my players are beging to be "wizards" xD

    one question: say i want mana. i want people to be able to do something with a block #36 and regain mana. hwo do they do this ingame? i have the config done (mana-potions: - 36 10) so if i missed it in the post sorry

    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

    There is no block 36. You have to use a real item.
     
  8. Offline

    Hex

    Pain isnt working on players even though Target Players is enabled.
     
  9. Offline

    nisovin

    I've just tested this and it seems to work fine. Do you have check-plugins set to true? Is another plugin preventing player damage?
     
  10. Offline

    Hex

    I dont think there is. The other skills worked fine.
     
  11. Offline

    nisovin

    Set check-plugins to false and let me know if it starts working.
     
  12. Offline

    Hex

    Still doesnt work. I use up the mana but the enemy doesnt get damaged.
     
  13. Offline

    nisovin

    Another plugin must be blocking it. There's no other explanation.
     
  14. Offline

    lolwizard

    what about... is it possible to add custom spells?
     
  15. Yes.

     
  16. Offline

    PandaC0mmander

    hey man, were having the problem as when we change someones class, aka a permissions group. They still keep the spells from before, any ideas?

    Thanks
    -Dan
     
  17. Offline

    nisovin

    This plugin is based around players learning spells. Using the grant permission gives the player that spell, it adds it to their list of known spells. Taking that permission away doesn't automatically remove that spell, they've still learned it. You can use the 'forget' spell to make players forget spells if you want.
     
  18. Offline

    martinherrmann

    no no.
    okay thats what i do:

    i create a new paper:
    /i 339
    hold it in my hands
    then type:
    /cast scroll -base blink

    nothing happens

    but works with:
    /i 339
    hold it in my hands
    type in:
    /cast scroll blink
    (default uses number created here)
    and then you see the the paper is switching in you hand like the animation to switch to another tool.

    that not happens with the base scroll and i just hold the newly created paper with no functions.
    there are no tools bind on it or stuff like this.
     
  19. Offline

    nisovin

    Ah, I see. I actually made this op-only, so if you aren't a server op it won't work. This will be changing in a future version.
     
  20. Offline

    martinherrmann

    i'm the Host.
    so i'm the Admin.
     
  21. Offline

    nisovin

    But are you an op?
     
  22. Offline

    martinherrmann

    sure!
    in the ops.txt file

    that is btw not so important.
    i learned to get use of Permissions so i can give players just what i want them to do.
    it has a more stylish thing and i'm gonna try it to just /cast bind it. and /cast teach them just the spells and give them the permissions.

    you're Plugin is great!
    i rly like it so my posts are not negative in any way :)
     
  23. Offline

    Dee508

    10/10 rating good plugin :D
     
  24. Offline

    jonathan edel

    Hello, I am having some problems with this plugin. It says ops can use all spells, I have the .jar file and configuration file in the plugins folder. No error messages have popped up however I still cannot use any spell at all after updating this plugin. Do you know what the problem is?
     
  25. Offline

    bradenwhw

    I'm having trouble setting up a No-Magic Zone. I've added the coordinates of the cuboid, and formatted it at the end of my config file, but absolutely nothing works. Here's my config file with the no-magic-zone configuration added to the end like you said.
    Code:
    general:
        debug: false
        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-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
        use-permissions: false
        ops-have-all-spells: true
        cast-for-free:
            - bradenwh
            - h0llandaise
            - lexiavery
            - asharwood
            - dannyswrld
            - FtotheYeah
            - wileycp
        cast-no-cooldown:
            - bradenwh
            - h0llandaise
            - lexiavery
            - asharwood
            - dannyswrld
            - FtotheYeah
            - wileycp
        ignore-default-bindings: true
        mana:
            enable-mana-bars: false
            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.
            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.
            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: 280
            cooldown: 8
            range: 100
            smoke-trail: true
            cost:
                - 331 2
            str-cost: 2 redstone dust
            str-cast-self:
            str-cast-others:
            str-cant-blink: You cannot blink there.
        build:
            name: build
            description: Build blocks from far away.
            cast-item: 294
            cooldown: 2
            range: 100
            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.
        combust:
            name: combust
            description: Set a target on fire.
            cast-item: 283
            cooldown: 10
            range: 50
            obey-los: true
            fire-ticks: 100
            target-players: true
            check-plugins: true
            cost:
                - 331 1
                - 263 1
            str-cost: 1 redstone dust and 1 coal
            str-no-target: No target found.
        drainlife:
            name: drainlife
            description: Drain life from your enemy and give it to you.
            cast-item: 283
            cooldown: 5
            range: 50
            damage: 5
            heal: 5
            animation-speed: 2
            obey-los: true
            target-players: true
            check-plugins: true
            cost:
                - 331 2
            str-cost: 2 redstone dust
            str-cast-self:
            str-no-target: No target found.
        entomb:
            name: entomb
            description: Encase an enemy in glass.
            cast-item: 280
            cooldown: 5
            range: 50
            obey-los: true
            target-players: true
            tomb-block-type: 20
            tomb-duration: 15
            cost:
                - 331 3
                - 20 1
            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: 50
            explosion-size: 4
            backfire-chance: 0
            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:
            str-cast-others:
        fireball:
            name: fireball
            description: Throw a fiery ball of destruction.
            cast-item: 283
            cooldown: 15
            range: 50
            require-entity-target: false
            obey-los: true
            target-players: true
            check-plugins: true
            additional-damage: 0
            no-fire: false
            cost:
                - 331 3
                - 263 2
            str-cost: 3 redstone dust and 2 coal
            str-no-target: You cannot throw a fireball there.
            str-cast-self:
            str-cast-others:
        firenova:
            name: firenova
            description: Summon an expanding ring of fire.
            cast-item: 283
            cooldown: 10
            range: 20
            tick-speed: 10
            check-plugins: true
            cost:
                - 331 2
                - 263 1
            str-cost: 2 redstone dust and 1 coal
            str-cast-self:
            str-cast-others:
        flamewalk:
            name: flamewalk
            description: Burn your enemies around you as you walk.
            cast-item: 317
            cooldown: 30
            range: 8
            fire-ticks: 100
            tick-interval: 100
            target-players: false
            duration: 120
            cost:
                - 331 5
                - 263 2
            use-cost:
                - 331 1
            use-cost-interval: 15
            str-cost: 5 redstone, 2 coal, plus 1 redstone 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: 280
            cooldown: 8
            range: 20
            pushback-force: 30
            additional-vertical-force: 50
            max-vertical-force: 50
            target-players: true
            cost:
                - 331 3
            str-cost: 3 redstone dust
            str-cast-self:
            str-cast-others:
        frostwalk:
            name: frostwalk
            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
            description: Teleport to spawn.
            can-cast-with-item: true
            world: World1
            coordinates: 293,78,-161
            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: 283
            range: 50
            damage: 0
            velocity: 20
            animation-speed: 4
            geyser-height: 50
            obey-los: true
            target-players: true
            check-plugins: true
            cost:
                - 331 2
            str-cost: 2 redstone dust
            str-cast-self:
            str-no-target: No target found.
        gills:
            name: gills
            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: 280
            heal-amount: 10
            obey-los: true
            cooldown: 0
            range: 12
            cost:
                - 331 2
            str-cost: 2 redstone dust
            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: 280
            damage-causes:
                - block explosion
                - contact
                - drowning
                - entity attack
                - entity explosion
                - fall
                - fire
                - fire tick
                - lava
                - lightning
                - suffocation
            duration: 60
            cost:
                - 331 5
            use-cost:
                - 331 1
            use-cost-interval: 5
            str-cost: 5 redstone dust, plus 1 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:
            str-cast-others:
        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: Call down lightning.
            cast-item: 283
            cooldown: 15
            range: 20
            no-damage: false
            require-entity-target: false
            obey-los: true
            target-players: false
            check-plugins: true
            cost:
                - 331 2
            str-cost: 2 redstone dust
            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.
        mark:
            name: mark
            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: 280
            cooldown: 60
            duration: 60
            mob-chances:
                - Zombie 75
                - Skeleton 25
            prevent-sun-burn: true
            target-players: false
            cost:
                - 331 2
                - 352 1
            str-cost: 2 redstone dust and 1 bone
            str-cast-self:
            str-cast-others:
            str-fade: Your undead minion dies.
        pain:
            name: pain
            description: Cause your enemy pain.
            cast-item: 283
            cooldown: 5
            damage: 3
            range: 50
            obey-los: true
            target-players: true
            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: 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: Kill all monsters and animals around you.
            cast-item: 283
            cooldown: 60
            range: 25
            cost:
                - 331 3
            str-cost: 3 redstone dust
            str-cast-self:
            str-cast-others:
        recall:
            name: recall
            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!"
        safefall:
            name: safefall
            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
            item-id: 339
            right-click-cast: true
            left-click-cast: false
            set-unstackable: 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-cast-self: You have created a spell scroll for %s.
            str-on-use: "Spell Scroll: %s used. %u uses remaining."
        stealth:
            name: stealth
            description: Become invisible to monsters.
            cast-item: 280
            cooldown: 60
            duration: 120
            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: Summon another player to your position.
            channel-time: 30
            req-participants: 1
            req-percent: 0
            max-distance: 800
            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: 1
            req-percent: 0
            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: Manipulate switches and buttons remotely.
            cast-item: 280
            cooldown: 15
            range: 20
            cost:
                - 331 1
            str-cost: 1 redstone 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
            str-usage: "Usage: While holding a book, /cast tome <spell>"
            str-no-spell: You do not know a spell with that name.
            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: 283
            cooldown: 45
            range: 50
            arrows: 25
            speed: 20
            spread: 150
            cost:
                - 331 3
                - 262 2
            str-cost: 3 redstone dust and 2 arrows
            str-cast-self:
            str-cast-others:
            str-no-target: No target found.
        wall:
            name: wall
            description: Creates a temporary wall to block your enemies.
            cast-item: 280
            cooldown: 15
            range: 5
            wall-width: 5
            wall-height: 5
            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.
        windwalk:
            name: windwalk
            description: Lets you walk on a platform of air.
            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.
        zap:
            name: zap
            description: Instantly destroys a block.
            cast-item: 294
            cooldown: 0
            disallowed-blocks:
            range: 50
            cost:
                - 331 1
            str-cost: 1 redstone dust
            str-cast-self:
            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-block: gt
            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.
     
    no-magic-zones:
            - worldguard:world:test-zone
            - cuboid:723,82,-182:636,82,-267
    Any idea what's wrong here? I've tried everything I can think of. Any help would be greatly appreciated. Thanks.
     
  26. no-magic-zones:
    - cuboid:723,82,-182:636,82,-267

    u only use one or the other.
     
  27. Offline

    bradenwhw

    I've tried that also. Still no luck.
     
  28. Offline

    nisovin

    Set the debug option in the config to true and let me know what it says on the console when you log in.
    Your coordinate y values are the same, so your region is completely flat. Try giving it some height by changing the y values.
     
  29. Offline

    bluzen

    Love the plugin! Is there any way to check the reagent costs for scrolls (for players that haven't actually learned the spell and can't just use /cast help), or to limit creating scrolls to only the spells a player knows? strictly limiting .cast permissions works but that won't let them use other scrolls they acquire. If not these would be really nice additions.
     
  30. Offline

    zephi

    Currently, unless my permissions are all wrong, it's working like this:

    Person A with access to scroll and fireball creates a 1 charge scroll of fireball
    Person B takes scroll and tries to use but cannot without magicspells.cast.fireball

    Would it be possible to make a magicspells.cast.scroll.use permission to allow people to use the scroll without requiring the actual spell?
     
  31. What you can do is use PermissionsBukkit for your permissions and set the 'ignore-cast-perm' under the scrolls spell to true. If you do that scrolls will no longer require the cast permission.
     

Share This Page