add suppport for moded items/blocks (mcpc server) #5


  • Enhancment
  • Started
Open
Assigned to mitsugaru
  • _ForgeUser7676662 created this issue Jul 25, 2012

    after opening a new craftbukkit MCPC modded server i have test your plugin with it, i've got an other unmoded server bukkit with your plugin configured whith mysql, so i wanted to share items pool from the unmoded server to the modded,  thats work fine but if i put a moded items in karmicshare pool the plugin stop working in the unmoded server. so can you add a way to block/disable transfers for ID from forge mods ? or if possible add support to them but only in modded world/server

  • _ForgeUser7676662 added the tags New Enhancment Jul 25, 2012
  • Mitsugaru posted a comment Jul 25, 2012

    Do any errors pop up in the console of the unmodded server? That would help me out in figuring how to handle those items appropriately.

  • _ForgeUser7676662 posted a comment Jul 25, 2012

    @Mitsugaru: Go

    oups sorry :

    [GRAVE] Could not pass event PlayerInteractEvent to KarmicShare org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177) at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:287) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:637) at net.minecraft.serverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:119) at net.minecraft.server.Packet15Place.handle(SourceFile:39) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:114) at net.minecraft.serverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:83) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:83) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:569) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:461) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NullPointerException at com.mitsugaru.KarmicShare.logic.Karma.grabPage(Karma.java:944) at com.mitsugaru.KarmicShare.listeners.KSPlayerListener.onPlayerInteract(KSPlayerListener.java:131) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ... 15 more

    and another thing a can't destroy existing chest/sign linked to karmicshare.


    Edited Jul 25, 2012
  • Mitsugaru posted a comment Jul 25, 2012

    @fonkfader: Go

    Destroying a chest shouldn't be a problem. Destroying a sign only requires you to have the permission KarmicShare.sign.

    Thanks for the stack trace, I know where to start. I'll let you know when I have something for you to test.

    Note, that with my work days, I probably won't be able to tackle it until the weekend.


    Edited Jul 25, 2012
  • Mitsugaru removed a tag New Jul 25, 2012
  • Mitsugaru added a tag Accepted Jul 25, 2012
  • _ForgeUser7676662 posted a comment Jul 26, 2012

    @Mitsugaru: Go

    ok thanks, for the chest/sign protect i've got the good permissions so it's not that, the only way to remove it (chest and sign) is to destroy the block where the sign is on. (tested whith a light plugin config too). and no error on console.

    and a last thing that would be pretty cool : set default group (self_playername) on loggin for each player, because a lot of players miss the group selection and put item in the global pool...:).

    so thanks a lot for you're work your plugin is a must for the 1.3 transition and map migration ;)

  • Mitsugaru removed a tag Accepted Aug 19, 2012
  • Mitsugaru added a tag Started Aug 19, 2012
  • Mitsugaru posted a comment Aug 19, 2012

    I'm sorry it took so long. Can you try this version here: https://github.com/Mitsugaru/KarmicShare/downloads


To post a comment, please login or register a new account.