Code Monkey home page Code Monkey logo

magicplugin's Introduction

Magic

Magic plugin for CraftBukkit/Spigot. Adds powerful magic wands and items to your server.

Players may obtain or craft wands that can past a variety of configurable spells.

Download

Distributed through BukkitDev: https://dev.bukkit.org/projects/magic

Distributed through Spigot: https://www.spigotmc.org/resources/magic.1056/

Usage

FAQ: https://github.com/elBukkit/MagicPlugin/wiki/FAQ

Wiki: https://github.com/elBukkit/MagicPlugin/wiki

Reference: http://reference.elmakers.com/

Config info: http://magic.elmakers.com/

Compile

Requires recent Java 8 JDK. Import directly as Maven Project. Build against parent with clean install

Credits

  • Lead Developer: NathanWolf
  • Contributing Developers:
    • killme
    • dumptruckman
    • S-Toad
    • Boosik
    • Dr00bles
    • grisstyl

Please see README.md in the resource packs for artist credits!

https://github.com/elBukkit/MagicPlugin/blob/master/Magic/src/resource-pack/default/README.md

Notes on Spell Icons

Some of the spell icons contained in this plugin are used with permission from eleazzaar's Painterly Spell Icons pack:

http://opengameart.org/content/painterly-spell-icons-part-1

This pack is licensed under Creative Commons 3.0, any re-use needs to fall under that license and not the less-restrictive MIT license that covers the rest of the Magic source code and assets.

Issues

Issues, feature requests, or suggestions for this plugin should be made at our issue tracker:

https://github.com/elBukkit/MagicPlugin/issues

magicplugin's People

Contributors

aikovdp avatar alexayalamcs avatar brushette avatar chancesd avatar clexus avatar cpaca avatar dependabot[bot] avatar droobledore avatar dumptruckman avatar gaoxansheng avatar iamyou avatar joshiosofficial avatar killme avatar legoajc avatar lordboos avatar nathanwolf avatar nightscythe1 avatar phvntxmx avatar pikamug avatar qsefthuopq avatar yanisbft avatar yumjunstar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

magicplugin's Issues

[Spell Parameter] Health cost

Hello,
I would like to know if there is a way to make a spell cost some health to the caster, as blood magic that costs blood, and Thaumcraft magic which costs vis. If there isn't any current way to make that, could you please create one ? I find that more role play to have a couterpart at spellcasting.
Best regards,
Elsopeen

Spells upgrade

In the config. there's an option that says "Enable automatic spell upgrades"
If I disable it, spells wont upgrade by using them. However, I cant now give them upgrades spells by command. So if that option is disabled, I'm stuck with level 1 for ALL the spells. I dont want to enable it because I have like classes and some are cheap with weak spells, others are expensive and have powerful spells (higher level)
Please fix

Magic Item Shop issue

Hello,
I found a bug with the Magic Item Shop spell when some of my players tried to buy something. I bound a NPC to the spell with the Magic integration of NPC plugin. When someone open the shop, the number of emerald in the inventory is marked as 0, while we have some. Unfotunately, this bug doesn't generate an error log in the console. I casted the spell without the NPC and it doesn't found my emerald in my inventory. I check the config files (default and custom ones) to see if I already modified something with the money but I didn't.
So, could you help me with this problem please ?
Best regards,
Elsopeen

1.9

Hello,

since updating to CB 1.9, and Magic accordingly, I get the following warn from console:

[Server thread/WARN]: [Magic] Unknown effect type explosion_huge

Smoothing Spell

Hello,
I write this to suggest a new kind of spell that would be like the smooth tool of World Edit. As Magic has already an integration with World Edit, I thought that adding that tool to sorcerers could be great. I don't know if it is possible, but I think that would be great, players doing terraforming quicker than manually.
I hope this spell could be created,
Best regards, and good luck if you think you can create it,
Elsopeen

Problems With showing SP

