Mods / Salty´s Instant Pick Up

Tags: #QoL
Author: SaltyWater
Side: Server
Created: Oct 11th 2024 at 2:57 AM
Last modified: Nov 13th at 3:18 AM
Downloads: 5256
Follow Unfollow 136

Recommended download (for Vintage Story 1.21.5):
InstantPickUp_1.1.3.zip  1-click install


image

Pet the floppa to buy me a coffee!

      

Instant PickUp

Never miss a item anymore.

Contrary to my Click to Pick mod this mod picks up all dropped item instantly in a 4 block radius. This mod was requested by some redditors when I released the click to pick mod.

Press the key (CAPSLOCK by default, you can change in the game controls configs) to toggle between enabled and disabled:

image

↓ Cutting trees or dry grass, collecting sticks from branchy leaves or any task that could probably lead to some items being missed instant pick up got you covered. ↓
image


You can set the pick up radius in the config file. You can set a timer for the instant pickup to deactivate itself too.

True by default, the mod will ignore OnlyPickUpItemsSneaking mouse config. You can disable this in the configs.

(Take note that when enabled the mod will prevent you from dropping items)

 

check out my other mods here:image

 

 

 

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
1.1.3 instantpickup 455 Nov 13th at 3:18 AM InstantPickUp_1.1.3.zip 1-click install

Fixed bug not triggering pick up sound.

1.1.2 instantpickup 550 Oct 19th at 10:29 PM InstantPickUp_1.1.2.zip 1-click install

Fixed toggle message not appearing.

Made the pick up actually instant.

Probably fixed sever toggle crash.

1.1.1 instantpickup 206 Oct 14th at 6:22 PM InstantPickUp_1.1.1.zip 1-click install

-Compatibility with Click to Pick

1.1.0 instantpickup 151 Oct 13th at 12:17 AM InstantPickUp_1.1.0.zip 1-click install

Rewrite the whole mod.

Much more vanilla friendly.

2 new configs.

1.0.5 instantpickup 777 Aug 30th at 2:17 AM InstantPickUp_1.0.5.zip 1-click install

removed embedded dlls.

1.0.4 instantpickup 106 Aug 28th at 12:58 PM InstantPickUp_1.0.4.zip 1-click install

Port to 1.21

Now checking full inventory.

Added Modicon.

1.0.3 instantpickup
1.20.0 - 1.20.3
1387 Mar 11th at 1:50 AM InstantPickUp_1.0.3.zip 1-click install

You can now pick up throwable objects

The mod now ignores items above 100º to prevent crashes.

1.0.2 instantpickup
1.20.0 - 1.20.1
762 Jan 20th at 7:37 PM InstantPickUp_1.0.2.zip 1-click install
  • Minor tweaks to make the mod run on 1.20
1.0.1 instantpickup 555 Oct 27th 2024 at 5:46 PM InstantPickUp.zip 1-click install

Added config file with option to change the picking range.

1.0.0 instantpickup 307 Oct 11th 2024 at 3:15 AM Empty InstantPickUp.zip 1-click install

27 Comments (oldest first | newest first)

💬 darklord1622, Nov 15th at 8:33 PM

i am having an issue where if i try to spill a partially empty water bucket it picks up the water in the form of a block like the one in creative

 

💬 kala, Nov 13th at 2:58 AM

salty never misses

💬 HeavyDeception, Oct 25th at 3:01 AM

Would it be possable to have it still play th pickup soud or have that as an option?

 

💬 TazyLoad, Oct 19th at 5:02 PM

Same issue as Syfe. Booted from server when I hit the hotkey.

Crash Report
[Error] Exception: Object reference not set to an instance of an object.
at Vintagestory.API.Datastructures.SyncedTreeAttribute.MarkPathDirty_Patch0(SyncedTreeAttribute this, String path)
at InstantPickUp.InstantPickupState.SetOn(String playerUid, Boolean enable)
at InstantPickUp.InstantPickUpModSystem.<>c__DisplayClass5_0.<StartServerSide>b__0(IServerPlayer player, ToggleMsg msg)
at Vintagestory.Server.NetworkAPI.HandleCustomPacket(Packet_Client packet, ConnectedClient client) in VintagestoryLib\Server\API\NetworkAPI.cs:line 59
at Vintagestory.Server.ServerMain.HandleClientPacket_mainthread(ReceivedClientPacket cpk) in VintagestoryLib\Server\ServerMainNetworking.cs:line 280
at Vintagestory.Server.ServerMain.ProcessMain() in VintagestoryLib\Server\ServerMain.cs:line 934
💬 Hallowedsoul08, Oct 17th at 10:52 PM (modified Oct 17th at 11:16 PM)

