ServerCore icon indicating copy to clipboard operation
ServerCore copied to clipboard

Allow us to disable XP and item merge.

Open meyverick opened this issue 1 year ago • 4 comments

I would like to be able to set xp-merge-radius: 0 to disable this feature.

Same goes for item-merge-radius: 0.

Setting them to 0 returns an error.

meyverick avatar Feb 28 '25 23:02 meyverick

Currently both of those settings expect a minimum of 0.5, which is the default (and vanilla) merge radius. If by disable feature you mean get exact vanilla behavior you should set it to 0.5.

I didn't expect anyone to actually want to turn off merging entirely, but I suppose it couldn't hurt to add it as an option in a future update.

Wesley1808 avatar Mar 01 '25 11:03 Wesley1808

I personally would like to disable XP merging because I prefer how Clumps mod manage it.

I also would like to disable item merging because I prefer how Get it Together, Drops! manage it and allow vertical merging.

For now, I have set both to 0.5 but it feel like yours and Clumps/GiTD are duplicate.

meyverick avatar Mar 01 '25 12:03 meyverick

For clarification, servercore doesn't add any item or xp merging behavior on top of what vanilla offers. It simply allows you to configure some of its parameters. If those parameter are the same as vanilla, it would work the same as it would without the mod.

Wesley1808 avatar Mar 01 '25 12:03 Wesley1808

I think the config system should try to make use of the -1 for vanilla fallback like what papermc's configs do.

Kichura avatar May 01 '25 00:05 Kichura