Dank Gun Plug
Gun Crafting Workbench System (FiveM Resource)
QBCore & ESX | Tebex Integration | Gizmo Placement | Polished NUI
Information
Dank Gun Plug is a secure, feature-rich crafting workbench system for FiveM. It supports QBCore and ESX frameworks, Tebex integration, and a built-in gizmo placement system. All validation and item grants are handled server-side. Only your framework and ox_lib are required.
This resource is intended for use in roleplay and gaming environments only. It does not promote or encourage any real-world violence, illegal activity, or use of weapons. All features are strictly for in-game use and comply with CFX Server Bazaar rules and Rockstar Games community guidelines.
Features
- Multi-framework support: QBCore & ESX Legacy auto-detection
- Built-in placement system: Gizmo controls (translate, rotate, snap to ground)
- Three-tier crafting: Bronze, Silver, Gold — each with unique weapons and costs
- Tebex integration: Standalone code redemption system
- Server-side security: All validation, crafting, cooldowns, and item grants
- Persistent storage: Workbenches survive restarts via MySQL
- One workbench per player: Enforced via database
- TextUI & Target support: ox_lib TextUI, ox_target, qb-target
- Polished NUI: Dark glassmorphism theme, tier accents
- 3D interaction prompt: Floating prompt in world space
- Custom logo support: Set your server logo in the UI
- Multi-language: EN, ES, FR, DE, PT via ox_lib locales
- Anti-exploit: Vehicle checks, cooldowns, ownership validation
- Discord logging: Webhook logs for purchases and redemptions
- Map blips: Owner-only blip with tier icons
- Configurable: Weapons, materials, cooldowns, and tiers in one config file
Tier System
| Tier | Access | Weapons | Description |
|---|---|---|---|
| Bronze | Tier 1 | Entry-level items | Moderate costs, shorter cooldowns |
| Silver | Tier 2 | Premium items | Higher material requirements, longer cooldowns |
| Gold | Tier 3 | Advanced items | Highest costs, longest cooldowns |
All tiers are fully configurable.
Placement System
Players can position their workbench using the built-in gizmo system.
| Control | Action |
|---|---|
| Left Mouse | Select/drag gizmo handles |
| G | Toggle cursor mode |
| W | Move object |
| R | Rotate object |
| Q | Toggle space mode |
| LALT | Snap to ground |
| Enter | Confirm placement |
| Escape | Cancel placement |

Crafting UI
The NUI features a modern design with tier accents. Players can browse weapons, view requirements, and craft items with real-time feedback.

Commands
Player Commands:
| Command | Description |
|---|---|
| /gunplug | Place your workbench (requires access) |
| /redeemgunplug [code] | Redeem a Tebex code |
Admin Commands:
| Command | Description |
|---|---|
| /grantgunplug [id] [tier] | Grant access (1=Bronze, 2=Silver, 3=Gold) |
| /removegunplug [id] | Revoke access |
| /removegunplugbench [id] | Remove a player’s workbench |
| /creategunplugcode [tier] | Create a manual redemption code |
Security
All security is enforced server-side.
- Server-side access validation
- Item grants only via server
- Ownership enforcement
- Persistent cooldowns
- Database constraints prevent duplication
- Configurable job blacklist
- Vehicle interaction block

Dependencies
| Resource | Required |
|---|---|
| oxmysql | Yes |
| ox_lib | Yes |
| qb-core or es_extended | Yes |
No external object_gizmo or Tebex resource required.
Exports
Client Exports
exports['dank-gunplug']:GetWorkbenches()
exports['dank-gunplug']:IsNearWorkbench()
exports['dank-gunplug']:IsPlacing()
exports['dank-gunplug']:IsUIOpen()
exports['dank-gunplug']:IsCrafting()
Server Exports
exports['dank-gunplug']:GetWorkbenches()
exports['dank-gunplug']:PlayerOwnsWorkbench(identifier)
exports['dank-gunplug']:GetPlayerCooldowns(identifier)
exports['dank-gunplug']:HasGunPlugAccess(identifier, callback)
exports['dank-gunplug']:GrantGunPlugAccess(identifier, tier, callback)
exports['dank-gunplug']:RevokeGunPlugAccess(identifier, callback)
Installation
- Import
database.sqlinto your MySQL database (or let it auto-create on first start) - Add to
server.cfg:ensure oxmysql ensure ox_lib ensure qb-core # or es_extended ensure dank-gunplug - Configure
config.luaas needed - Register weapon & material items in your framework
- (Optional) Set up Tebex packages and Discord webhook
Tebex Store
For more information or to obtain access, visit our Tebex store: Dank Modifications
Dank Modifications
Copyright © 2026 Dank Modifications. All rights reserved.
Redistribution, resale, or sharing is not permitted. This resource does not use or redistribute Rockstar Games intellectual property, assets, or trademarks. All content is original and intended for use within the FiveM platform in accordance with CFX Server Bazaar rules, Rockstar Games guidelines, and CFX FAQ.
Resource Information
| Code is accessible | No |
| Subscription-based | No |
| MLO | No |
| Number of rooms | 0 |
| Number of entities | 0 |
| Requirements & dependencies | oxmysql, ox_lib, QBCore or ESX |
| Support | Yes |
| Assets are accessible | No |
| Subscription-based | No |
| Polygons (model and LOD) | N/A |
| Texture size and amount | N/A |
| Requirements & dependencies | oxmysql, ox_lib, QBCore or ESX |
| Support | Yes |
| Code is accessible | No |
| Subscription-based | No |
| Lines (approximately) | ~3500 |
| Requirements | oxmysql, ox_lib, QBCore or ESX |
| Support | Yes |