I also noticed the pick up is slower then previous versions. For example, i have modified xskill for more drop rates on clay per block, so it can potentially drop 6x the amount of clay per block, and i noticed that at 20 blocks, the rate that it's picking up is super slow and not instantatious. 

💬 Alge, Oct 17th at 1:58 PM

I also no longer get an enable/disable notification after updating from 1.0.5 to 1.1.1.

💬 SaltyWater , Oct 17th at 12:21 PM

Hallowedsoul08

It's still here!!

💬 Hallowedsoul08, Oct 17th at 7:45 AM

I miss the notification that it's on or off.

💬 Syfe, Oct 14th at 8:36 PM (modified Oct 14th at 8:36 PM)

hitting the hotkey in my server kicks me with this error:

Crash Report
14.10.2025 20:33:39 [Server Error] Exception: Object reference not set to an instance of an object.
at Vintagestory.API.Datastructures.SyncedTreeAttribute.MarkPathDirty_Patch0(SyncedTreeAttribute this, String path)
at InstantPickUp.InstantPickupState.SetOn(String playerUid, Boolean enable)
at InstantPickUp.InstantPickUpModSystem.<>c__DisplayClass5_0.b__0(IServerPlayer player, ToggleMsg msg)
at Vintagestory.Server.NetworkAPI.HandleCustomPacket(Packet_Client packet, ConnectedClient client) in VintagestoryLib\Server\API\NetworkAPI.cs:line 59
at Vintagestory.Server.ServerMain.HandleClientPacket_mainthread(ReceivedClientPacket cpk) in VintagestoryLib\Server\ServerMainNetworking.cs:line 280
at Vintagestory.Server.ServerMain.ProcessMain() in VintagestoryLib\Server\ServerMain.cs:line 934
💬 Syfe, Oct 2nd at 12:19 PM

getting a weird error that spams into my dedicated server that maxes its errors out and causes the server to reboot. it happens notably when i drop an item in creative. this is the error that it gives:

 

Crash Report
[Server Error] Exception: Object reference not set to an instance of an object.
at Vintagestory.Common.InventoryPlayerCreative.GetBestSuitedSlot(ItemSlot sourceSlot, ItemStackMoveOperation op, List`1 skipSlots) in VintagestoryLib\Common\GameContent\Inventory\InventoryPlayerCreative.cs:line 263
at Vintagestory.Common.PlayerInventoryManager.GetBestSuitedSlot(ItemSlot sourceSlot, Boolean onlyPlayerInventory, ItemStackMoveOperation op, List`1 skipSlots) in VintagestoryLib\Common\GameContent\Inventory\PlayerInventoryManager.cs:line 218
at InstantPickUp.InstantPickUp.PlayerHasSpaceFor(IServerPlayer player, ItemStack stack)
at InstantPickUp.InstantPickUp.OnServerTick(Single dt)
at Vintagestory.Common.GameTickListener.OnTriggered(Int64 ellapsedMilliseconds) in VintagestoryLib\Common\Model\GameTickListener.cs:line 25
at Vintagestory.Common.EventManager.TriggerGameTick(Int64 ellapsedMilliseconds, IWorldAccessor world) in VintagestoryLib\Common\EventManager.cs:line 102
at Vintagestory.Server.ServerMain.Process() in VintagestoryLib\Server\ServerMain.cs:line 859
💬 iXanbie, Sep 26th at 3:01 AM

I noticed a strange bug and traced it back to this mod. I was building and a bowtorn spawned and shot at me while I had the instant pick up enabled. Instead of taking damage, 1 granite rock was added to my inventory.  When I disabled instant pick up, I took damage like normal.

💬 Nabbs, Sep 12th at 9:18 PM

@sunflowers  ahhhh this is why im here .. kept crashing.  Now i understand why

💬 Sunflowers, Sep 8th at 6:32 PM (modified Sep 8th at 6:33 PM)

 

