Skip to content
This repository was archived by the owner on Apr 28, 2026. It is now read-only.
This repository was archived by the owner on Apr 28, 2026. It is now read-only.

Drop area ignores dropweight and dropslots config values #17

@voidvalue-dev

Description

@voidvalue-dev

Describe the bug
When setting inventory:dropslots to 1 and inventory:dropweight to 0, the right-hand side of the inventory (the drop area) still shows the same number of slots as the player's inventory. Additionally, even though the drop weight is set to 0, it's still possible to drop items there. This doesn't make sense, as the configuration implies that the drop should not be usable.

Framework
ESX 1.12.4

Resource version
ox_inventory 2.24.3

To Reproduce
Steps to reproduce the behavior:

  1. Add the following lines to server.cfg:
    setr inventory:dropslots 1
    setr inventory:dropweight 0
  2. Start the server and open the inventory.
  3. Try to drop an item on the right-hand side (drop area).

Expected behavior
The drop area should:

Only show 1 slot.
Reject all items, as the max weight is set to 0.

Screenshots
VIDEO: https://streamable.com/m56btj

Additional context
This setup is intended to disable or heavily restrict the drop system, but in practice, the drop area still behaves as if it were unrestricted. It shows incorrect slot counts and allows interaction despite the 0 weight limit. This can lead to confusion or undesired behavior on servers aiming to disable ground item drops.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions