Was trying to decrease the amount of time that dropped items stay around and changed it to:
item-despawn-rate=600
Was testing it, and item despawns after 5 minutes… not 30 seconds. Is this a bug? Or is there somewhere else I need to change the configuration.
Changed global.conf, dimension.conf, and world.conf in /config/sponge.
Hmmm, I just tried this, too.
I had mine set to 12000 in all the conf files, just hadn’t had time to test it until you mentioned it.
Mine also despawns in 5 minutes, the default.
Currently using:
SpongeForge
1.11.2-2201-6.0.0-BETA-2030
Forge
13.20.0.2216
I’ve taken a look and can confirm it does nothing. From looking at the code, the despawn rate is only considered when an item goes ‘inactive’ (a feature of entity activation). However items never go inactive.
From my experience, it did not fix the issue (as of build 2054). Items are still despawning at the default 5 minute time. Let me know if you have a different experience. I am curious to know if I don’t have a setting right.
Hi there.
I just tried with 2069 and I am getting the same result, items despawn after the default 5 minutes.
Anyone else besides us two have this issue or able to test?
Worked for me when I changed all three, just global config doesn’t work. Also make sure “entity-activation-range is set to true under modules in global.conf.”
If that doesn’t do it, then maybe simon can help. I’ll test if setting the despawn ticks greater than 5min worth later today if I have the chance.
I have taken another look at this. It appears to be an issue with sponge’s config system.
Basically it’s using the world-specific config rather than the global.conf. So to change the despawn rate for the overworld you need to change the file config/sponge/worlds/minecraft/overworld/world/world.conf
Also have a custom world name As long as it’s the file in config/sponge/worlds/minecraft/overworld/CustomWorldName/world.conf (and not /world/world.conf, since that would be for another world), don’t really get why it works for me and isn’t for you.
I still have players online on my server, so don’t want to close it for testing, but I’ll get to that later today. Maybe it’s because of some other mod/plugin?
Hmph, okay.
Ya, there’s no /world/world.conf folder, just my custom world one.
Other than SpongeForge, I just have
WorldEdit
Nucleus
IronChest
FoxGuard
FoxCore
pretty simple stuff… but if nothing gets figured out, perhaps next time I have a chance I’ll try running a server without those mods. I am about to leave on a trip, so won’t be back until next week to try it.
Thanks for continuing to help figure it out.