Hi NAthan, I love your plugin on PotterWorldMC, So i decided to apply it to my own server, but I am already having problems. I watched your video on Bukkit Dev, and noticed on your XP Bar, it had a number above, which is your SP, but that isnt showing on my server. Also, when you right click, it brings up the wand menu instead of putting it in your hot bar, how do i configure it to put spells into hotbar instead of the menu?

World Guard for terrain affecting spells

Hello.

I'm facing a problem where normal players are unable to cast terrain affecting spells. Like Grenade spell witch tosses a primed tnt that destroys terrain; and rolls it back afterwards.

Players who try to cast such spells get the error message "You don't have permission to cast that here".

I've tried to look for the permission for that but I couldn't find it.
Could you please help me?

Upgrading Wand through purchasing all available spells lose some spells

Environment

  • Spigot 1.8.8
  • Magic 5.4 (latest!)
  • Some spells are disabled

config.yml

welcome_wand:
load_default_crafting: false
enable_combining: false
enable_binding: true
enable_keeping: false
keep_wands_on_death: true
allow_spell_dropping: true
default_wand_mode: "chest"
regenerate_while_inactive: false
worth_base: 1
worth_sp: 5
sp_enabled: true
sp_display: "none"

Steps

  • /wand
  • /mage configure sp 10000
  • Keep buying Spells
  • Buy the last spell, wand upgraded

Expected

  • Upgraded wand keeps all existing spells

Actual

  • Upgraded wand claims to have all existing spells, but some spells are missing in spell selection screen

Screenshots

Default wand before upgrade to student

default_wand_before_upgrade

Default wand after upgrade to student

student_wand_by_upgrade

Student wand get by command

student_wand_by_command

Automata haven't the permissions to be casted

Hello again,
I created a world with MagicWorlds to have a "corrupted-by-magic" world on which sorcerers would be able to fight against the automatas, but the command blocks say in output that they don't have the permission to cast their spell in this world, whatever the area. Here is the visual proof of that:
2016-03-12_11 09 58
I don't think it can be from my permissions because I defined that in this world, these spells (automata ones) can be casted. Maybe it's a commandBlock permission that I haven't noticed...
Hoping you'll be able to help me with that,
Best regards,
Elsopeen

More like a question... Not really an issue...

Is it possible that I can make an empty hand act like a wand? I want to have it so when you shift+right click with an empty hand it will turn on particles around you and have it so when you right click after that, it opens the spell inv; then you shift+ right click again with an empty hand to turn off the particles and you can't access the spell inventory anymore until you activate it again. Just wondering if this is possible without coding... If it does require coding, how would I do it myself (if possible)?

Edit: I want this to be for me only- Not added to the plugin for everyone unless it already technically is through default configuration without coding

Problem with Smite (lightning) spell

We have a problem with the spell Smite : players can't cast this spell because they haven't got the permission to cast it in an area that doesn't allow them to build. In other terms, where they can't build, they can't cast the spell.

This include, for instance, warzone claims and WorldGuard protected arenas.
We can't deactivate the "region manager" because we still need it for other spells, we just want to know how we can allow players to use this specific spell in protected areas.

Commands wont run/work

Hello,

ive read an earlier post about commands showing, but not working.
I do however have the same. But i cant see anything in the log that has errors,
I have spigot 1.8 and Magic 5.4

Is there any compatibillity issue list?

HP spell vendor.

Hi, I would like to report an issue with the spell shop in HP configs. Whenever I get a wand with /wand, and go to the vendor and right click to buy year 1 spells, it lets me. then once I have all Y1 spells except alohomora, it says there are no more spells to learn here. when I go to enchant it it says I need alohomora to advance. once I am at year 2 I go through the same process. but other players on my server can only get year 1 spells then it says there are no more spells for you too buy here. whereas I can get spells up to graduates. do you know why this is?? Thanks.

Please, ... I need some help here,,

I have my own RPG server with custom Spells e.t.c.. I used another plugin called More Items , but when i saw this one... I wanted to add it like crazy...so do I, but the problem is , any command i do, for example /mitem add and any other command the site says, it just keeps showing the list of the commands... please help me, and if needed i can pay you to help me..Thx.. (Just to know, what i want is to make some items with custom powers, not Full mage system, you know, basic stuff, hold the item, right click to cast the spell , with cooldown e.t.c.. what i really liked was the ''Power'' or ''Spells'' this plugin has... tell me if thats possible to do...)

