Change pickup behavior to match Client-side configuration
Martmists-GH opened this issue ยท 12 comments
Some people have different preferences; We've come to a point where half the server wants to keep this mod, the others want to be able to pick up items normally. Please add a way to have the client choose the method for picking up items.
What about being able to pickup items using right click and by walking over them?
Can you try out this version?
https://www.dropbox.com/s/5ddz2jf0qj83xc7/ItemPhysic_Full_1.4.22_mc1.12.2.jar?dl=1
It adds an option "allowClientCustomPickup", if you set it to true. Each client can decide whether to use custom pickup or not.
Are you still there?
Just tried it on my modded(160) Server and sadly it didnt worked.
So I was testing it on my server with another player online, me turning the setting to true/false through IGCM on my own client affected the other players own settings, like it was globally being changed, as when I turned custompickup on for myself, threw items on them, they didn't pick it up, when I turned it off they'd automatically pull in items. Not really sure if I've set it up properly
Ok let me explain. There is no synchronization of configuration between server and client if IGCM is not installed. Certain things are handled by the server other things by the client.
The server decides whether to pickup up items around the player. So if customPickup is enabled on the server, it will not pickup any items except if the player sneaks. The client handles the right click part. So if customPickup is disabled (on client) no message will appear and there will be no way to pick it up by right clicking it. Which means the client configuration is limited to the right click functionality and would not affect the sneaking part.
IGCM makes sure customPickup is the same on client and server, which obviously makes client side configuration impossible. So it would only work without IGCM.
The solution I suggested was a messy one and it doesn't make sense to continue it. What would be required is a player based configuration on server side. Something I don't want to do at the moment. I will rewrite IGCM at some point to allow for more advanced configurations, but I don't know when I get to it.
So unfortunately there is no way to change the pickup behavior on client side (at least for now). Sorry :(