haveric / StackableItems

Minecraft Bukkit plugin that allows you to change the default stack size of items.
22 stars 16 forks source link

Conflict with MoneyDrop Plugin #39

Closed ProfLiebstrumpf closed 11 years ago

ProfLiebstrumpf commented 12 years ago

The Moneys from Mobs are lootable as normal items and not as money. If i deactivate StackableItems, MoneyDrop works but the "looted" money is normal item.

Activate StackableItems again should working both plugins. On reload MoneyLoot, Moneyloot isn't working now until i deactivate StackableItems and activate it again.

haveric commented 12 years ago

Can you provide any details as to what the conflict is? What happens currently and what should be happening?

ProfLiebstrumpf commented 12 years ago

The plugin tries (and do it) to stack the MoneyDrop items and not to take it as money for economy. I see the Goldnugget ID with toomanyitems 371:9001 (its the Dropped-Material-ID: 371 from MoneyDrop)

haveric commented 12 years ago

What do you have in defaultItems.yml (or any other config you've added) for StackableItems?

ProfLiebstrumpf commented 12 years ago

stackableitems was in default config. nothing was changed or something

haveric commented 12 years ago

I can't reproduce this, both plugins function as expected. Perhaps it is a MoneyDrop setting or another plugin interfering.

ProfLiebstrumpf commented 12 years ago

I have tested it now only with the plugins: essentials (for /money) vault moneydrop stackableitems pluginmanager (for un-/loads the plugins) (only plugins! i'll let the plugins create the folders self and i configure moneydrop)

now i get everytime errors on pick up and drop items (killed pigs) and the moneydrop is now working. it seems an other plugin is my problem. I'll check out which plugin produce my error with moneydrop.

btw, here's the error: on click: [SEVERE] Could not pass event InventoryClickEvent to StackableItems org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341) 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 net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1108) at net.minecraft.server.Packet102WindowClick.handle(SourceFile:29) at net.minecraft.server.NetworkManager.b(NetworkManager.java:282) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:577) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:473) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:405) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.UnsupportedOperationException: SuperPerms no group permissions. at net.milkbowl.vault.permission.plugins.Permission_SuperPerms.getPrimaryGroup(Permission_SuperPerms.java:96) at net.milkbowl.vault.permission.Permission.getPrimaryGroup(Permission.java:646) at haveric.stackableItems.Perms.getPrimaryGroup(Perms.java:74) at haveric.stackableItems.SIItems.getItemMax(SIItems.java:181) at haveric.stackableItems.InventoryUtil.getInventoryMax(InventoryUtil.java:325) at haveric.stackableItems.SIPlayerListener.inventoryClick(SIPlayerListener.java:421) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339) ... 14 more

on pickup: [SEVERE] Could not pass event PlayerPickupItemEvent to StackableItems org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341) 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 net.minecraft.server.EntityItem.b(EntityItem.java:193) at net.minecraft.server.EntityHuman.o(EntityHuman.java:349) at net.minecraft.server.EntityHuman.d(EntityHuman.java:341) at net.minecraft.server.EntityLiving.h(EntityLiving.java:447) at net.minecraft.server.EntityHuman.h_(EntityHuman.java:158) at net.minecraft.server.EntityPlayer.g(EntityPlayer.java:203) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:128) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:577) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:473) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:405) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.UnsupportedOperationException: SuperPerms no group permissions. at net.milkbowl.vault.permission.plugins.Permission_SuperPerms.getPrimaryGroup(Permission_SuperPerms.java:96) at net.milkbowl.vault.permission.Permission.getPrimaryGroup(Permission.java:646) at haveric.stackableItems.Perms.getPrimaryGroup(Perms.java:74) at haveric.stackableItems.SIItems.getItemMax(SIItems.java:181) at haveric.stackableItems.InventoryUtil.getInventoryMax(InventoryUtil.java:325) at haveric.stackableItems.InventoryUtil.getFreeSpaces(InventoryUtil.java:53) at haveric.stackableItems.InventoryUtil.getFreeSpaces(InventoryUtil.java:38) at haveric.stackableItems.SIPlayerListener.playerPicksUpItem(SIPlayerListener.java:1052) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339) ... 17 more

haveric commented 12 years ago

Try adding a Permissions plugin. The default SuperPerms is not currently supported by StackableItems.

ProfLiebstrumpf commented 12 years ago

I have found out the bug WHY the Money from MoneyDrop is looted as item!

If i have 24 Plugins installed or lower, moneydrop works with stackableitems.

but if i have 25 plugins AND MORE (don't matter which plugins!) moneydrop isn't working. and if i remove stackableitems plugin, moneydrop is now working. i can have over 40 plugins installed and moneydrop is still working!

so the bug came if i have more than 24 plugins installed.

(i haven't errors in logfile for this bug but is it so)

hope it helps. good bye and good night ^^

haveric commented 12 years ago

I have seen that happen before. It has nothing to do with the number of plugins (even though it may act like there is). There is most likely one (or more) of those plugins causing an issue. Can you provide a list of the plugins you are running?

ProfLiebstrumpf commented 12 years ago

This was the tested plugins:

BookEdit ClearLag CommandHelper CommandSigns CraftBook CraftBookCircuits CraftBookMechanisms CraftBookVehicles DispenserRefill EPDisabler Essentials EssentialsAntiBuild EssentialsChat EssentialsGroupBridge EssentialsGroupManager LegendaryMessages MoneyDrop PluginManager Tim (TimTheEnchanter) TrainCarts Vault WirelessRedstone worldguard

and the others deaktivated for the test: AdminChat AntiCheat autosaveworld BKCommonLib CopyBooks Deadbolt DeathSpawnR TrainCartsBlocks TreasureChest WorldEdit WorldSize

realy... it doesn't matter wich plugin i put in, if the count of plugins is 25 or more moneydrop stops working with stackableitems.

i have added authme plugin (now 25 plugins). same bug. put a random plugin out and it works now i have added infiniteplots plugin (25 plugins again) same bug...

haveric commented 12 years ago

I understand where you are coming from. I have seen similar problems where they break around that number of plugins. It is caused by a conflict somewhere though and I'll see if I can find out more when I get a chance.