Wrong costs at shop

Hello,
I changed the worth of items in the spell "magicitemshop" but every price is not what I defined.
Here is the worths I configured in the "spells.yml" file:
magicitemshop:
parameters:
use_items: true
items:
- item: wand|camera
cost: 14
- item: none
- item: wand|ocarina
cost: 10
- item: hylian_shield
cost: 75
- item: wand|goggles
cost: 14
- item: wand|divinghelmet
cost: 25
- item: wand|magichat
cost: 30
- item: none
- item: none
- item: none
- item: wand|wizardhelmet
cost: 40
- item: wand|wizardchestplate
cost: 40
- item: wand|wizardleggings
cost: 40
- item: wand|wizardboots
cost: 40
- item: wand|apprenticehelmet
cost: 2
- item: wand|apprenticechestplate
cost: 2
- item: wand|apprenticeleggings
cost: 2
- item: wand|apprenticeboots
cost: 2
- item: none
- item: wand|rabbitboots
cost: 120
- item: wand|rocketboots
cost: 250
- item: wand|hulkboots
cost: 100
- item: wand|flashboots
cost: 150
- item: wand|clericchestplate
cost: 250
- item: wand|magneticleggings
cost: 500
- item: none
- item: none
- item: none
- item: none
- item: none
- item: none
- item: wand|invisiblecloak
cost: 120

And here is a screenshot of what I get :
2016-04-03_15 09 55

I hope you'll can help me in this problem, because it can ruin our economy system...
Waiting for your answer,
Best regards,
Elsopeen

Keep items on death causes duplicates w/ plugin 'DeathControl'

I've noticed that items like the wands and the master sword stay bound to the player on death. However I'm using this plugin that allows you to pay to automatically return all of your items back to you. This means Magic is keeping an item (i.e. a wand) and DeathControl makes it again.
The DeathControl plugin has a filter list and so far i have filtered out 'wooden hoe' and 'golden sword' so that theses items will not duplicate. However as I implement more of the custom items you have created (the diving helmet for instance) - these items are duping as well.

So I have two options - filter more of the custom items with DeathControl or see if there is a way in the Magic config to prevent items staying on the player upon death. What do you recommend?

Thank you very much for your time and this amazing plugin - its one of the best that has ever existed.

Broom doesn't fly anymore

Hello,
I want to signal that the brooms (and the spells "broom" and "superbroom") doesn't work anymore. Before the 1.9 update, they worked fine, but now, none works at all. The spells create the ridable entities, but they don't fly and so Sorcerers cannot travel with upgraded or not brooms. Unfortunately, there isn't any error log in the console, so I can't provide you one.
Hoping you'll find a way to fix this issue,
Best regards,
Elsopeen

Materials.yml does not accept alternate block types

Using smooth_brick works but only on plain stone brick. Stone brick variants (cracked, mossy, etc), are not covered by this. smooth_brick:2 and smooth_brick|2 ought to make it work for cracked brick but it doesn't work for any of them when using it that way.

Magic work problem

Hi! I have problem with this plugin on my server. Wands don't work as they should. I can't enchant them, right-click don't work, left-click work only if targeted. Some of spells and recipes don't work. It's seem like just half of plugin works.
I have server on bukkit,version 1.9, plugin's version 6.0.9.

Spells have red number? Brooms and Shops.

Hello, this plugin is so cool almost everything works fine but brooms are crashing everytime i cant just fly around. How do i fix this? And some spells don't work in survivalmode inventory they have a red 0 on the item. Can i fix this? I want to have shops that sell spells and wand upgrades how do i make that? I hope my issues will be fixed!

LibsDisguises

Disguise:
Type: player
Player: "&9&lNick"
Skin: "Mattan"

