Bukkit Magic 7.6.18

Add fully customizable magic wands, items, spells, mobs and more to your server!

  1. NathanWolf submitted a new resource:

    Magic - A gameplay-oriented spell and wand plugin

    Read more about this resource...
     
    • Like Like x 3
    • Winner Winner x 1
    • Creative Creative x 1
  2. Hello very eager to integrate this fully into my survival server.

    Getting the following error which I'm very certain is WorldGuard related:
    Code (Text):
    24.09 17:39:54 [Server] INFO ... 15 more
    24.09 17:39:54 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:298) ~[spigotRSNAPSHOT.jar:git-Spigot-1649]
    24.09 17:39:54 [Server] INFO at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_55]
    24.09 17:39:54 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_55]
    24.09 17:39:54 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_55]
    24.09 17:39:54 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_55]
    24.09 17:39:54 [Server] INFO at com.elmakers.mine.bukkit.magic.MagicController.onPlayerInteract(MagicController.java:2445) ~[?:?]
    24.09 17:39:54 [Server] INFO at com.elmakers.mine.bukkit.wand.Wand.cast(Wand.java:2617) ~[?:?]
    24.09 17:39:54 [Server] INFO at com.elmakers.mine.bukkit.spell.BaseSpell.cast(BaseSpell.java:1225) ~[?:?]
    24.09 17:39:54 [Server] INFO at com.elmakers.mine.bukkit.spell.BaseSpell.cast(BaseSpell.java:825) ~[?:?]
    24.09 17:39:54 [Server] INFO at com.elmakers.mine.bukkit.spell.BaseSpell.canCast(BaseSpell.java:895) ~[?:?]
    24.09 17:39:54 [Server] INFO at com.elmakers.mine.bukkit.magic.Mage.isPVPAllowed(Mage.java:928) ~[?:?]
    24.09 17:39:54 [Server] INFO at com.elmakers.mine.bukkit.magic.MagicController.isPVPAllowed(MagicController.java:3401) ~[?:?]
    24.09 17:39:54 [Server] INFO at com.elmakers.mine.bukkit.protection.WorldGuardManager.isPVPAllowed(WorldGuardManager.java:68) ~[?:?]
    24.09 17:39:54 [Server] INFO Caused by: java.lang.IncompatibleClassChangeError: Found interface com.sk89q.worldguard.protection.ApplicableRegionSet, but class was expected
    24.09 17:39:54 [Server] INFO at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [spigotRSNAPSHOT.jar:git-Spigot-1649]
    24.09 17:39:54 [Server] INFO at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490) [spigotRSNAPSHOT.jar:git-Spigot-1649]
    24.09 17:39:54 [Server] INFO at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584) [spigotRSNAPSHOT.jar:git-Spigot-1649]
    24.09 17:39:54 [Server] INFO at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:289) [spigotRSNAPSHOT.jar:git-Spigot-1649]
    24.09 17:39:54 [Server] INFO at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:734) [spigotRSNAPSHOT.jar:git-Spigot-1649]
    24.09 17:39:54 [Server] INFO at net.minecraft.server.v1_7_R4.ServerConnection.c(ServerConnection.java:81) [spigotRSNAPSHOT.jar:git-Spigot-1649]
    24.09 17:39:54 [Server] INFO at net.minecraft.server.v1_7_R4.NetworkManager.a(NetworkManager.java:186) [spigotRSNAPSHOT.jar:git-Spigot-1649]
    24.09 17:39:54 [Server] INFO at net.minecraft.server.v1_7_R4.PacketPlayInArmAnimation.handle(PacketPlayInArmAnimation.java:40) [spigotRSNAPSHOT.jar:git-Spigot-1649]
    24.09 17:39:54 [Server] INFO at net.minecraft.server.v1_7_R4.PacketPlayInArmAnimation.a(PacketPlayInArmAnimation.java:28) [spigotRSNAPSHOT.jar:git-Spigot-1649]
    24.09 17:39:54 [Server] INFO at net.minecraft.server.v1_7_R4.PlayerConnection.a(PlayerConnection.java:1082) [spigotRSNAPSHOT.jar:git-Spigot-1649]
    24.09 17:39:54 [Server] INFO at org.bukkit.craftbukkit.v1_7_R4.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:212) [spigotRSNAPSHOT.jar:git-Spigot-1649]
    24.09 17:39:54 [Server] INFO at org.bukkit.craftbukkit.v1_7_R4.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:242) [spigotRSNAPSHOT.jar:git-Spigot-1649]
    24.09 17:39:54 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:499) [spigotRSNAPSHOT.jar:git-Spigot-1649]
    24.09 17:39:54 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:514) [spigotRSNAPSHOT.jar:git-Spigot-1649]
    24.09 17:39:54 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigotRSNAPSHOT.jar:git-Spigot-1649]
    24.09 17:39:54 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigotRSNAPSHOT.jar:git-Spigot-1649]
    24.09 17:39:54 [Server] INFO org.bukkit.event.EventException
    24.09 17:39:54 [Server] ERROR Could not pass event PlayerInteractEvent to Magic v3.7
    Do you think you are able to release a hotfix for this in the near future? If you are unable to support the new WorldGuard 6 features at present, would it be possible for you to release a hotfix that bypasses this good sir?

    Feel free to contact me via Steam.
     
  3. OK, so I fly out away from a region, RMB and the inventory suddenly works for the wand. To be more descriptive I was receiving the error above when trying to RMB at or near spawn region.

    That said here is what the inventory is doing now attached via thumbnail. It's working, just kinda displaying wonky.
     

    Attached Files:

  4. I absolutely LOVE this plugin. I play on the official server all of the time. My question is, how do you create custom wands?
     
    • Like Like x 1
  5. Hi! Sorry it took me so long, but the latest Magic dev snapshot supports WG6. This was hard to do because I couldn't do it in a backwards-compatible way, but I'm using 4.0 as an excuse to break everything :p
     
  6. Hi! Yes I see you around a lot ;D

    Wand template customization happens in wands.yml - see this document for more info:

    https://github.com/elBukkit/MagicPlugin/blob/master/WANDS.md
     
  7. NathanWolf updated Magic with a new update entry:

    Fully 1.8-Compatible

    Read the rest of this update entry...
     
    • Agree Agree x 1
  8. It looks really OP :p I think i might pass But Really It looks Amazing XD
     
  9. Yes people say that :)

    The new configs (when 4.0 is released) are going to be less destructive. But wands are meant to be an end-game item for survival players- crafting one requires a nether star. So, yes, they are "OP". Just like an Infinite/Flame bow is OP :)
     
  10. Ok Thanks for the reply :)
     
  11. wes

    wes

    Does this plugin supports the Tawny?:)
     
  12. Magic does have Towny support as of 3.9.4 ... er.. is Tawny a thing? XD

    If Tawny is a thing, then no I don't support it as I've never heard of it ;)

    EDIT: I Googled Tawny... Google suggested that I was looking for Towny.
     
  13. wes

    wes

    Towny:)! Sorry:oops:
     
    • Funny Funny x 1
  14. Heh :) Figured!

    But, yes, Magic *should* fully support Towny, though I have to admit I don't test it myself since I don't use Towny on any of my servers right now.

    PVP and Build checks will both pass through Towny if it's present.
     
  15. After using a wand i can't place any blocks all of a sudden.

    [19:30:29 ERROR]: Could not pass event PlayerInteractEvent to Magic v3.9.4
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:305) ~[spigot.jar:git-Spigot-899f5ee-1092acb]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62) ~[spigot.jar:git-Spigot-899f5ee-1092acb]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    ava:502) [spigot.jar:git-Spigot-899f5ee-1092acb]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:487) [spigot.jar:git-Spigot-899f5ee-1092acb]
    at org.bukkit.craftbukkit.v1_8_R1.event.CraftEventFactory.callPlayerInte
    ractEvent(CraftEventFactory.java:226) [spigot.jar:git-Spigot-899f5ee-1092acb]
    at net.minecraft.server.v1_8_R1.PlayerInteractManager.interact(PlayerInt
    eractManager.java:463) [spigot.jar:git-Spigot-899f5ee-1092acb]
    at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java
    :724) [spigot.jar:git-Spigot-899f5ee-1092acb]
    at net.minecraft.server.v1_8_R1.PacketPlayInBlockPlace.a(PacketPlayInBlo
    ckPlace.java:50) [spigot.jar:git-Spigot-899f5ee-1092acb]
    at net.minecraft.server.v1_8_R1.PacketPlayInBlockPlace.a(PacketPlayInBlo
    ckPlace.java:80) [spigot.jar:git-Spigot-899f5ee-1092acb]
    at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [spi
    got.jar:git-Spigot-899f5ee-1092acb]
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [
    ?:1.8.0_25]
    at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_25]
    at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:6
    83) [spigot.jar:git-Spigot-899f5ee-1092acb]
    at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:3
    16) [spigot.jar:git-Spigot-899f5ee-1092acb]
    at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:6
    23) [spigot.jar:git-Spigot-899f5ee-1092acb]
    at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java
    :526) [spigot.jar:git-Spigot-899f5ee-1092acb]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_25]
    Caused by: java.lang.ArrayIndexOutOfBoundsException
    >
     
  16. If you could pastebin the whole thing, or particularly the part *just* after where you cut it off, that'd help a lot!

    I'm not sure what would be causing this, though, that's a pretty bad error :\
     
  17. https://gist.github.com/ZeTaurin/fc8bcdec0dc82263e65a
    It doesn't cut off.
     
  18. Well .. that is weird and annoying. The part that would actually help me (where it shows what part of my code caused the error) is normally just underneath the second exception. :(

    Hrm- would you be willing to try the most recent dev build?

    Otherwise I guess I'd need more information... the interact event handler should really not be doing anything if you're not holding a wand.

    The only place I see in that code with an array access is here:

    https://github.com/elBukkit/MagicPl.../mine/bukkit/magic/MagicController.java#L2652

    But that looks really safe, and only happens if you have a weird combination of permissions (wands set to self-destruct on use).
     
  19. My hand seems to be a wand also, if that helps. I can cast the spells with just my hand and the wand wont return when i click the ground.
     
  20. That sounds like something took the wand away without Magic knowing, maybe. I have put some additional checks in for that kind of thing recently.

    I'm getting ready to release 4.0, though it needs some more playtesting and balancing. If you're willing to try a dev build, it may fix that problem.

    If you're still somehow stuck that way, doing a "/magic save" while you are logged out should clear your state. (EDIT: Right now, I mean- a server restart should also resolve things)
     

Share This Page