~ ox_inventory · Xenzhe edit
~ description
A redesign of ox_inventory focused on how it feels to use. Compact inventory on the right, context menu with quantities, giving and dropping items by dragging them into the world, and item rarity. Everything else is the ox_inventory you already use.
What changes
- Inventory on the right. Trunks, glove boxes, stashes, shops and crafting benches open right below it, with only the rows they need.
- Context menu with quantity. Right click, choose how much (-/+, wheel, half, all), then Give, Split, Move or Drop exactly that.
- Drag to world. Drop an item on a nearby player to give it to them, with a give and receive animation, or anywhere else to drop it on the ground. Players out of range show as marked.
- Item rarity. Optional
rarityfield on items and weapons (common, uncommon, rare, epic, legendary, or any color), with default values for all weapons. - New interface. Slots with durability, weight and hotkey, tooltip with item data, quick bar and redesigned notifications, and a help panel with all the shortcuts.
Under the hood
- Giving from the world goes through its own server callback, with real distance checking and rate limiting, then reuses the original ox_inventory logic (hooks, slot locking, weight).
- Fonts bundled with the resource: no requests to Google Fonts from the game.
- No blur or opaque backgrounds: the game stays visible behind it.
- All text lives in the locale files, with full Spanish and English.
- Accent color, drag-to-give and its range are configurable via convars.
Installation
- Download
ox_inventory.zip: the interface is already built. - Replace your
ox_inventoryfolder with the one from the zip. Your database, items and configuration are untouched. - Restart the server. Requires ox_lib, oxmysql and OneSync, same as the original.