> [23:03:45 INFO]: java.lang.reflect.InvocationTargetException
> [23:03:45 INFO]:        at sun.reflect.GeneratedMethodAccessor437.invoke(Unknown Source)
> [23:03:45 INFO]:        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [23:03:45 INFO]:        at java.lang.reflect.Method.invoke(Method.java:498)
> [23:03:45 INFO]:        at me.libraryaddict.disguise.utilities.DisguiseUtilities.refreshTrackers(DisguiseUtilities.java:760)
> [23:03:45 INFO]:        at me.libraryaddict.disguise.disguisetypes.Disguise.startDisguise(Disguise.java:753)
> [23:03:45 INFO]:        at me.libraryaddict.disguise.DisguiseAPI.disguiseEntity(DisguiseAPI.java:162)
> [23:03:45 INFO]:        at me.libraryaddict.disguise.DisguiseAPI.disguiseToAll(DisguiseAPI.java:233)
> [23:03:45 INFO]:        at net.elseland.xikage.MythicMobs.Compatibility.LibsDisguisesSupport.setDisguise(LibsDisguisesSupport.java:604)
> [23:03:45 INFO]:        at net.elseland.xikage.MythicMobs.Skills.Mechanics.DisguiseSkill.cast(DisguiseSkill.java:23)
> [23:03:45 INFO]:        at net.elseland.xikage.MythicMobs.Skills.SkillMechanic.executeNoTargetSkill(SkillMechanic.java:362)
> [23:03:45 INFO]:        at net.elseland.xikage.MythicMobs.Skills.SkillMechanic.executeSkills(SkillMechanic.java:302)
> [23:03:45 INFO]:        at net.elseland.xikage.MythicMobs.Skills.SkillMechanic.execute(SkillMechanic.java:160)
> [23:03:45 INFO]:        at net.elseland.xikage.MythicMobs.Skills.Skill.ExecuteTimerSkills(Skill.java:574)
> [23:03:45 INFO]:        at net.elseland.xikage.MythicMobs.Skills.Skill.RunTimerSkills(Skill.java:544)
> [23:03:45 INFO]:        at net.elseland.xikage.MythicMobs.Clock.MythicMobsAsyncClock.run(MythicMobsAsyncClock.java:23)
> [23:03:45 INFO]:        at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)
> [23:03:45 INFO]:        at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
> [23:03:45 INFO]:        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [23:03:45 INFO]:        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [23:03:45 INFO]:        at java.lang.Thread.run(Thread.java:745)
> [23:03:45 INFO]: Caused by: java.lang.IllegalStateException: Asynchronous player tracker clear!
> [23:03:45 INFO]:        at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:14)
> [23:03:45 INFO]:        at net.minecraft.server.v1_8_R3.EntityTrackerEntry.clear(EntityTrackerEntry.java:544)
> [23:03:45 INFO]:        ... 20 more
> 

Error in console

I don't know if this is the correct place, but I've been receiving an error while on Spigot 1.9, using Magic 6.0.2