Is it possible to add a check to skip space-checking for Creative players? It’s firing every tick (OnServerTick) so it’s spamming my logs which is causing a crash if i enter creative( i suppose i could turn it off befopre but when i do it still crashed

The bit is here:

InventoryPlayerCreative.GetBestSuitedSlot(...)

PlayerInventoryManager.GetBestSuitedSlot(...)

InstantPickUp.PlayerHasSpaceFor(...)

 

💬 Kirona, Aug 30th at 2:03 AM

Love this mod, but I did find a bit of an exploit - as long as it's enabled, bowtorns can't shoot you. Instead, they take a shot, the projectile disappears, and you get a granite stone in your inventory xD Maybe add an exception for projectiles?

💬 LunaGore, Aug 28th at 1:29 PM

Would it be possible to add compatibility for loot filter?

💬 Fefa, Aug 24th at 1:33 PM

Other idea is instead of instant pick up all items on distance, just reduce the cooldown of picking up items like the "Pick up fast mod". That way items wont fly to player, player still need to reach items out of his range, but when youre harvesting stuff you pick up instant instead of the 2 secs of cooldown to pick up items from vanilla.

💬 Pyxel, Jul 20th at 7:23 PM

Seconding that it would be nice to have an option to configure instant pick up to be either a toggle or a blip.

💬 Phantom72, Jul 15th at 7:26 AM

Thanks for the mod, love your passion and dedication and really appreciate it!


May I request an option for a pickup hotkey rather than the pickup being a toggle?

Borderlands had a loot-all by holding E I believe it was, felt really good using it. It's less magic, just saves you the effort of spamming the loot action.


Just my opinion here.

  • Add a hotkey to fire off a single instant pickup action.
  • Add a delay on the hotkey, hold time, so it can't be spammed.

Now you can drop items and still have the instant pickup without having to run in circles :). This should also reduce the process load, especially when a player has a full inventory, as the game won't continuously pull items towards the player. It might help lessen crashes/client/server load?

 

The points below may also help alleviate some concerns people might have as you can currently reach beyond the vanilla range.

  • Make the default radius horizontal only
  • Limit vertical range in high to vanilla reach whilst jumping, and below feet to reach whilst crouching (not sure if crouching it makes a difference)


Sorry, this ended up being a LOT! Maybe a mod that fits between the "Click to Pick Up" and "Instant Pick Up" is needed ;D

💬 UnsealedWings, Jun 22nd at 8:42 AM

This mod randomly causes an explosion of hundreds of the last item it failed to pick up, which almost always crashes my game, This doesn't happen everytime, But every like 10 to 20  minutes this will occour. The items aren't real but the mod will continue to duplicate the fake items until i toggle it off with the hotkey. Could you please just make a version that just set the built in pickup delay so 0.0 instead of the default like 0.5 seconds or some shit. This is just too buggy of a solution to a simple issue imo.

💬 NastyFlytrap, Apr 25th at 4:47 PM

Can you implement an optional mode that checks to see if your inventory is full before instantly picking it up, so we cant cheat by just having a skirt of items around us?

💬 NastyFlytrap, Apr 23rd at 7:01 PM

Creates floating items on the ground if your inventory is full and you try picking something up

💬 SaltyWater , Mar 15th at 5:54 PM

Sunflowers Works fine to me. 40+ mods installed.

💬 Sunflowers, Mar 15th at 12:27 PM

crashes when i  pick up with this

💬 NastyFlytrap, Dec 18th 2024 at 11:44 PM

Game crashes consistently when i turn this on and forget to use tongs to pick up something hot. After about a second or two of repeated pickup attempts the game gives up the ghost

💬 Estarion, Oct 15th 2024 at 8:07 PM

Very usefull mod, but I got sometimes crash casued by items with changed stacks by another mods (eg. native copper or clay). Love the radius but sometimes bigger trees have bounced items and it needs relog to the world to pick up

💬 SaltyWater , Oct 13th 2024 at 3:38 PM

Jedzia You're Welcome friend!

💬 Jedzia, Oct 13th 2024 at 10:41 AM

Thank you :)

 (edit comment delete)
Основной веб-сайт | Почтовый сервер | FTP сервер | Административная панель | API интерфейс | Content Delivery Network | Статические файлы | Ресурсы сайта | Изображения | Файловое хранилище | Блог | Интернет-магазин | Техническая поддержка | Справочная система | Документация | Форум | Новости | Загрузки | Демонстрация | Тестовая среда | Приложение | Медиа контент | Разработка | Промежуточная среда | Бета версия | Безопасная зона | Вход в систему | Панель управления | Портал | Система управления контентом