Garry's Mod

Garry's Mod

Not enough ratings
DarkRP Loadout Editor
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
22.870 KB
16 May @ 8:13pm
17 May @ 9:39am
2 Change Notes ( view )

Subscribe to download
DarkRP Loadout Editor

Description
DarkRP Inventory Manager
A user-friendly tool for server staff to manage job loadouts in real-time. Great for player-ran Events, and temporary loadout editing

Features
• Manage job weapons through a custom UI
• Add/remove weapons in real-time
• Reset jobs to default loadouts
• Remove all weapons from a job
• Dropdown menu for quick default item selection
• Persistent changes across server restarts
• Anti-spam protection
• Sound feedback for actions
• Support for custom weapons
• Whitelist/Blacklist system for jobs

Commands
• !inventorymanager - Opens the main menu
• !invmanager - Alternative command

Default Items Included
• Physics Gun
• Tool Gun
• Camera
• Gravity Gun
• Keys
• Pocket
• Fists

Customization
File Locations
addons/inventory_manager/
├── lua/
│ ├── autorun/
│ │ └── inventory_manager_init.lua
│ └── inventory_manager/
│ ├── cl_menu.lua
│ ├── sv_main.lua
│ └── sh_config.lua

Configuring Permissions
Edit sh_config.lua to modify:
}, RequiredRank = { ["superadmin"] = true, ["admin"] = true, ["your_custom_rank"] = true } }

Job Filtering
Choose between whitelist or blacklist mode:
InventoryManager.Config = { JobFilterMode = "whitelist", -- or "blacklist" FilteredJobs = { ["citizen"] = true, ["police"] = true } }

Adding Custom Default Items
Edit both cl_menu.lua and sv_main.lua:

In cl_menu.lua:
local defaultItems = { ["weapon_physgun"] = "Physics Gun", ["your_weapon"] = "Display Name", }

In sv_main.lua:
local defaultItems = { "weapon_physgun", "your_weapon", }

Customizing UI Colors
Edit the THEME table in cl_menu.lua:
local THEME = { header = Color(0, 0, 0, 200), background = Color(230, 230, 230, 255), button = Color(41, 128, 185), button_hover = Color(52, 152, 219), button_dark = Color(44, 62, 80), button_dark_hover = Color(52, 73, 94), panel = Color(245, 245, 245, 255), text = Color(52, 73, 94) }

Security Features
• Rank based access control
• Anti-spam protection
• Weapon validation
• Rate limiting
• Maximum weapon limit per job

Installation
1. Subscribe to the addon
2. Copy to your server's addons folder
3. Configure for your server
4. Restart your server

Troubleshooting
If weapons aren't saving:
• Check data folder permissions
• Verify inventory_manager_loadouts.txt exists
• Ensure proper file permissions

If menu won't open:
• Verify user has correct rank
• Check console for errors
• Ensure config file is properly formatted

Support
For issues or suggestions:
• Contact via Steam
• Post in comments section