28.03 07:41:03 [Server] ERROR Could not pass event PlayerInteractEvent to Magic v6.0.2
28.03 07:41:03 [Server] INFO org.bukkit.event.EventException
28.03 07:41:03 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-BT52_03_27.jar:git-Spigot-2038f4a-cac90f6]
28.03 07:41:03 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-BT52_03_27.jar:git-Spigot-2038f4a-cac90f6]
28.03 07:41:03 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-BT52_03_27.jar:git-Spigot-2038f4a-cac90f6]
28.03 07:41:03 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-BT52_03_27.jar:git-Spigot-2038f4a-cac90f6]
28.03 07:41:03 [Server] INFO at org.bukkit.craftbukkit.v1_9_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:231) [spigot-BT52_03_27.jar:git-Spigot-2038f4a-cac90f6]
28.03 07:41:03 [Server] INFO at net.minecraft.server.v1_9_R1.PlayerInteractManager.a(PlayerInteractManager.java:482) [spigot-BT52_03_27.jar:git-Spigot-2038f4a-cac90f6]
28.03 07:41:03 [Server] INFO at net.minecraft.server.v1_9_R1.PlayerConnection.a(PlayerConnection.java:888) [spigot-BT52_03_27.jar:git-Spigot-2038f4a-cac90f6]
28.03 07:41:03 [Server] INFO at net.minecraft.server.v1_9_R1.PacketPlayInUseItem.a(SourceFile:55) [spigot-BT52_03_27.jar:git-Spigot-2038f4a-cac90f6]
28.03 07:41:03 [Server] INFO at net.minecraft.server.v1_9_R1.PacketPlayInUseItem.a(SourceFile:11) [spigot-BT52_03_27.jar:git-Spigot-2038f4a-cac90f6]
28.03 07:41:03 [Server] INFO at net.minecraft.server.v1_9_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-BT52_03_27.jar:git-Spigot-2038f4a-cac90f6]
28.03 07:41:03 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_72]
28.03 07:41:03 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_72]
28.03 07:41:03 [Server] INFO at net.minecraft.server.v1_9_R1.SystemUtils.a(SourceFile:45) [spigot-BT52_03_27.jar:git-Spigot-2038f4a-cac90f6]
28.03 07:41:03 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:721) [spigot-BT52_03_27.jar:git-Spigot-2038f4a-cac90f6]
28.03 07:41:03 [Server] INFO at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot-BT52_03_27.jar:git-Spigot-2038f4a-cac90f6]
28.03 07:41:03 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [spigot-BT52_03_27.jar:git-Spigot-2038f4a-cac90f6]
28.03 07:41:03 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [spigot-BT52_03_27.jar:git-Spigot-2038f4a-cac90f6]
28.03 07:41:03 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_72]
28.03 07:41:03 [Server] INFO Caused by: java.lang.NullPointerException
28.03 07:41:03 [Server] INFO at com.elmakers.mine.bukkit.magic.listener.PlayerController.onPlayerInteract(PlayerController.java:347) ~[?:?]
28.03 07:41:03 [Server] INFO at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source) ~[?:?]
28.03 07:41:03 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_72]
28.03 07:41:03 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_72]
28.03 07:41:03 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-BT52_03_27.jar:git-Spigot-2038f4a-cac90f6]
28.03 07:41:03 [Server] INFO ... 17 more

Figured I should drop it here, if you need anything else, please ask. Have been using your plugin for a long time now and I'm still loving it the same, excellent work.

Spell blocks glitching inventory...

Hello. When I press Q, it switches to what I call my "spelll blocks", which is good. The problem comes because sometimes when I log out or switch worlds, then go back to my world with my wand, those spell blocks become ACTUAL ITEMS that I can select and it appears in my hand. When I press Q again, it goes back into the mode where they are just spells (spell select mode), but when I press Q again to go back to my inventory, my inventory is wiped clear, with nothing in it but my wand. I really hope I explaind this okay lol.

Commands didnt work

Hey so i installed the magic plugin and when i typed in any of the commands it just kept bring up the same list of commands could someone please tell me what im doing wrong

AreaEffectCloud (DragonBall) lasts permanently

The Dragonball spell seems to last permanently after its (first)? use. (Version 6.0.8 Magic, one version behind latest spigot build)
It doesn't seem to generate any errors in console.
The radius of the particles will slowly keep increasing, thus creating lag.
Hopefully you can put out a fix for this soon enough, thanks!

Suggestion - Teaming function

Hello there.
I use this plugin to play PvP, but this plugin seems not to have a teaming function.
So, using scoreboard, I created teams that friendly fire is disabled.

As a result, a magic can't damage players belonging to a team I belong, but a magic action affects them.
For example, even if players belong to the team, "homing" magic targets them.

I think a magic action shouldn't affect players belonging to the team.

Inventory conflict

