KeyItemDrop

Drop allowlisted Key Items through Palworld's normal inventory UI using its server-authoritative drop system. Includes live JSON configuration, stack splitting, warning suppression, and optional F9 debug logging.
Back to Files

KeyItemDrop-1.0.1

File nameKeyItemDrop-1.0.1.zip
Uploader
MasterDeathMasterDeath
Uploaded
Oct 22, 2026
Downloads
41
Size
30.5 KB
File ID
9284956
Type
R
Release
Supported game versions
  • 1.0.1

What's new

- Avoid reading `TypeA` and `TypeB` from static item data. These are enum-backed fields and are not used to authorize or issue a drop; avoiding them works around the enum-property crash reported after Palworld engine changes in UE4SS issue [#802](https://github.com/UE4SS-RE/RE-UE4SS/issues/802).
- Route mouse and controller drops through the same lifecycle and avoid duplicate server requests; support dropping one item, half a stack, or the full stack with F/G/H.
- Reload protected item IDs from `allowed_items.json` before drops and retain the last valid list if the JSON is malformed. The in-game Allowlist editor is not included; edit the JSON externally.
- Keep F9 as an Options-only menu with key capture, Apply/Cancel, configurable drop bindings, and a debug-logging toggle.
- Limit configurable drop hotkeys to the keyboard; UE4SS's Lua `RegisterKeyBind` API does not provide arbitrary controller-button capture.
- Leave the vanilla warning under Palworld's native focus and confirmation handling.
- Bundle the reusable UE4SS, UMG, controller, game-thread, style, and input-lock helpers in `shared/PalworldUI.lua`.
- Run menu callbacks and delayed warning handling on the game thread, and avoid retrying unavailable inventory hooks during loading.
- Remove the unused dynamic-key-item helper code; moving items to the Key Items tab with another mod does not itself make them droppable.
- Core drop behavior is verified on Palworld 1.0.4/1.0.5 with Okaetsu's Palworld-specific UE4SS build at commit `2281fa31`; native warning focus should be confirmed in-game.

This mod has no additional files