buttilda / Headcrumbs

Headcrumbs
aww yiss
14 stars 21 forks source link

Excessive chat/console spam #28

Closed Gunner76th closed 9 years ago

Gunner76th commented 9 years ago

I am running an Agrarian Skies 2 server at present, along with a normal FTB Infinity server. Both of them have the Headcrumbs mod installed. If you create a standard mob grinder, that utilizes darkness to spawn mobs, it results in high numbers of Headcrumb mobs to be spawned. The issue here is that, whenever a Headcrumb mob dies, the server does a onDeathevent broadcast that the death occured, as if the Headcrumb mob was a normal player. Here is a copy of my console log from my AGS2 server showing the console/chat spam http://pastebin.com/9v13xjLv

Aside from this being insanely annoying, to the point that ingame chat is nearly unusable, it also presents an even bigger issue in that, if a player is online for an extended period of time, the size of the console log file can quickly exceed 50-100 megs in size, or roughly 1/3 the size of most /mods/ folders. This in turn, if left unchecked, could end up using up all of the free space on the MC server, esp for communities that rent servers from places like Creeper Host, who only give the renter 50ish gig of drive space to begin with.

What I am asking/suggesting is that, there be an option within the config file that allows the supression/disabling of mods from showing up in chat when they die, seeing as the mobs are not players and should not be showing up as such.

buttilda commented 9 years ago

That's not my fault. It's CoFHCore (or lib) that thaught that it was a good idea to broadcast to the chat whenever a named entity dies. Fortunately they added a config option to turn that off. So just switch that off and the spam should stop :)

buttilda commented 9 years ago

I also recommend letting jadedcat know of this issue. You can link her to this page if you want.

Gunner76th commented 9 years ago

So it would seem that for some reason, CoFH core has 2 config files for the same module. the first is CoFHcore.cfg located in /config/cofh/ and the other is common.cfg located in /config/cofh/core/ While CoFHcore.cfg was set to false for B:EnableGenericDeathMessage= , common.cfg had that same entry set to true which was overriding the previous setting.

Thanks for this information, and I plan to let jadecat know about this issue so she can fix it in the stable release.

Gunner76th commented 9 years ago

I spoke with her in #ThermalExpansion channel on Esper.net, and she said she was aware of the issue, and she just forgot to make the change in the configs. I did also post to her bugs thread for the AGS2 pack, so it is documented there as well.

Again thank you for letting me know about that config setting, and for the quick response.

buttilda commented 9 years ago

No problem, I'm happy to help :3