Hi,
I know, that's the second ticket I open in two days, but I think that the website doesn't say in a good way how to configure easily this whole universe of items and spells.
I write this because there is a conflict between Multiverse-Inventories and Magic. When someone changes world, the server writes that it couldn't load the player's inventory through its .json file. And unfortunately, this conflict usually destroys the player's inventory and his bound enderchest. That's pretty annoying, especially when there is a huge number of sorcerers having the same problem.
Could you please try to make a compatibility between Magic and Multverse-Inventories ? That would help us a lot, and make that we don't have to give to players their stuff back anymore. And if you can, could you create any documentation about the plugin, more precise and easier to find than in a github please ?
Thanks for reading this post, and probably answering it,
best regards,
Elsopeen

Recall bug

Hello,
I have an issue with the recall spell : we've just change our server from bukkit to spigot and, since I added new warp points, the spells Recall, warpmenu and warpunlock were bugged.
Here is my spell configuration :
recall:
parameters:
delay: 500
commands:
hub:
name: BlueBoxCraft Hub
description: Retour au Hub
icon: nether_star
command: mvtp ASIKOO.XYZ
op: true
warps:
UTOPIA:
name: Utopia
description: Spawn d'Utopia
locked: false
icon: blaze_powder
ZI1:
name: Zone Industrielle 1
description: Usines de productions communes
locked: false
icon: furnace
ZI2:
name: Zone Industrielle 2
description: Usines de productions communes
locked: false
icon: piston
MAGIC:
name: Ecole de Magie
description: Venez apprendre la magie !
locked: false
icon: bookshelf
GALLIFREY:
name: Gallifrey
description: Planète des TARDIS
locked: false
icon: beacon
GAMING_ROOM:
name: Gaming Room
description: Lieu des mini-jeux
locked: false
icon: emerald_block
MUSEUM-PPM:
name: Musee des Items Uniques
description: Cree par Pordrack, Play-Mobile et Moshito
locked: false
icon: gold_block

And here is the error when we cast this spell :
[15:40:59 INFO]: Elsopeen issued server command: /cast recall
[15:41:00 WARN]: [Magic] Task #74 for Magic v5.5-SNAPSHOT generated an exception
java.lang.NullPointerException
at com.elmakers.mine.bukkit.block.MaterialAndData.getItemStack(MaterialAndData.java:490) ~[?:?]
at com.elmakers.mine.bukkit.action.builtin.RecallAction.perform(RecallAction.java:559) ~[?:?]
at com.elmakers.mine.bukkit.action.ActionContext.perform(ActionContext.java:38) ~[?:?]
at com.elmakers.mine.bukkit.action.ActionHandler.perform(ActionHandler.java:237) ~[?:?]
at com.elmakers.mine.bukkit.batch.ActionBatch.process(ActionBatch.java:30) ~[?:?]
at com.elmakers.mine.bukkit.magic.Mage.processPendingBatches(Mage.java:881) ~[?:?]
at com.elmakers.mine.bukkit.magic.MagicController.processPendingBatches(MagicController.java:1065) ~[?:?]
at com.elmakers.mine.bukkit.magic.BatchUpdateTask.run(BatchUpdateTask.java:12) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) ~[minecraft_openmod.jar:git-Spigot-e4d4710-e1ebe52]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [minecraft_openmod.jar:git-Spigot-e4d4710-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723) [minecraft_openmod.jar:git-Spigot-e4d4710-e1ebe52]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [minecraft_openmod.jar:git-Spigot-e4d4710-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [minecraft_openmod.jar:git-Spigot-e4d4710-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [minecraft_openmod.jar:git-Spigot-e4d4710-e1ebe52]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45-internal]

Hoping you'll can find quickly the solution,
Best regards,
Elsopeen

Lore & potions effect (help)

Hello I need some help for 2 things :

Firslty, It seems I can't name a magic item with special color codes : for instance, I would like to create a wizzard helmet with a special name, which would appear in green and bold. How can I do that ? And if it is possible, is it also possible to sell a normal item in a NPC shop (let's say, an emerald), but that emerald would be renamed in bold and green ?

Also, I want to put a potion effect on a wand, but I can't set it to power 1 : it's always minimum power II (strength II, etc). If I try putting "night_vision:1", it will be 2. If I try putting "night_vision:2", it will be 3 : it's always one number above what I write, thus making it impossible to put an effect power 1 (even with decimals).

HP Brooms

Hi, I have the Harry Potter configs for your magic plugin, and I think I have found an issue with the brooms. whenever I try to fly, in creative or survival, the broom flies out of my hand, comes back down again and says:your broom quiets down.

Remove mana&Sp

Hello,I'm korean
I prepare an RPG server
My server will be buying skill and upgrade without enchanting
And Remove mana&Sp
I want only cooldown
But I can't this
I am bad at English
would you please help me?

Permission problem

Hi, it's me again. I have problem, my players can't use their wands - "You do not have permission to have that!"(They can only use Wolf Wand) I have Accentials and PermissionsEX plugin. I gave them Magic.wand.use permission.

Division by 0

Hello,
I have just update the plugin on my server to the latest build, and my players and I cannot cast any spell anymore. I'll check if something has changed in the default configurations, but when anyone cast any spell, we get that error :
[20:29:08 ERROR]: Could not pass event PlayerInteractEvent to Magic v6.1-SNAPSHOT
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[minecraft_openmod.jar:git-Spigot-a1b8bf3-f01861f]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[minecraft_openmod.jar:git-Spigot-a1b8bf3-f01861f]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [minecraft_openmod.jar:git-Spigot-a1b8bf3-f01861f]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [minecraft_openmod.jar:git-Spigot-a1b8bf3-f01861f]
at org.bukkit.craftbukkit.v1_9_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:231) [minecraft_openmod.jar:git-Spigot-a1b8bf3-f01861f]
at org.bukkit.craftbukkit.v1_9_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:198) [minecraft_openmod.jar:git-Spigot-a1b8bf3-f01861f]
at org.bukkit.craftbukkit.v1_9_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:194) [minecraft_openmod.jar:git-Spigot-a1b8bf3-f01861f]
at net.minecraft.server.v1_9_R1.PlayerConnection.a(PlayerConnection.java:1388) [minecraft_openmod.jar:git-Spigot-a1b8bf3-f01861f]
at net.minecraft.server.v1_9_R1.PacketPlayInArmAnimation.a(SourceFile:32) [minecraft_openmod.jar:git-Spigot-a1b8bf3-f01861f]
at net.minecraft.server.v1_9_R1.PacketPlayInArmAnimation.a(SourceFile:9) [minecraft_openmod.jar:git-Spigot-a1b8bf3-f01861f]
at net.minecraft.server.v1_9_R1.PlayerConnectionUtils$1.run(SourceFile:13) [minecraft_openmod.jar:git-Spigot-a1b8bf3-f01861f]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_45-internal]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_45-internal]
at net.minecraft.server.v1_9_R1.SystemUtils.a(SourceFile:45) [minecraft_openmod.jar:git-Spigot-a1b8bf3-f01861f]
at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:721) [minecraft_openmod.jar:git-Spigot-a1b8bf3-f01861f]
at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [minecraft_openmod.jar:git-Spigot-a1b8bf3-f01861f]
at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [minecraft_openmod.jar:git-Spigot-a1b8bf3-f01861f]
at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [minecraft_openmod.jar:git-Spigot-a1b8bf3-f01861f]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45-internal]
Caused by: java.lang.ArithmeticException: / by zero
at com.elmakers.mine.bukkit.spell.BaseSpell.getProgressLevel(BaseSpell.java:1098) ~[?:?]
at com.elmakers.mine.bukkit.spell.BaseSpell.cast(BaseSpell.java:1088) ~[?:?]
at com.elmakers.mine.bukkit.spell.BaseSpell.cast(BaseSpell.java:916) ~[?:?]
at com.elmakers.mine.bukkit.spell.BaseSpell.cast(BaseSpell.java:1673) ~[?:?]
at com.elmakers.mine.bukkit.wand.Wand.cast(Wand.java:3687) ~[?:?]
at com.elmakers.mine.bukkit.wand.Wand.cast(Wand.java:3669) ~[?:?]
at com.elmakers.mine.bukkit.wand.Wand.performAction(Wand.java:4865) ~[?:?]
at com.elmakers.mine.bukkit.magic.listener.PlayerController.onPlayerInteract(PlayerController.java:431) ~[?:?]
at sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45-internal]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45-internal]

at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[minecraft_openmod.jar:git-Spigot-a1b8bf3-f01861f]
... 18 more
I hope you will be able to fix this major problem, we cannot really play without (y)our magic, it is a major part of our server (even if we aren't so much).
Waiting for your answer,
Best regards,
Elsopeen

[item creation] Day/Night Token

Hello,
I tried to crate token for the day and night spells as the Respawn Token, but even with Minecraft numeric IDs, they don't want to be as a correct item. Here is the wands for the token:
daytoken:
mode: cast
active_spell: day
icon: minecraft:clock
indestructible: false
locked: false
uses: 5
keep: true
effect_color: 'FF0000'
spells:
- day

nighttoken:
mode: cast
active_spell: night
icon: minecraft:clock
indestructible: false
locked: false
uses: 5
keep: true
effect_color: 'FF0000'
spells:
- night

Here are the messages for these token:
wands:
daytoken:
name: Jeton de Jour
description: Changez l'heure du jour
nighttoken:
name: Jeton de Nuit
description: Changez l'heure du jour

And here are the recipes: (item 347 is minecraft clock)
daytoken:
output: daytoken
output_type: wand
materials:
g: gold_ingot
r: redstone
e: ender_pearl
c: 347
row_1: "egc"
row_2: "grg"
row_3: "cge"

nighttoken:
output: nighttoken
output_type: wand
materials:
g: gold_ingot
r: redstone
e: ender_pearl
c: 347
row_1: "cge"
row_2: "grg"
row_3: "egc"

The recipes do work, but without the clock only. And the wands token are still wood_hoe instead of the clock I want them to be. So if you could help me to fix that, I really can't figure what's wrong...
Hoping you could help me,
Best regards,
Elsopeen

Suggestion - Essentials warps integration

Hello,
I write this issue to suggest to the creator and the team an integration of Essentials warps.
I tried to have Essentials and commandBook at the same time on my server but Essentials always has the priority on the commands, so the command "/setwarp " cannot be run with commandBook, even with the well configured permissions (Essentials' one prohibited and commandBook's one allowed). So, with the trouble of the incompatibility between two plugins doing the same stuff, I cannot set the Magic "Recall" marks to help my sorcerers on my server. So, I ask your help by creating an Essentials warps integration to your great plugin for helping those who use Essentials instead of commandBook.
I cannot obviously simply change Essentials to commandBook because all portals and permissions are set, and the server's running all day long, so this little add to Magic would be a very useful one.
Thank you for reading this little message, and early thanks for considering my ask,
best regards
Elsopeen

No destruction

Hi,

we've installed the plugin on our server but all destruction spells don't have a permanent effect.
Blocks disappear shortly to reappear after half a second.
Is there some configuration that we missed to set? :)

PS: We do not have WorldGuard or anything comparable running

Magic and MVI

Whenever a player has a wand in their inventory and switches between worlds, they get an "Invalid JSON detected" error and their inventory gets erased! Any help would be sooooo awesome, as this is my fave plugin, and I cant use it!

Cooldowns approximately 1 second shorter than configured.

The cooldowns for all spells are approximately 1 second less than the configured amount. A spell with cooldown: 1000 can be spammed as if it had no cooldown. A spell with cooldown: 2000 can be cast approximately every 1 second. The cooldown display on the hotbar reflects the actual correct cooldown. That is to say, a spell with cooldown: 1000 will show -1 on the spell icon yet still be castable.

Ocarina of the plugin

Hello,
I recently found the ocarina you've created, with the different notes of the Ocarina, but I wonder the features its contains, because my server have also some TLZ worlds and grade, so that can be fun to have a working Ocarina to play as a Hero of Hyrule.
Hoping you'll answer soon, (and that the ocarina can do something)
Best regards,
Elsopeen

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.