# Table of Contents - [Introduction | PVP Base](#introduction-pvp-base) - [Quick Start | PVP Base](#quick-start-pvp-base) - [Keybindings Reference | PVP Base](#keybindings-reference-pvp-base) - [Command Reference | PVP Base](#command-reference-pvp-base) - [Webhook Reference | PVP Base](#webhook-reference-pvp-base) - [gfx_deathsystem | PVP Base](#gfx-deathsystem-pvp-base) - [rush_base | PVP Base](#rush-base-pvp-base) - [gfx-vehicleitems | PVP Base](#gfx-vehicleitems-pvp-base) - [gfx-airdrop | PVP Base](#gfx-airdrop-pvp-base) - [gfx-lootbag | PVP Base](#gfx-lootbag-pvp-base) - [gfx-inventory | PVP Base](#gfx-inventory-pvp-base) - [gfx-effects | PVP Base](#gfx-effects-pvp-base) - [gfx-kit | PVP Base](#gfx-kit-pvp-base) - [gfx-deathcamv2 | PVP Base](#gfx-deathcamv2-pvp-base) - [rush_core | PVP Base](#rush-core-pvp-base) - [rush-cup | PVP Base](#rush-cup-pvp-base) - [gfx-redzone | PVP Base](#gfx-redzone-pvp-base) - [gfx-mods | PVP Base](#gfx-mods-pvp-base) - [gfx-attachmentshop | PVP Base](#gfx-attachmentshop-pvp-base) - [rush-gamemodes | PVP Base](#rush-gamemodes-pvp-base) - [gfx-safezone | PVP Base](#gfx-safezone-pvp-base) - [gfx-crew | PVP Base](#gfx-crew-pvp-base) - [rush-leaderboard | PVP Base](#rush-leaderboard-pvp-base) - [hud | PVP Base](#hud-pvp-base) - [rush-admin | PVP Base](#rush-admin-pvp-base) - [rush-deadlog | PVP Base](#rush-deadlog-pvp-base) - [Discordbot | PVP Base](#discordbot-pvp-base) - [rush-soundmenu | PVP Base](#rush-soundmenu-pvp-base) - [rush_anticheat | PVP Base](#rush-anticheat-pvp-base) - [gfx-squad-remake | PVP Base](#gfx-squad-remake-pvp-base) - [farm-system | PVP Base](#farm-system-pvp-base) - [npc-shop | PVP Base](#npc-shop-pvp-base) - [rush_whitelist | PVP Base](#rush-whitelist-pvp-base) --- # Introduction | PVP Base Welcome to the official documentation for Rush PVP FiveM Server. [hashtag](https://gfx-fivem.gitbook.io/pvp-base#overview) Overview ----------------------------------------------------------------------- Rush PVP is a comprehensive FiveM PVP server featuring custom game modes, squad systems, inventory management, and more. [hashtag](https://gfx-fivem.gitbook.io/pvp-base#documentation-structure) Documentation Structure ----------------------------------------------------------------------------------------------------- * **Getting Started** - Quick start guide and command reference * **Core** - Framework and base systems * **Combat & Survival** - Death system, inventory, kit, effects * **Zones & Maps** - Safezone, redzone, mods * **Gamemodes** - Game modes, cup, airdrop, farm * **Social** - Squad, crew, leaderboard, HUD, sounds * **Admin & Moderation** - Admin panel, reports, anticheat, whitelist * **Webhooks** - Discord webhook configuration [hashtag](https://gfx-fivem.gitbook.io/pvp-base#quick-links) Quick Links ----------------------------------------------------------------------------- * [Quick Start Guide](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start) * [Command Reference](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands) * [Webhook Reference](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference) * [rush\_core](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core) * [gfx-inventory](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory) [hashtag](https://gfx-fivem.gitbook.io/pvp-base#support) Support --------------------------------------------------------------------- For issues and questions, contact the development team. [NextQuick Startchevron-right](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start) Last updated 10 days ago * [Overview](https://gfx-fivem.gitbook.io/pvp-base#overview) * [Documentation Structure](https://gfx-fivem.gitbook.io/pvp-base#documentation-structure) * [Quick Links](https://gfx-fivem.gitbook.io/pvp-base#quick-links) * [Support](https://gfx-fivem.gitbook.io/pvp-base#support) --- # Quick Start | PVP Base This guide will help you get Rush PVP server up and running quickly. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start#prerequisites) Prerequisites ------------------------------------------------------------------------------------------------------------- * FiveM Server (latest artifact) * MySQL/MariaDB Database * Node.js (for Discordbot) [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start#installation-steps) Installation Steps ----------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start#id-1.-database-setup) 1\. Database Setup Import the required SQL files from `rush_core` into your database. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start#id-2.-core-configuration) 2\. Core Configuration Edit `rush_core/config.lua`: Variable Type Description `Config.Debug` boolean Enable debug mode `Config.ServerName` string Your server name ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start#id-3.-webhook-configuration) 3\. Webhook Configuration All webhooks are centralized in `rush_base/server/log/rush_log.lua`. See [Webhook Reference](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference) for full list. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start#id-4.-resource-start-order) 4\. Resource Start Order Add to your `server.cfg`: ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start#id-5.-discord-bot-optional) 5\. Discord Bot (Optional) Configure your bot token in the config file. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start#first-launch-checklist) First Launch Checklist ------------------------------------------------------------------------------------------------------------------------------- * Database imported and connected * Webhooks configured (or disabled) * License key configured (if required) * Admin permissions set up * Test player spawn and basic features [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start#common-issues) Common Issues ------------------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start#players-stuck-on-loading) Players stuck on loading Check if `rush_core` is starting correctly and database is accessible. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start#webhooks-not-sending) Webhooks not sending Verify webhook URLs are valid and not rate-limited by Discord. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start#inventory-not-working) Inventory not working Ensure `gfx-inventory` starts after `rush_core`. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start#script-ui-nui-not-showing) Script UI/NUI not showing Some scripts have web-based UI components that require a build step. If a script's UI is not appearing in-game, you likely need to build it first. **gfx-squad-remake:** **fivem-appearance:** **pma-voice:** **chat:** After building, restart the relevant resource or the entire server. [PreviousIntroductionchevron-left](https://gfx-fivem.gitbook.io/pvp-base) [NextCommand Referencechevron-right](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands) Last updated 10 days ago * [Prerequisites](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start#prerequisites) * [Installation Steps](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start#installation-steps) * [1\. Database Setup](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start#id-1.-database-setup) * [2\. Core Configuration](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start#id-2.-core-configuration) * [3\. Webhook Configuration](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start#id-3.-webhook-configuration) * [4\. Resource Start Order](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start#id-4.-resource-start-order) * [5\. Discord Bot (Optional)](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start#id-5.-discord-bot-optional) * [First Launch Checklist](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start#first-launch-checklist) * [Common Issues](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start#common-issues) * [Players stuck on loading](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start#players-stuck-on-loading) * [Webhooks not sending](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start#webhooks-not-sending) * [Inventory not working](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start#inventory-not-working) * [Script UI/NUI not showing](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start#script-ui-nui-not-showing) Copy # Framework ensure oxmysql ensure rush_core # Base ensure rush_base # GFX Scripts ensure gfx-inventory ensure gfx-safezone ensure gfx-redzone ensure gfx_deathsystem ensure gfx-squad-remake # ... other gfx scripts # Rush Scripts ensure rush-gamemodes ensure rush-cup # Other Scripts ensure rush_anticheat ensure rush_whitelist Copy cd Discordbot npm install Copy cd gfx-squad-remake/web npm install npm run build Copy cd fivem-appearance/web npm install npm run build Copy cd pma-voice/voice-ui npm install npm run build Copy cd chat npm install npm run build --- # Keybindings Reference | PVP Base Complete list of all keyboard controls used across the server. > Keys registered with `RegisterKeyMapping` can be rebound by players through **Settings > Key Bindings > FiveM** in-game. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/keybindings#general) General ------------------------------------------------------------------------------------------------- Key Action Script Rebindable TAB Open / Close Inventory gfx-inventory Yes 1-7 Use Inventory Slot 1-7 gfx-inventory Yes F1 Fast Heal rush\_base Yes F2 Fast Armor rush\_base Yes F3 Zone Selection Menu rush\_base Yes O Toggle Big Map rush\_base Yes Delete Cancel Progress Bar rush\_base Yes L Toggle Chat chat Yes F9 Start / Stop Recording rush\_base Yes [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/keybindings#squad) Squad --------------------------------------------------------------------------------------------- Key Action Script Rebindable J Open Squad Menu gfx-squad-remake Yes H Place Squad Marker gfx-squad-remake Yes [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/keybindings#vehicle) Vehicle ------------------------------------------------------------------------------------------------- Key Action Script Rebindable K Store Vehicle in Garage gfx-vehicleitems Yes [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/keybindings#voice-pma-voice) Voice (pma-voice) ------------------------------------------------------------------------------------------------------------------- Key Action Script Rebindable Left Alt (LMENU) Radio Talk (Hold) pma-voice Yes F11 Cycle Voice Proximity pma-voice Yes [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/keybindings#gamemode-controls) Gamemode Controls --------------------------------------------------------------------------------------------------------------------- Key Action Script Rebindable B Solo Trick (Deluxo Trick) rush-gamemodes Yes B Deluxo Trick Area rush-gamemodes Yes K Delete Vehicle (PitK) rush-gamemodes Yes Left Mouse Shoot / Action rush-gamemodes No Right Mouse Aim / Action rush-gamemodes No TAB Weapon Wheel rush-gamemodes No [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/keybindings#interaction) Interaction --------------------------------------------------------------------------------------------------------- Key Action Script Rebindable E Pickup / Interact farm-system, leaderboard No H Interact with NPC leaderboard, npc-shop No X Interact / Navigate leaderboard No Y Confirm leaderboard No [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/keybindings#admin-only) Admin Only ------------------------------------------------------------------------------------------------------- Key Action Script Rebindable F5 Toggle Noclip rush\_base Yes F6 Toggle Invisibility rush-admin Yes F7 Open Admin Menu rush-admin Yes ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/keybindings#noclip-controls-active-while-noclipping) Noclip Controls (Active While Noclipping) Key Action W Move Forward S Move Backward A Move Left D Move Right E Move Up Q Move Down Mouse Wheel Up Increase Speed Mouse Wheel Down Decrease Speed Left Shift 2x Speed Left Alt 4x Speed Left Ctrl 0.25x Speed [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/keybindings#ui-navigation) UI Navigation ------------------------------------------------------------------------------------------------------------- Key Action Context ESC Close UI / Cancel All NUI menus Arrow Keys Navigate Menu navigation Enter Confirm / Select Menu navigation Backspace Go Back Menu navigation [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/keybindings#notes) Notes --------------------------------------------------------------------------------------------- * **Rebindable** keys use FiveM's `RegisterKeyMapping` system. Players can change these through the in-game settings menu under **Settings > Key Bindings > FiveM**. * **Non-rebindable** keys are hardcoded using GTA V control indices and cannot be changed by players. * Some keys have different functions depending on context (e.g., K stores vehicles normally but deletes them in PitK gamemode). * Gamemode-specific keys only work while the gamemode is active. [PreviousCommand Referencechevron-left](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands) [NextWebhook Referencechevron-right](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference) Last updated 10 days ago * [General](https://gfx-fivem.gitbook.io/pvp-base/getting-started/keybindings#general) * [Squad](https://gfx-fivem.gitbook.io/pvp-base/getting-started/keybindings#squad) * [Vehicle](https://gfx-fivem.gitbook.io/pvp-base/getting-started/keybindings#vehicle) * [Voice (pma-voice)](https://gfx-fivem.gitbook.io/pvp-base/getting-started/keybindings#voice-pma-voice) * [Gamemode Controls](https://gfx-fivem.gitbook.io/pvp-base/getting-started/keybindings#gamemode-controls) * [Interaction](https://gfx-fivem.gitbook.io/pvp-base/getting-started/keybindings#interaction) * [Admin Only](https://gfx-fivem.gitbook.io/pvp-base/getting-started/keybindings#admin-only) * [Noclip Controls (Active While Noclipping)](https://gfx-fivem.gitbook.io/pvp-base/getting-started/keybindings#noclip-controls-active-while-noclipping) * [UI Navigation](https://gfx-fivem.gitbook.io/pvp-base/getting-started/keybindings#ui-navigation) * [Notes](https://gfx-fivem.gitbook.io/pvp-base/getting-started/keybindings#notes) --- # Command Reference | PVP Base All in-game commands registered with `RegisterCommand`. Commands are categorized by access level and organized by script. * * * [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#admin-commands) Admin Commands ------------------------------------------------------------------------------------------------------------ These commands require **admin** permission (in-game group or Discord role). ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#core-framework-rush_core) Core / Framework (rush\_core) Command Parameters Description `/setcoords` `x` `y` `z` Teleport to specified coordinates `/car` `modelName` Spawn a vehicle `/dv` \- Delete nearby vehicle `/setaccountmoney` `playerID` `account` `amount` Set a player's account balance `/giveaccountmoney` `playerID` `account` `amount` Add money to a player's account `/setgroup` `playerID` `group` Change a player's permission group `/save` `playerID` Force-save a player's data to database `/saveall` \- Force-save all players' data ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#base-rush_base) Base (rush\_base) Command Parameters Description `/goto` `playerID` Teleport to a player `/bring` `playerID` Teleport a player to you `/kick` `playerID` `[reason]` Kick a player from the server `/offlineban` `identifier` `reason` Ban an offline player by Steam hex `/bancheck` `identifier` Check if a player is banned `/givemoney` `playerID` `amount` Give points to a player `/removemoney` `playerID` `amount` Remove points from a player `/fine` `playerID` `amount` `reason` Fine a player and broadcast to chat `/giveaway` `winnerCount` `prize` `amount` `[group]` Run a random giveaway for online players `/refund` `playerID` `item` `[amount]` Refund an item to a player `/disable` `eventName` Disable a server event (airdrop, darkzone, duel, etc.) `/enable` `eventName` Re-enable a disabled event `/disabledevents` \- List all currently disabled events `/nextevent` `[eventName]` Set or reset the next scheduled event `/maxplayers` \- Show today's max player count `/addtime` `playerID` `type` `days` Add Gold/Diamond membership time `/removetime` `playerID` `type` `days` Remove Gold/Diamond membership time `/adminped` `[modelName]` Change your ped model (default: a\_m\_m\_skater\_01) `/adminresetnick` `playerID` Force reset a player's nickname `/invcheck` \- Open admin inventory check panel `/setweather` `weatherType` `hour` `minute` Set weather and time ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#inventory-gfx-inventory) Inventory (gfx-inventory) Command Parameters Description `/clearinventory` `playerID` `invType` Clear a player's inventory `/additem` `playerID` `invType` `item` `count` Add item to a player's inventory `/removeitem` `playerID` `invType` `item` `count` Remove item from a player's inventory ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#death-system-gfx_deathsystem) Death System (gfx\_deathsystem) Command Parameters Description `/revive` `[playerID]` Revive a player (or yourself if no ID) ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#redzone-gfx-redzone) Redzone (gfx-redzone) Command Parameters Description `/redzone` \- Relocate/reset all redzone areas ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#vehicle-items-gfx-vehicleitems) Vehicle Items (gfx-vehicleitems) Command Parameters Description `/vehdebug` \- Toggle vehicle debug mode ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#airdrop-rush-airdrop) Airdrop (rush-airdrop) Command Parameters Description `/airdrop` \- Spawn an airdrop at a random location `/airdropdelete` \- Delete all active airdrops `/testairdropcoords` \- Show blips for all airdrop locations `/admindrop` `item1` `item2` `...` Create custom airdrop at your position ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#admin-panel-rush-admin) Admin Panel (rush-admin) Command Parameters Description `/adminmenu` \- Open admin menu (F7) `/invisible` \- Toggle player invisibility `/+noclipp` \- Toggle noclip/free camera (F5) `/tpm` \- Teleport to map waypoint ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#leaderboard-rush-leaderboard) Leaderboard (rush-leaderboard) Command Parameters Description `/adminldrefresh` \- Force refresh all leaderboard data ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#deadlog-reports-rush-deadlog) Deadlog / Reports (rush-deadlog) Command Parameters Description `/reports` \- Open reports viewer panel ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#crew-rush-crew) Crew (rush-crew) Command Parameters Description `/allcrewnotify` `message` Send announcement to all crews ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#chat) Chat Command Parameters Description `/chatclose` \- Toggle chat on/off for the server `/clearall` \- Clear chat for all players `/mute` `playerID` `[duration]` Mute a player (default 300 seconds) `/unmute` `playerID` Unmute a player `/mutelist` \- List all muted players `/an` `message` Send a styled announcement to all players `/filteradd` `word` Add a word to chat filter `/filterremove` `word` Remove a word from chat filter `/filterwords` \- List all filtered words `/addchatperm` `playerID` `role` Assign chat badge (mod/admin/manager/streamer) `/removechatperm` `playerID` Remove chat badge from a player ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#rush-cup-rush-cup) Rush Cup (rush-cup) Command Parameters Description `/cupstartJoining` `[duration]` Open/close cup registration phase `/cupdrawfixture` \- Draw random tournament fixtures `/cupresultfixture` \- Create next round fixtures from winners `/cupdeletefixture` \- Delete all current fixtures `/cupstart` \- Start all current cup matches `/cupmanuelduel` `fixtureID` Manually start a specific cup match `/cupwaiting` \- Check how many matches are in progress `/cupmanuresult` `playerID` Manually declare a match winner `/cupremoveplayer` `playerID` Remove a player from cup registration `/cupaddplayer` `playerID` Add a player to cup registration ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#gamemodes-rush-gamemodes) Gamemodes (rush-gamemodes) Command Parameters Description `/snowarea` `duration` `[maxKill]` `[reward]` `[map]` Start Snowman Hunt event `/snowareastop` \- Stop Snowman Hunt event `/snowballarea` `duration` `[maxHit]` `[reward]` `[radius]` Start Snowball Fight event `/snowballareastop` \- Stop Snowball Fight event `/killzone` `start/stop/stopall` `[params]` Manage Kill Zone events `/duelcancel` `playerID` Cancel a Duel lobby `/pitkcancel` `playerID` Cancel a PitK lobby `/deluxocancel` `playerID` Cancel a Deluxo Trick lobby `/resetplayer` `playerID` Reset a player from Battle Royale `/changetrickarea` \- Change Deluxo trick area `/settrickarea` `[radius]` Set trick area at your position `/cleartrickarea` \- Remove trick area `/bucket` `state` `bucketNumber` Set player routing bucket * * * [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#console-only-commands) Console-Only Commands -------------------------------------------------------------------------------------------------------------------------- These commands can only be run from the **server console**. Command Parameters Script Description `/status` \- rush\_core Print all connected player info `/wipe` `identifier` rush\_core Wipe a player's data from database `/wipebanneds` \- rush\_base Wipe all banned players' data `/unbanwipe` \- rush\_base Wipe data of all banned players from bans.json `/checkplayers31` \- rush\_base Find orphaned inventory records `/updateped` \- rush\_base Replace old character models in DB `/addpurchasetbxid` `tbxID` `itemID` rush\_base Insert Tebex purchase code `/tebexrushunban` `hexID` `username` `tbxID` rush\_base Log Tebex unban to Discord `/tebexrushblacklist` `hexID` `username` `tbxID` rush\_base Log Tebex blacklist to Discord `/syncnickname` \- rush-leaderboard Sync all nicknames from DB to leaderboard * * * [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#player-commands) Player Commands -------------------------------------------------------------------------------------------------------------- These commands are available to **all players**. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#general) General Command Parameters Description `/point` \- Show your point balance `/ping` \- Show your current ping `/id` \- Show nearby player IDs for 5 seconds `/givepoint` `playerID` `amount` Transfer points to another player (15s cooldown, max 1M) `/resetnick` \- Change your nickname (must be in safezone) `/f3menu` \- Open server info/teleport menu (F3, safezone required for non-admins) `/bigmap` \- Cycle minimap size (O key) `/record` \- Toggle Rockstar Editor recording (F9) `/hud` \- Toggle HUD settings panel `/cancelaction` \- Cancel current progress bar action (Delete key) `/leave` \- Leave NPC shop area ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#combat-survival) Combat / Survival Command Parameters Description `/armor` \- Use armor kit with animation (F2) `/heal` \- Use heal kit with animation (F1) `/die` \- Self-kill with 3 second countdown `/kill` \- Alias for `/die` `/kit` \- Open kit selection menu `/report` `playerID` Report a player (30s cooldown) ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#inventory-items) Inventory / Items Command Parameters Description `/inventory` \- Open/close inventory (TAB) `/useslot1` - `/useslot7` \- Use item in slot 1-7 (keys 1-7) `/examinevehicle` \- Open vehicle store/examine menu (K key) ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#social-chat) Social / Chat Command Parameters Description `/pm` `playerID` `message` Send a private message `/dm` `playerID` `message` Send a private message (alias) `/r` `message` Reply to last private message `/toggleChat` `[visible/hidden/whenactive]` Cycle chat visibility (L key) ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#squad-crew) Squad / Crew Command Parameters Description `/squad` \- Open squad menu (J key) `/marker` \- Place squad marker (must be in a squad) `/crew` \- Open crew management menu `/crewnotify` `message` Send crew announcement (leader/manager only) ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#cvc-crew-vs-crew) CvC (Crew vs Crew) Command Parameters Description `/cvcjoin` \- Join a CvC war battle `/cvcready` \- Mark yourself as ready in CvC `/cvcleave` \- Leave the CvC war `/cvckick` `playerID` Kick a crew member from CvC (own crew only) ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#gamemodes) Gamemodes Command Parameters Description `/duelready` \- Mark ready in Duel lobby `/dueldelete` \- Delete your own Duel lobby (waiting status only) `/pitkready` \- Mark ready in PitK lobby `/pitkdelete` \- Delete your own PitK lobby (waiting status only) `/delvehpitk` \- Delete your vehicle in PitK (K key) `/deluxotrickready` \- Mark ready in Deluxo Trick lobby `/deluxodelete` \- Delete your own Deluxo lobby (waiting status only) `/deluxosolotrick` \- Start solo Deluxo trick mode (B key) `/deluxotrickarea` \- Start solo Deluxo trick area (B key) `/mob` \- Toggle mob farming in Darkzone `/afk` \- Toggle AFK farming mode (safezone only) ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#leaderboard) Leaderboard Command Parameters Description `/leaderboard` \- Open leaderboard UI `/refreshlb` \- Refresh leaderboard data `/resetkda` \- Reset your K/D/A stats (costs 30,000 points, free for Diamond) ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#premium-gold-diamond) Premium (Gold/Diamond) Command Parameters Description `/effect` \- Open kill effect selection menu (Gold/Diamond required) `/animmenu` \- Open animation menu (Gold/Diamond + safezone) `/soundmenu` \- Open sound customization menu (Diamond + safezone) [PreviousQuick Startchevron-left](https://gfx-fivem.gitbook.io/pvp-base/getting-started/quick-start) [NextKeybindings Referencechevron-right](https://gfx-fivem.gitbook.io/pvp-base/getting-started/keybindings) Last updated 10 days ago * [Admin Commands](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#admin-commands) * [Core / Framework (rush\_core)](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#core-framework-rush_core) * [Base (rush\_base)](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#base-rush_base) * [Inventory (gfx-inventory)](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#inventory-gfx-inventory) * [Death System (gfx\_deathsystem)](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#death-system-gfx_deathsystem) * [Redzone (gfx-redzone)](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#redzone-gfx-redzone) * [Vehicle Items (gfx-vehicleitems)](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#vehicle-items-gfx-vehicleitems) * [Airdrop (rush-airdrop)](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#airdrop-rush-airdrop) * [Admin Panel (rush-admin)](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#admin-panel-rush-admin) * [Leaderboard (rush-leaderboard)](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#leaderboard-rush-leaderboard) * [Deadlog / Reports (rush-deadlog)](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#deadlog-reports-rush-deadlog) * [Crew (rush-crew)](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#crew-rush-crew) * [Chat](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#chat) * [Rush Cup (rush-cup)](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#rush-cup-rush-cup) * [Gamemodes (rush-gamemodes)](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#gamemodes-rush-gamemodes) * [Console-Only Commands](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#console-only-commands) * [Player Commands](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#player-commands) * [General](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#general) * [Combat / Survival](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#combat-survival) * [Inventory / Items](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#inventory-items) * [Social / Chat](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#social-chat) * [Squad / Crew](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#squad-crew) * [CvC (Crew vs Crew)](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#cvc-crew-vs-crew) * [Gamemodes](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#gamemodes) * [Leaderboard](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#leaderboard) * [Premium (Gold/Diamond)](https://gfx-fivem.gitbook.io/pvp-base/getting-started/commands#premium-gold-diamond) --- # Webhook Reference | PVP Base All Discord webhooks are centralized in `rush_base/server/log/rush_log.lua`. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#configuration-location) Configuration Location ------------------------------------------------------------------------------------------------------------------------------ Copy resources/rush_base/server/log/rush_log.lua [hashtag](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#how-to-use) How to Use ------------------------------------------------------------------------------------------------------ ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#from-server-scripts) From Server Scripts Copy -- Using event TriggerEvent("rush_log", "channelName", "Title", "Message", "colorname", {title = "Field", value = "Data"}, playerSource) -- Using export exports['rush_base']:dclog("channelName", "Title", "Message", "colorname", {title = "Field", value = "Data"}, playerSource) ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#available-colors) Available Colors Color Name Hex Code Usage red 15158332 Errors, bans green 3066993 Success, positive yellow 15844367 Warnings blue 3447003 Info (default) purple 10181046 Special events orange 15105570 Alerts [hashtag](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#webhook-channels) Webhook Channels ------------------------------------------------------------------------------------------------------------------ ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#player-events) Player Events Channel Key Description Used By `connecting` Player connection attempts rush\_base `playerdropped` Player disconnections rush\_base `playerKilled` Player kill logs gfx\_deathsystem `playerUnbanned` Unban actions rush-admin `playerBlacklist` Blacklist actions rush-admin ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#game-systems) Game Systems Channel Key Description Used By `airdrop` Airdrop spawns and pickups rush-airdrop `lootbag` Lootbag drops gfx-lootbag `trade` Player trades gfx-inventory `fastTrade` Quick trade logs gfx-inventory `inventory` Inventory changes gfx-inventory `npc-shop` NPC shop purchases npc-shop ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#combat-and-zones) Combat & Zones Channel Key Description Used By `afkfarm` AFK farm zone activity farm-system `rushcup` Rush Cup events rush-cup ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#duel-system) Duel System Channel Key Description Used By `duelstart` Duel initiated rush-gamemodes `duelend` Duel completed rush-gamemodes `duelcancel` Duel cancelled rush-gamemodes `duelquit` Player quit duel rush-gamemodes ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#admin-and-moderation) Admin & Moderation Channel Key Description Used By `adminCommand` Admin command usage rush-admin `adminactivitiy` Admin activity logs rush-admin `adminbanlog` Ban logs rush-admin `report` Player reports rush\_base `ingamereport` In-game reports rush\_base ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#security) Security Channel Key Description Used By `hackDedected` Hack detection alerts rush\_anticheat `blacklistKeys` Blacklisted key usage rush\_anticheat `doubleclient` Multiple client detection rush\_anticheat `highping` High ping warnings rush\_base ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#economy) Economy Channel Key Description Used By `purchasedata` Purchase logs rush\_core `refund` Refund requests rush-admin `reedemcode` Code redemptions rush\_core `givePoint` Point grants rush-admin `giveaway` Giveaway events rush\_base `finelogs` Fine/penalty logs rush-admin ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#miscellaneous) Miscellaneous Channel Key Description Used By `magictest` Testing/debug logs development `yedek` Backup/reserved \- [hashtag](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#setup-instructions) Setup Instructions ---------------------------------------------------------------------------------------------------------------------- 1. Create Discord webhooks in your server channels 2. Open `rush_base/server/log/rush_log.lua` 3. Replace placeholder URLs: [hashtag](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#disabling-webhooks) Disabling Webhooks ---------------------------------------------------------------------------------------------------------------------- To disable a specific webhook, set it to empty string: [hashtag](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#bot-appearance) Bot Appearance -------------------------------------------------------------------------------------------------------------- Configure bot appearance in the same file: [hashtag](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#legacy-configuration) Legacy Configuration -------------------------------------------------------------------------------------------------------------------------- There's also a legacy config at `rush_base/server/log_config.lua` with `DiscordWebhooks` table. The main `rush_log.lua` takes precedence. [PreviousKeybindings Referencechevron-left](https://gfx-fivem.gitbook.io/pvp-base/getting-started/keybindings) [Nextrush\_corechevron-right](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core) Last updated 10 days ago * [Configuration Location](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#configuration-location) * [How to Use](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#how-to-use) * [From Server Scripts](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#from-server-scripts) * [Available Colors](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#available-colors) * [Webhook Channels](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#webhook-channels) * [Player Events](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#player-events) * [Game Systems](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#game-systems) * [Combat & Zones](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#combat-and-zones) * [Duel System](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#duel-system) * [Admin & Moderation](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#admin-and-moderation) * [Security](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#security) * [Economy](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#economy) * [Miscellaneous](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#miscellaneous) * [Setup Instructions](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#setup-instructions) * [Disabling Webhooks](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#disabling-webhooks) * [Bot Appearance](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#bot-appearance) * [Legacy Configuration](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference#legacy-configuration) Copy Webhooks = { ["connecting"] = "YOUR_WEBHOOK_URL_HERE", ["playerdropped"] = "YOUR_WEBHOOK_URL_HERE", -- ... etc } Copy ["connecting"] = "", Copy Bot = { avatar = "YOUR_BOT_AVATAR_URL", authorurl = "YOUR_ICON_URL", footerurl = "YOUR_FOOTER_ICON_URL", } --- # gfx_deathsystem | PVP Base Complete death and respawn system with kill tracking. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx_deathsystem#description) Description ----------------------------------------------------------------------------------------------------------------- Handles player deaths, combat logging, kill streaks, respawning, and death notifications. Integrates with squad system for team notifications. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx_deathsystem#installation) Installation ------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx_deathsystem#dependencies) Dependencies * rush\_core * rush\_base * gfx-inventory * gfx-safezone * gfx-squad-remake ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx_deathsystem#start-order) Start Order Copy ensure rush_core ensure gfx-safezone ensure gfx-squad-remake ensure gfx_deathsystem [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx_deathsystem#configuration) Configuration --------------------------------------------------------------------------------------------------------------------- **File:** `server/serverconfig.lua` ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx_deathsystem#combat-settings) Combat Settings Variable Type Description `CombatModeTimer` number Combat mode duration (seconds) `ComboMin` number Minimum kills for combo bonus `ComboMax` number Maximum combo multiplier `ComboBonus` table Bonus points per combo level `KilledPoint` number Base points per kill ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx_deathsystem#loadout-configuration) Loadout Configuration Variable Type Description `Loadout` table Starter weapons after death [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx_deathsystem#features) Features ----------------------------------------------------------------------------------------------------------- * **Combat Logging** - Tracks when players are in combat * **Kill Streaks** - Combo system with bonus rewards * **Death Camera** - Shows killer info on death * **Squad Notifications** - Alerts squad members when teammate dies * **Inventory Clear** - Clears inventory on death (outside safezone) * **Auto Loadout** - Gives starter items on respawn [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx_deathsystem#events) Events ------------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx_deathsystem#server-events) Server Events ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx_deathsystem#client-events) Client Events [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx_deathsystem#commands) Commands ----------------------------------------------------------------------------------------------------------- Command Permission Description `/revive [id]` Admin Revive player [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx_deathsystem#webhook-integration) Webhook Integration --------------------------------------------------------------------------------------------------------------------------------- Uses `playerKilled` webhook channel for death logs. [Previousrush\_basechevron-left](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base) [Nextgfx-deathcamv2chevron-right](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-deathcamv2) Last updated 10 days ago * [Description](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx_deathsystem#description) * [Installation](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx_deathsystem#installation) * [Dependencies](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx_deathsystem#dependencies) * [Start Order](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx_deathsystem#start-order) * [Configuration](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx_deathsystem#configuration) * [Combat Settings](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx_deathsystem#combat-settings) * [Loadout Configuration](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx_deathsystem#loadout-configuration) * [Features](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx_deathsystem#features) * [Events](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx_deathsystem#events) * [Server Events](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx_deathsystem#server-events) * [Client Events](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx_deathsystem#client-events) * [Commands](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx_deathsystem#commands) * [Webhook Integration](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx_deathsystem#webhook-integration) Copy -- Player death event RegisterNetEvent('rush_core:server:onDeath') -- Combat log trigger RegisterNetEvent('gfx_deathsystem:server:combatLog') -- Request starter items RegisterNetEvent('gfx_deathsystem:server:StarterItem') Copy -- Kill streak notification TriggerClientEvent("gfx_deathsystem:client:killStreak", source, combo, timer) -- Kill feed update TriggerClientEvent("gfx_deathsystem:killfeed:PlayerKilled", -1, bucket, killerData, victimData, weapon, killerId, streak, points) --- # rush_base | PVP Base Base utilities, logging, and Discord integration. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#description) Description -------------------------------------------------------------------------------------------- Provides shared utilities including Discord webhook logging, Discord role verification, weather system, hitmarkers, and error logging. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#installation) Installation ---------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#dependencies) Dependencies * rush\_core * rush\_system (escrow) * oxmysql ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#start-order) Start Order Copy ensure rush_core ensure rush_base [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#features) Features -------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#discord-webhook-logging) Discord Webhook Logging Centralized logging system for all server events. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#discord-role-verification) Discord Role Verification Check player Discord roles for permissions. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#weather-system) Weather System Server-side weather control. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#hitmarker-system) Hitmarker System Visual and audio feedback for hits. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#error-logging) Error Logging Client and server error capture. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#hud-components) HUD Components Notification system, squad invites, and more. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#server-exports) Server Exports -------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#discord-logging) Discord Logging ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#discord-role-check) Discord Role Check [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#webhook-configuration) Webhook Configuration ---------------------------------------------------------------------------------------------------------------- **File:** `server/log/rush_log.lua` ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#webhooks-table) Webhooks Table Contains 28+ webhook channels. See [Webhook Reference](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference) for full list. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#bot-appearance) Bot Appearance ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#color-options) Color Options Color Code Usage red 15158332 Errors green 3066993 Success yellow 15844367 Warnings blue 3447003 Info purple 10181046 Special orange 15105570 Alerts [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#client-features) Client Features ---------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#noclip) Noclip Admin noclip functionality. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#discord-rich-presence) Discord Rich Presence Custom Discord status display. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#error-logging-1) Error Logging Captures and reports client errors. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#hitmarker) Hitmarker Visual hit feedback with customizable sounds. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#weather) Weather Client-side weather synchronization. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#player-id-display) Player ID Display Shows player IDs above heads. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#scaleforms) Scaleforms GTA scaleform utilities. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#progress-bar) Progress Bar Mythic-style progress bar system. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#files-structure) Files Structure ---------------------------------------------------------------------------------------------------- [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#events) Events ---------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#using-the-log-event) Using the Log Event [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#locales) Locales ------------------------------------------------------------------------------------ Located in `locales/` and `translates/` folders for multi-language support. [Previousrush\_corechevron-left](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core) [Nextgfx\_deathsystemchevron-right](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx_deathsystem) Last updated 10 days ago * [Description](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#description) * [Installation](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#installation) * [Dependencies](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#dependencies) * [Start Order](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#start-order) * [Features](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#features) * [Discord Webhook Logging](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#discord-webhook-logging) * [Discord Role Verification](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#discord-role-verification) * [Weather System](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#weather-system) * [Hitmarker System](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#hitmarker-system) * [Error Logging](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#error-logging) * [HUD Components](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#hud-components) * [Server Exports](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#server-exports) * [Discord Logging](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#discord-logging) * [Discord Role Check](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#discord-role-check) * [Webhook Configuration](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#webhook-configuration) * [Webhooks Table](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#webhooks-table) * [Bot Appearance](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#bot-appearance) * [Color Options](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#color-options) * [Client Features](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#client-features) * [Noclip](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#noclip) * [Discord Rich Presence](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#discord-rich-presence) * [Error Logging](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#error-logging-1) * [Hitmarker](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#hitmarker) * [Weather](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#weather) * [Player ID Display](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#player-id-display) * [Scaleforms](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#scaleforms) * [Progress Bar](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#progress-bar) * [Files Structure](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#files-structure) * [Events](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#events) * [Using the Log Event](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#using-the-log-event) * [Locales](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base#locales) Copy -- Log to Discord webhook exports['rush_base']:dclog( "channelName", -- webhook channel key "Title", -- embed title "Message", -- embed description "colorname", -- color (red, green, blue, etc.) {title = "Field", value = "Data"}, -- field data playerSource -- optional: player source for details ) Copy -- Check if player has specific role local hasRole = exports.rush_base:IsRolePresent(source, "Role Name") -- Get all player roles local roles = exports.rush_base:GetRoles(source) Copy Bot = { avatar = "url", authorurl = "url", footerurl = "url", } Copy rush_base/ ├── client/ │ ├── client.lua │ ├── noclip.lua │ ├── utils.lua │ ├── discord_rich/ │ ├── error_log/ │ ├── hitmarker/ │ ├── weather/ │ └── ... ├── server/ │ ├── server.lua │ ├── shop.lua │ ├── log_config.lua (legacy) │ ├── discord_perms/ │ ├── error_log/ │ ├── log/ │ │ └── rush_log.lua (main webhook config) │ └── weather/ ├── locales/ └── index/ (NUI files) Copy -- Server-side TriggerEvent("rush_log", "channelName", "Title", "Message", "green", {title = "Details", value = "Info"}, playerSource ) --- # gfx-vehicleitems | PVP Base Vehicle item system (spawnable vehicles from inventory). [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-vehicleitems#description) Description ------------------------------------------------------------------------------------------------------------------ Converts vehicles into inventory items that can be stored, traded, and spawned. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-vehicleitems#installation) Installation -------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-vehicleitems#dependencies) Dependencies * rush\_core * gfx-inventory ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-vehicleitems#start-order) Start Order Copy ensure rush_core ensure gfx-inventory ensure gfx-vehicleitems [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-vehicleitems#configuration) Configuration ---------------------------------------------------------------------------------------------------------------------- **File:** `config.lua` [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-vehicleitems#features) Features ------------------------------------------------------------------------------------------------------------ * Spawn vehicles from inventory * Store vehicles back to inventory * Trade vehicles between players * Vehicle persistence [Previousgfx-attachmentshopchevron-left](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-attachmentshop) [Nextgfx-safezonechevron-right](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-safezone) Last updated 10 days ago * [Description](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-vehicleitems#description) * [Installation](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-vehicleitems#installation) * [Dependencies](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-vehicleitems#dependencies) * [Start Order](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-vehicleitems#start-order) * [Configuration](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-vehicleitems#configuration) * [Features](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-vehicleitems#features) --- # gfx-airdrop | PVP Base Airdrop event system with lootable crates. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/gfx-airdrop#description) Description --------------------------------------------------------------------------------------------------- Spawns periodic airdrops with valuable loot. Players compete to reach and open the crate first. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/gfx-airdrop#installation) Installation ----------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/gfx-airdrop#dependencies) Dependencies * rush\_core * gfx-inventory ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/gfx-airdrop#start-order) Start Order Copy ensure rush_core ensure gfx-inventory ensure rush-airdrop [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/gfx-airdrop#configuration) Configuration ------------------------------------------------------------------------------------------------------- **File:** `server/sv-open.lua` Variable Type Default Description `InventoryType` string "gfx" Inventory system `Framework` string "custom" Framework type `DiscordLog` boolean false Enable Discord logging `DiscordWebhook` string url Local webhook URL [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/gfx-airdrop#features) Features --------------------------------------------------------------------------------------------- * Timed airdrop spawns * Map blip showing drop location * Loot table with randomized items * Admin controls [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/gfx-airdrop#webhook-integration) Webhook Integration ------------------------------------------------------------------------------------------------------------------- Has its own webhook in config, but also uses central `airdrop` channel. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/gfx-airdrop#admin-commands) Admin Commands --------------------------------------------------------------------------------------------------------- Admins can manually trigger airdrops. [Previousrush-cupchevron-left](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-cup) [Nextfarm-systemchevron-right](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/farm-system) Last updated 10 days ago * [Description](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/gfx-airdrop#description) * [Installation](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/gfx-airdrop#installation) * [Dependencies](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/gfx-airdrop#dependencies) * [Start Order](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/gfx-airdrop#start-order) * [Configuration](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/gfx-airdrop#configuration) * [Features](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/gfx-airdrop#features) * [Webhook Integration](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/gfx-airdrop#webhook-integration) * [Admin Commands](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/gfx-airdrop#admin-commands) --- # gfx-lootbag | PVP Base Death loot drop system with interactive pickup. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-lootbag#description) Description ------------------------------------------------------------------------------------------------------------- Drops a lootable bag when players die, allowing others to collect their items. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-lootbag#installation) Installation --------------------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-lootbag#dependencies) Dependencies * rush\_core * rush\_base ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-lootbag#start-order) Start Order Copy ensure rush_core ensure gfx-lootbag [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-lootbag#configuration) Configuration ----------------------------------------------------------------------------------------------------------------- **File:** `config.lua` Variable Type Default Description `InteractKey` number 46 Key to interact (E key) `BagHash` hash rush\_deadbag\_prop Bag prop model `RemoveTimer` number 300 Seconds until bag despawns `BlipTimer` number 5 Seconds blip stays visible `DeathEvent` string "rush\_core:client:onDeath" Death event name `Settings.distance` number 4.5 Interaction distance [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-lootbag#locales) Locales ----------------------------------------------------------------------------------------------------- Key Default `open_bag` Press E to open the bag [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-lootbag#webhook-integration) Webhook Integration ----------------------------------------------------------------------------------------------------------------------------- Uses `lootbag` webhook channel for pickup logs. [Previousgfx-kitchevron-left](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-kit) [Nextgfx-effectschevron-right](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-effects) Last updated 10 days ago * [Description](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-lootbag#description) * [Installation](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-lootbag#installation) * [Dependencies](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-lootbag#dependencies) * [Start Order](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-lootbag#start-order) * [Configuration](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-lootbag#configuration) * [Locales](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-lootbag#locales) * [Webhook Integration](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-lootbag#webhook-integration) --- # gfx-inventory | PVP Base Advanced inventory system with NUI interface for Rush PVP. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory#description) Description --------------------------------------------------------------------------------------------------------------- Full-featured inventory system with drag & drop, fast trading, weapon attachments, and vehicle storage support. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory#installation) Installation ----------------------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory#dependencies) Dependencies * rush\_core * rush\_base * oxmysql * rush\_system (escrow) ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory#start-order) Start Order Copy ensure rush_core ensure rush_base ensure gfx-inventory [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory#configuration) Configuration ------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory#config-files) Config Files * `config/clientconfig.lua` - Client-side settings * `config/serverconfig.lua` - Server-side settings * `config/sharedconfig.lua` - Shared settings * `config/items.lua` - Item definitions ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory#key-settings) Key Settings Variable Type Description Items table All item definitions with metadata Weapons table Weapon definitions and attachment slots [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory#exports) Exports ------------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory#server-exports) Server Exports ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory#client-exports) Client Exports [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory#events) Events ----------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory#server-events) Server Events * `gfx-inventory:server:combatLog` - Combat log state change ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory#client-events) Client Events * `gfx-inventory:client:combatLog` - Update combat log UI state [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory#webhook-integration) Webhook Integration ------------------------------------------------------------------------------------------------------------------------------- Uses `trade`, `fastTrade`, `inventory` webhook channels for logging. [Previousgfx-deathcamv2chevron-left](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-deathcamv2) [Nextgfx-kitchevron-right](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-kit) Last updated 10 days ago * [Description](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory#description) * [Installation](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory#installation) * [Dependencies](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory#dependencies) * [Start Order](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory#start-order) * [Configuration](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory#configuration) * [Config Files](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory#config-files) * [Key Settings](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory#key-settings) * [Exports](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory#exports) * [Server Exports](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory#server-exports) * [Client Exports](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory#client-exports) * [Events](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory#events) * [Server Events](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory#server-events) * [Client Events](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory#client-events) * [Webhook Integration](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory#webhook-integration) Copy -- Add item to player exports["gfx-inventory"]:AddItem(source, "inventory", itemName, count) -- Remove item from player exports["gfx-inventory"]:RemoveItem(source, "inventory", itemName, count) -- Get player inventory exports["gfx-inventory"]:GetInventory(source) Copy -- Open inventory UI exports["gfx-inventory"]:OpenInventory() -- Close inventory UI exports["gfx-inventory"]:CloseInventory() --- # gfx-effects | PVP Base Death particle effects system for VIP players. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-effects#description) Description ------------------------------------------------------------------------------------------------------------- Displays custom particle effects (PTFX) when a player kills another. Effects are configurable per player. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-effects#installation) Installation --------------------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-effects#dependencies) Dependencies * rush\_core * oxmysql ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-effects#start-order) Start Order Copy ensure rush_core ensure gfx-effects [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-effects#configuration) Configuration ----------------------------------------------------------------------------------------------------------------- **File:** `config.lua` Variable Type Default Description `OnlyVIP` boolean false Restrict to VIP/Diamond users `IdentifierType` string "license" Player identifier type `SQLType` string "oxmysql" Database driver `UsersTable` string "players" User database table `IdColumn` string "license" Identifier column `ptfxrange` number 150 Effect visibility range [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-effects#locales) Locales ----------------------------------------------------------------------------------------------------- Key Default `for_vip` This feature is only for diamond users! [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-effects#usage) Usage ------------------------------------------------------------------------------------------------- Players can select their kill effect through the inventory menu. Effect is stored in player metadata as `ptfx`. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-effects#events) Events --------------------------------------------------------------------------------------------------- [Previousgfx-lootbagchevron-left](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-lootbag) [Nextgfx-attachmentshopchevron-right](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-attachmentshop) Last updated 10 days ago * [Description](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-effects#description) * [Installation](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-effects#installation) * [Dependencies](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-effects#dependencies) * [Start Order](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-effects#start-order) * [Configuration](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-effects#configuration) * [Locales](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-effects#locales) * [Usage](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-effects#usage) * [Events](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-effects#events) Copy -- Trigger effect on kill TriggerClientEvent("gfx-effect:client:effect", source, coords, ptfxName) --- # gfx-kit | PVP Base Kit/package claiming system with Discord role integration. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-kit#description) Description --------------------------------------------------------------------------------------------------------- Allows players to claim daily, weekly, and special kits based on time intervals and Discord roles. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-kit#installation) Installation ----------------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-kit#dependencies) Dependencies * rush\_core * rush\_base * oxmysql * gfx-inventory ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-kit#start-order) Start Order Copy ensure rush_core ensure rush_base ensure gfx-inventory ensure gfx-kit [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-kit#configuration) Configuration ------------------------------------------------------------------------------------------------------------- **File:** `config.lua` ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-kit#main-settings) Main Settings Variable Type Default Description `ServerName` string "Rush PvP" Server display name `GFXInventory` boolean true Using gfx-inventory `Framework` string "newqb" Framework type `SQLScript` string "oxmysql" Database driver `ServerLogo` string path Logo image path ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-kit#kit-structure) Kit Structure ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-kit#default-kits) Default Kits Kit Duration Requirement Items `daily` 24h None Basic weapons + vehicles `weekly` 168h None More weapons + vehicles `discord` 24h Discord "Player" role Basic loadout `booster` 48h "Server Booster" role Premium items `streamer` 120h "Streamer" role Special weapons `gold` 72h Purchase Premium weapons `diamond` 72h Purchase Best items + RPG ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-kit#discord-role-check) Discord Role Check Uses `rush_base:IsRolePresent` export for role verification: [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-kit#database) Database --------------------------------------------------------------------------------------------------- Stores kit claim timestamps per player to enforce cooldowns. [Previousgfx-inventorychevron-left](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory) [Nextgfx-lootbagchevron-right](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-lootbag) Last updated 10 days ago * [Description](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-kit#description) * [Installation](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-kit#installation) * [Dependencies](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-kit#dependencies) * [Start Order](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-kit#start-order) * [Configuration](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-kit#configuration) * [Main Settings](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-kit#main-settings) * [Kit Structure](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-kit#kit-structure) * [Default Kits](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-kit#default-kits) * [Discord Role Check](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-kit#discord-role-check) * [Database](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-kit#database) Copy ["kit_name"] = { name = "Display Name", description = "Kit description", duration = 24, -- hours until next claim image = "assets/kit-image.png", items = { {name = "item_name", count = 1} }, playerCanInteract = function(source) return true -- or role check end } Copy playerCanInteract = function(source) return HasPlayerHasRoleOnDiscord(source, "Role Name") end --- # gfx-deathcamv2 | PVP Base Death camera system showing killer information. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-deathcamv2#description) Description ---------------------------------------------------------------------------------------------------------------- Displays a cinematic death camera focusing on the killer, showing weapon used, damage dealt, and body part hit. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-deathcamv2#installation) Installation ------------------------------------------------------------------------------------------------------------------ ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-deathcamv2#dependencies) Dependencies * rush\_core * rush\_base ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-deathcamv2#start-order) Start Order Copy ensure rush_core ensure gfx-deathcamv2 [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-deathcamv2#configuration) Configuration -------------------------------------------------------------------------------------------------------------------- **File:** `config.lua` ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-deathcamv2#timing-settings) Timing Settings Variable Type Default Description `FatalIndex` number 6 Fatal damage index `WeaponIndex` number 7 Weapon damage index `duration` number 4500 Death cam duration (ms) `gunraceDuration` number 2000 Duration in gun race `pistolarenaDuration` number 2000 Duration in pistol arena `resetDamageTime` number 15000 Damage tracker reset (ms) ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-deathcamv2#weapon-names) Weapon Names Contains hash-to-name mapping for 80+ weapons including: * Melee weapons (Knife, Bat, Crowbar, etc.) * Pistols (Pistol, Combat Pistol, AP Pistol, etc.) * SMGs (Micro SMG, SMG MK2, etc.) * Rifles (Assault Rifle, Carbine MK2, etc.) * Snipers (Heavy Sniper, Marksman Rifle, etc.) * Heavy weapons (RPG, Minigun, Homing Launcher, etc.) * Throwables (Grenade, Sticky Bomb, Molotov, etc.) ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-deathcamv2#body-parts) Body Parts Key Display Name `head` Head `body` Body `left-arm` Left Arm `right-arm` Right Arm `left-leg` Left Leg `right-leg` Right Leg [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-deathcamv2#features) Features ---------------------------------------------------------------------------------------------------------- * Shows killer's Steam profile picture * Displays weapon used * Shows body part hit * Tracks damage from multiple attackers [Previousgfx\_deathsystemchevron-left](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx_deathsystem) [Nextgfx-inventorychevron-right](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-inventory) Last updated 10 days ago * [Description](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-deathcamv2#description) * [Installation](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-deathcamv2#installation) * [Dependencies](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-deathcamv2#dependencies) * [Start Order](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-deathcamv2#start-order) * [Configuration](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-deathcamv2#configuration) * [Timing Settings](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-deathcamv2#timing-settings) * [Weapon Names](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-deathcamv2#weapon-names) * [Body Parts](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-deathcamv2#body-parts) * [Features](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-deathcamv2#features) --- # rush_core | PVP Base Core framework providing player management and shared functions. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#description) Description -------------------------------------------------------------------------------------------- The central framework for Rush PVP, handling player data, money systems, inventory integration, and core game mechanics. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#installation) Installation ---------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#dependencies) Dependencies * oxmysql ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#start-order) Start Order Copy ensure oxmysql ensure rush_core [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#configuration) Configuration ------------------------------------------------------------------------------------------------ **File:** `config.lua` ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#general-settings) General Settings Variable Type Default Description `Config.pinglimit` number 300 Maximum allowed ping `Config.EnableDebug` boolean true Enable debug messages ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#money-system) Money System Variable Type Description `Config.Money.MoneyTypes` table Available money types and defaults `Config.Money.DontAllowMinus` table Money types that can't go negative Default money type: `money` with starting amount of 30,000. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#starter-items) Starter Items New players receive these items: * weapon\_assaultrifle\_mk2 (5x) * weapon\_carbinerifle\_mk2 (5x) * weapon\_specialcarbine\_mk2 (5x) * weapon\_bullpuprifle\_mk2 (5x) * weapon\_advancedrifle (5x) * brutus (5x) * yosemite3 (5x) * jugular (5x) * dominator4 (5x) * dukes2 (5x) ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#membership-settings) Membership Settings #### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#gold-membership) Gold Membership * Custom PTFX (death effects) * Custom death message * Name color customization * Lobby animations #### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#diamond-membership) Diamond Membership All Gold features plus: * Weapon skin menu * AFK boost * Auto-loot * Custom killfeed * Custom sounds (kill, death, hit, loot) [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#exports) Exports ------------------------------------------------------------------------------------ ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#server-exports) Server Exports ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#player-object-methods) Player Object Methods [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#events) Events ---------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#server-events) Server Events ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#client-events) Client Events [hashtag](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#player-data-structure) Player Data Structure ---------------------------------------------------------------------------------------------------------------- [PreviousWebhook Referencechevron-left](https://gfx-fivem.gitbook.io/pvp-base/webhooks/webhook-reference) [Nextrush\_basechevron-right](https://gfx-fivem.gitbook.io/pvp-base/core/rush_base) Last updated 10 days ago * [Description](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#description) * [Installation](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#installation) * [Dependencies](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#dependencies) * [Start Order](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#start-order) * [Configuration](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#configuration) * [General Settings](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#general-settings) * [Money System](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#money-system) * [Starter Items](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#starter-items) * [Membership Settings](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#membership-settings) * [Exports](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#exports) * [Server Exports](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#server-exports) * [Player Object Methods](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#player-object-methods) * [Events](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#events) * [Server Events](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#server-events) * [Client Events](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#client-events) * [Player Data Structure](https://gfx-fivem.gitbook.io/pvp-base/core/rush_core#player-data-structure) Copy -- Get core object local Core = exports['rush_core']:object() -- Get player local player = Core.GetPlayerFromId(source) -- Get all players local players = Core.GetPlayers() -- Shared items/weapons Core.Shared.Items Core.Shared.Weapons Copy -- Get player group player.getGroup() -- Add money player.addAccountMoney("money", amount) -- Remove money player.removeAccountMoney("money", amount) -- Get inventory player.getInventory() -- Clear inventory player.ClearInventory() -- Set player data player.SetPlayerData(category, key, value) -- Send notification player.Notification(key, ...) -- Get sound setting player.getSound(soundType) Copy -- Player loaded AddEventHandler("rush_core:server:playerLoaded", function(id) end) -- Player death RegisterNetEvent('rush_core:server:onDeath') Copy -- Instant revive TriggerClientEvent('rush_core:client:InstaRevive', source, true) -- On player killed (for effects) TriggerClientEvent("rush_core:client:onPlayerKilled", source) Copy player.PlayerData = { identifier = "license:xxx", group = "user", -- or "admin", "mod" metadata = { nickname = "PlayerName", ptfx = "none", dthmsg = "Rush PvP", settings = { color = "#ffffff", autoloadout = true } }, staticdata = { maxkillstreak = 0, ldanim = {...} }, purchase = { gold = 0, diamond = 0 } } --- # rush-cup | PVP Base Tournament/cup system for organized competitions. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-cup#description) Description ------------------------------------------------------------------------------------------------ Manages competitive tournaments with bracket systems, team registration, and prize distribution. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-cup#installation) Installation -------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-cup#dependencies) Dependencies * rush\_core * rush\_base * oxmysql ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-cup#start-order) Start Order Copy ensure rush_core ensure rush-cup [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-cup#configuration) Configuration ---------------------------------------------------------------------------------------------------- **Location:** `config/config.lua` [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-cup#features) Features ------------------------------------------------------------------------------------------ * Tournament creation * Team/player registration * Bracket generation * Match scheduling * Score tracking * Prize distribution [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-cup#webhook-integration) Webhook Integration ---------------------------------------------------------------------------------------------------------------- Uses `rushcup` webhook channel for tournament logs. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-cup#admin-functions) Admin Functions -------------------------------------------------------------------------------------------------------- Admins can: * Create tournaments * Manage brackets * Set prizes * Force match results [Previousrush-gamemodeschevron-left](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes) [Nextgfx-airdropchevron-right](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/gfx-airdrop) Last updated 10 days ago * [Description](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-cup#description) * [Installation](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-cup#installation) * [Dependencies](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-cup#dependencies) * [Start Order](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-cup#start-order) * [Configuration](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-cup#configuration) * [Features](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-cup#features) * [Webhook Integration](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-cup#webhook-integration) * [Admin Functions](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-cup#admin-functions) --- # gfx-redzone | PVP Base Dynamic PVP zone system with rotating locations and rewards. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-redzone#description) Description -------------------------------------------------------------------------------------------------------- Creates rotating red zones where players compete for territory control. Zone locations change periodically, and the leading player receives rewards. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-redzone#installation) Installation ---------------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-redzone#dependencies) Dependencies * rush\_core * gfx-inventory * oxmysql ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-redzone#start-order) Start Order Copy ensure rush_core ensure gfx-inventory ensure gfx-redzone [hashtag](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-redzone#configuration) Configuration ------------------------------------------------------------------------------------------------------------ **File:** `config.lua` ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-redzone#main-settings) Main Settings Variable Type Default Description `Framework` string "gfx-inventory" Inventory system `ChangeZonesInterval` number 20 Minutes between zone changes `ZoneCount` number 1 Active zones at a time `IdentifierType` string "steam" Player identifier type ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-redzone#zone-locations) Zone Locations Defined in `ZoneLocations` table: Setting Type Description `coords` vector3 Zone center `radius` number Zone radius in meters ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-redzone#reward-configuration) Reward Configuration Variable Type Description `gfx_points` boolean Use points instead of money `giveAllItems` boolean Give all items or random `money` table Money reward amounts `items` table Item rewards with name, count, label ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-redzone#default-rewards) Default Rewards **Money Pool:** 50k - 350k **Item Pool:** * Deluxo, Oppressor MK2, Oppressor * Scarab, Compact Launcher * Marksman Rifle MK2 [hashtag](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-redzone#locales) Locales ------------------------------------------------------------------------------------------------ Key Message `zones_changed` Redzone locations has changed `got_reward` You got %sx %s for being the leader of a redzone! [Previousgfx-safezonechevron-left](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-safezone) [Nextgfx-modschevron-right](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-mods) Last updated 10 days ago * [Description](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-redzone#description) * [Installation](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-redzone#installation) * [Dependencies](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-redzone#dependencies) * [Start Order](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-redzone#start-order) * [Configuration](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-redzone#configuration) * [Main Settings](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-redzone#main-settings) * [Zone Locations](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-redzone#zone-locations) * [Reward Configuration](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-redzone#reward-configuration) * [Default Rewards](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-redzone#default-rewards) * [Locales](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-redzone#locales) Copy {coords = vector3(x, y, z), radius = 140.0} --- # gfx-mods | PVP Base Vehicle modification system. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-mods#description) Description ----------------------------------------------------------------------------------------------------- Custom vehicle modification menu for upgrading vehicle performance and appearance. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-mods#installation) Installation ------------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-mods#dependencies) Dependencies * rush\_core ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-mods#start-order) Start Order Copy ensure rush_core ensure gfx-mods [hashtag](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-mods#features) Features ----------------------------------------------------------------------------------------------- * Engine upgrades * Transmission upgrades * Brake upgrades * Visual modifications * Performance tuning [Previousgfx-redzonechevron-left](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-redzone) [Nextrush-gamemodeschevron-right](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes) Last updated 10 days ago * [Description](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-mods#description) * [Installation](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-mods#installation) * [Dependencies](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-mods#dependencies) * [Start Order](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-mods#start-order) * [Features](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-mods#features) --- # gfx-attachmentshop | PVP Base Weapon attachment shop system. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-attachmentshop#description) Description -------------------------------------------------------------------------------------------------------------------- Allows players to purchase and apply weapon attachments like scopes, grips, and magazines. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-attachmentshop#installation) Installation ---------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-attachmentshop#dependencies) Dependencies * rush\_core * gfx-inventory ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-attachmentshop#start-order) Start Order Copy ensure rush_core ensure gfx-inventory ensure gfx-attachmentshop [hashtag](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-attachmentshop#features) Features -------------------------------------------------------------------------------------------------------------- * Browse available attachments * Purchase attachments with in-game currency * Apply attachments to weapons * Save attachment configurations [Previousgfx-effectschevron-left](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-effects) [Nextgfx-vehicleitemschevron-right](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-vehicleitems) Last updated 10 days ago * [Description](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-attachmentshop#description) * [Installation](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-attachmentshop#installation) * [Dependencies](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-attachmentshop#dependencies) * [Start Order](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-attachmentshop#start-order) * [Features](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-attachmentshop#features) --- # rush-gamemodes | PVP Base Multi-gamemode system with various PVP modes. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#description) Description ------------------------------------------------------------------------------------------------------ Comprehensive gamemode system featuring multiple PVP modes including Gun Race, Duel, Battle Royale, and more. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#installation) Installation -------------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#dependencies) Dependencies * rush\_core * rush\_base * gfx-inventory * gfx-safezone ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#start-order) Start Order Copy ensure rush_core ensure gfx-inventory ensure rush-gamemodes [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#available-gamemodes) Available Gamemodes ---------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#gun-race) Gun Race **Config:** `config/gunrace-config.lua` Progress through weapons by getting kills. First to complete all weapons wins. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#duel) Duel **Config:** `config/duel-config.lua` 1v1 combat with betting system. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#battle-royale) Battle Royale **Config:** `config/battleroyal-config.lua` Last man standing mode with shrinking zone. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#pistol-arena) Pistol Arena **Config:** `config/pistolarena-config.lua` Pistol-only combat arena. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#dark-zone) Dark Zone **Config:** `config/darkzone-config.lua` High-risk PVP zone with special rules. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#rush-zone) Rush Zone **Config:** `config/rushzone-config.lua` Fast-paced zone control mode. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#deluxo-trick) Deluxo Trick **Config:** `config/deluxotrick-config.lua` Vehicle-based trick competition. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#pitk-player-in-the-kill) PITK (Player in the Kill) **Config:** `config/pitk-config.lua` Target elimination mode. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#kill-zone) Kill Zone **Config:** `config/killzone-config.lua` Kill-based scoring zone. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#snowball-fight) Snowball Fight **Config:** `config/snowball-config.lua` Seasonal snowball battle mode. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#snowman-hunt) Snowman Hunt **Config:** `config/snowmanhunt-config.lua` Seasonal hunting mode. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#webhook-integration) Webhook Integration ---------------------------------------------------------------------------------------------------------------------- Uses duel-related webhooks: * `duelstart` - Duel initiated * `duelend` - Duel completed * `duelcancel` - Duel cancelled * `duelquit` - Player quit duel [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#state-management) State Management ---------------------------------------------------------------------------------------------------------------- Player gamemode tracked via state bags: [Previousgfx-modschevron-left](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-mods) [Nextrush-cupchevron-right](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-cup) Last updated 10 days ago * [Description](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#description) * [Installation](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#installation) * [Dependencies](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#dependencies) * [Start Order](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#start-order) * [Available Gamemodes](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#available-gamemodes) * [Gun Race](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#gun-race) * [Duel](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#duel) * [Battle Royale](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#battle-royale) * [Pistol Arena](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#pistol-arena) * [Dark Zone](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#dark-zone) * [Rush Zone](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#rush-zone) * [Deluxo Trick](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#deluxo-trick) * [PITK (Player in the Kill)](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#pitk-player-in-the-kill) * [Kill Zone](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#kill-zone) * [Snowball Fight](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#snowball-fight) * [Snowman Hunt](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#snowman-hunt) * [Webhook Integration](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#webhook-integration) * [State Management](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/rush-gamemodes#state-management) Copy Player(source).state.gameMode -- "gunrace", "duel", "pitk", etc. --- # gfx-safezone | PVP Base Safe zone management system with multiple zone support. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-safezone#description) Description --------------------------------------------------------------------------------------------------------- Creates protected zones where players cannot damage each other. Supports multiple zones with customizable options. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-safezone#installation) Installation ----------------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-safezone#dependencies) Dependencies * rush\_core * rush\_base ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-safezone#start-order) Start Order Copy ensure rush_core ensure gfx-safezone [hashtag](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-safezone#configuration) Configuration ------------------------------------------------------------------------------------------------------------- **File:** `config.lua` ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-safezone#zone-configuration) Zone Configuration Variable Type Description `coords` vector3 Center coordinates of the zone `radius` number Zone radius in meters `background` string Background image for UI ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-safezone#zone-options) Zone Options Option Type Default Description `mergePlayers` boolean true Prevent player collision `mergeVehicles` boolean true Prevent vehicle collision `mergePlayerAndVehicles` boolean true Prevent player-vehicle collision `disableShooting` boolean true Disable weapons in zone `disableMelee` boolean false Disable melee attacks ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-safezone#blip-options) Blip Options Option Type Description `blipColor` number Blip color ID `active` boolean Show blip on map `name` string Blip display name `description` string Zone description ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-safezone#default-zones) Default Zones Zone Key Name Location `one_zone` Main Safezone Fountain area `second_zone` Vagos South LS `three_zone` Beach Del Perro Beach `four_zone` Ikea Sandy Shores `five_zone` Paleto Forest Paleto Bay `six_zone` Market Route 68 `seven_zone` Casino Vinewood `main_zone` School Strawberry `farmzone` Farmzone Beach area [hashtag](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-safezone#exports) Exports ------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-safezone#server-exports) Server Exports [hashtag](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-safezone#locales) Locales ------------------------------------------------------------------------------------------------- Key Default `entered_zone` ~g~Entraste na Safezone. `left_zone` ~r~Saiste da Safezone. [Previousgfx-vehicleitemschevron-left](https://gfx-fivem.gitbook.io/pvp-base/combat-and-survival/gfx-vehicleitems) [Nextgfx-redzonechevron-right](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-redzone) Last updated 10 days ago * [Description](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-safezone#description) * [Installation](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-safezone#installation) * [Dependencies](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-safezone#dependencies) * [Start Order](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-safezone#start-order) * [Configuration](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-safezone#configuration) * [Zone Configuration](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-safezone#zone-configuration) * [Zone Options](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-safezone#zone-options) * [Blip Options](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-safezone#blip-options) * [Default Zones](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-safezone#default-zones) * [Exports](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-safezone#exports) * [Server Exports](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-safezone#server-exports) * [Locales](https://gfx-fivem.gitbook.io/pvp-base/zones-and-maps/gfx-safezone#locales) Copy -- Check if player is in safezone local inSafe = exports["gfx-safezone"]:InSafeZone(source) --- # gfx-crew | PVP Base Crew/clan management system. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-crew#description) Description --------------------------------------------------------------------------------------------- Persistent crew system allowing players to create, join, and manage clans with tags displayed in-game. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-crew#installation) Installation ----------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-crew#dependencies) Dependencies * rush\_core * rush\_base * oxmysql ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-crew#start-order) Start Order Copy ensure rush_core ensure rush-crew [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-crew#configuration) Configuration ------------------------------------------------------------------------------------------------- **File:** `config.lua` [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-crew#features) Features --------------------------------------------------------------------------------------- * Create crews with custom tags * Crew leadership and management * Crew statistics tracking * Crew tag display in killfeed [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-crew#exports) Exports ------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-crew#server-exports) Server Exports [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-crew#database) Database --------------------------------------------------------------------------------------- Stores crew data including: * Crew name and tag * Members list * Crew statistics * Leadership hierarchy [Previousgfx-squad-remakechevron-left](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-squad-remake) [Nextrush-leaderboardchevron-right](https://gfx-fivem.gitbook.io/pvp-base/social/rush-leaderboard) Last updated 10 days ago * [Description](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-crew#description) * [Installation](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-crew#installation) * [Dependencies](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-crew#dependencies) * [Start Order](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-crew#start-order) * [Configuration](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-crew#configuration) * [Features](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-crew#features) * [Exports](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-crew#exports) * [Server Exports](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-crew#server-exports) * [Database](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-crew#database) Copy -- Get player's crew tag local tag = exports["rush-crew"]:GetCrewTag(identifier) --- # rush-leaderboard | PVP Base Player statistics leaderboard. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/rush-leaderboard#description) Description ----------------------------------------------------------------------------------------------------- Displays server-wide leaderboards for kills, deaths, K/D ratio, and other statistics. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/rush-leaderboard#installation) Installation ------------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/rush-leaderboard#dependencies) Dependencies * rush\_core * oxmysql ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/rush-leaderboard#start-order) Start Order Copy ensure rush_core ensure rush-leaderboard [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/rush-leaderboard#configuration) Configuration --------------------------------------------------------------------------------------------------------- **File:** `config.lua` [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/rush-leaderboard#features) Features ----------------------------------------------------------------------------------------------- * Kill leaderboard * Death statistics * K/D ratio ranking * Streak records * Time-based filters (daily, weekly, all-time) [Previousgfx-crewchevron-left](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-crew) [Nexthudchevron-right](https://gfx-fivem.gitbook.io/pvp-base/social/hud) Last updated 10 days ago * [Description](https://gfx-fivem.gitbook.io/pvp-base/social/rush-leaderboard#description) * [Installation](https://gfx-fivem.gitbook.io/pvp-base/social/rush-leaderboard#installation) * [Dependencies](https://gfx-fivem.gitbook.io/pvp-base/social/rush-leaderboard#dependencies) * [Start Order](https://gfx-fivem.gitbook.io/pvp-base/social/rush-leaderboard#start-order) * [Configuration](https://gfx-fivem.gitbook.io/pvp-base/social/rush-leaderboard#configuration) * [Features](https://gfx-fivem.gitbook.io/pvp-base/social/rush-leaderboard#features) --- # hud | PVP Base Custom HUD system. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/hud#description) Description ---------------------------------------------------------------------------------------- Displays player health, armor, and other vital information on screen. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/hud#installation) Installation ------------------------------------------------------------------------------------------ ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/hud#dependencies) Dependencies * rush\_core ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/hud#start-order) Start Order Copy ensure rush_core ensure hud [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/hud#files) Files ---------------------------------------------------------------------------- * `client.lua` - HUD rendering and updates [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/hud#features) Features ---------------------------------------------------------------------------------- * Health bar * Armor bar * Player count display * Zone indicators * Notification system integration [Previousrush-leaderboardchevron-left](https://gfx-fivem.gitbook.io/pvp-base/social/rush-leaderboard) [Nextrush-soundmenuchevron-right](https://gfx-fivem.gitbook.io/pvp-base/social/rush-soundmenu) Last updated 10 days ago * [Description](https://gfx-fivem.gitbook.io/pvp-base/social/hud#description) * [Installation](https://gfx-fivem.gitbook.io/pvp-base/social/hud#installation) * [Dependencies](https://gfx-fivem.gitbook.io/pvp-base/social/hud#dependencies) * [Start Order](https://gfx-fivem.gitbook.io/pvp-base/social/hud#start-order) * [Files](https://gfx-fivem.gitbook.io/pvp-base/social/hud#files) * [Features](https://gfx-fivem.gitbook.io/pvp-base/social/hud#features) --- # rush-admin | PVP Base Server administration panel and commands. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush-admin#description) Description ------------------------------------------------------------------------------------------------------------- Comprehensive admin system with player management, banning, and moderation tools. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush-admin#installation) Installation --------------------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush-admin#dependencies) Dependencies * rush\_core * rush\_base * oxmysql ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush-admin#start-order) Start Order Copy ensure rush_core ensure rush_base ensure rush-admin [hashtag](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush-admin#features) Features ------------------------------------------------------------------------------------------------------- * Player management (kick, ban, unban) * Teleportation commands * Spectate mode * Player info lookup * Point/money management * Fine system [hashtag](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush-admin#webhook-integration) Webhook Integration ----------------------------------------------------------------------------------------------------------------------------- Uses multiple webhook channels: * `adminCommand` - Command usage logs * `adminactivitiy` - Activity tracking * `adminbanlog` - Ban records * `playerUnbanned` - Unban logs * `playerBlacklist` - Blacklist actions * `refund` - Refund requests * `givePoint` - Point grants * `finelogs` - Fine/penalty logs [Previousrush-soundmenuchevron-left](https://gfx-fivem.gitbook.io/pvp-base/social/rush-soundmenu) [Nextrush-deadlogchevron-right](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush-deadlog) Last updated 10 days ago * [Description](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush-admin#description) * [Installation](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush-admin#installation) * [Dependencies](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush-admin#dependencies) * [Start Order](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush-admin#start-order) * [Features](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush-admin#features) * [Webhook Integration](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush-admin#webhook-integration) --- # rush-deadlog | PVP Base Death log tracking system. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush-deadlog#description) Description --------------------------------------------------------------------------------------------------------------- Records and displays recent death information for players, showing who killed them and with what weapon. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush-deadlog#installation) Installation ----------------------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush-deadlog#dependencies) Dependencies * rush\_core * gfx\_deathsystem ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush-deadlog#start-order) Start Order Copy ensure rush_core ensure gfx_deathsystem ensure rush-deadlog [hashtag](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush-deadlog#features) Features --------------------------------------------------------------------------------------------------------- * View recent deaths * Killer information * Weapon used * Timestamp tracking [Previousrush-adminchevron-left](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush-admin) [Nextrush\_anticheatchevron-right](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_anticheat) Last updated 10 days ago * [Description](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush-deadlog#description) * [Installation](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush-deadlog#installation) * [Dependencies](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush-deadlog#dependencies) * [Start Order](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush-deadlog#start-order) * [Features](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush-deadlog#features) --- # Discordbot | PVP Base Discord bot integration for server management. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/other/discordbot#description) Description ---------------------------------------------------------------------------------------------- Node.js Discord bot that integrates with the FiveM server for role verification, commands, and server status. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/other/discordbot#installation) Installation ------------------------------------------------------------------------------------------------ ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/other/discordbot#prerequisites) Prerequisites * Node.js installed on server ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/other/discordbot#setup) Setup Copy cd Discordbot npm install ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/other/discordbot#configuration) Configuration Configure your Discord bot token and settings in the config file. ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/other/discordbot#start-order) Start Order Copy ensure Discordbot [hashtag](https://gfx-fivem.gitbook.io/pvp-base/other/discordbot#features) Features ---------------------------------------------------------------------------------------- * Discord role verification for kits * Server status updates * Command integration * Player lookup [hashtag](https://gfx-fivem.gitbook.io/pvp-base/other/discordbot#dependencies) Dependencies ------------------------------------------------------------------------------------------------ Uses discord.js library for Discord API interaction. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/other/discordbot#integration) Integration ---------------------------------------------------------------------------------------------- Works with `rush_base` for role checking: [Previousrush\_whitelistchevron-left](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_whitelist) [Nextnpc-shopchevron-right](https://gfx-fivem.gitbook.io/pvp-base/other/npc-shop) Last updated 10 days ago * [Description](https://gfx-fivem.gitbook.io/pvp-base/other/discordbot#description) * [Installation](https://gfx-fivem.gitbook.io/pvp-base/other/discordbot#installation) * [Prerequisites](https://gfx-fivem.gitbook.io/pvp-base/other/discordbot#prerequisites) * [Setup](https://gfx-fivem.gitbook.io/pvp-base/other/discordbot#setup) * [Configuration](https://gfx-fivem.gitbook.io/pvp-base/other/discordbot#configuration) * [Start Order](https://gfx-fivem.gitbook.io/pvp-base/other/discordbot#start-order) * [Features](https://gfx-fivem.gitbook.io/pvp-base/other/discordbot#features) * [Dependencies](https://gfx-fivem.gitbook.io/pvp-base/other/discordbot#dependencies) * [Integration](https://gfx-fivem.gitbook.io/pvp-base/other/discordbot#integration) Copy exports.rush_base:IsRolePresent(source, "Role Name") exports.rush_base:GetRoles(source) --- # rush-soundmenu | PVP Base Custom kill/death sound selection. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/rush-soundmenu#description) Description --------------------------------------------------------------------------------------------------- Allows players to select custom sounds for kills and deaths from a menu. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/rush-soundmenu#installation) Installation ----------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/rush-soundmenu#dependencies) Dependencies * rush\_core * interact-sound ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/rush-soundmenu#start-order) Start Order Copy ensure interact-sound ensure rush_core ensure rush-soundmenu [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/rush-soundmenu#configuration) Configuration ------------------------------------------------------------------------------------------------------- **File:** `config.lua` [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/rush-soundmenu#features) Features --------------------------------------------------------------------------------------------- * Kill sound selection * Death sound selection * Sound preview * Per-player preferences saved [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/rush-soundmenu#usage) Usage --------------------------------------------------------------------------------------- Selected sounds are stored in player data and played via: [Previoushudchevron-left](https://gfx-fivem.gitbook.io/pvp-base/social/hud) [Nextrush-adminchevron-right](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush-admin) Last updated 10 days ago * [Description](https://gfx-fivem.gitbook.io/pvp-base/social/rush-soundmenu#description) * [Installation](https://gfx-fivem.gitbook.io/pvp-base/social/rush-soundmenu#installation) * [Dependencies](https://gfx-fivem.gitbook.io/pvp-base/social/rush-soundmenu#dependencies) * [Start Order](https://gfx-fivem.gitbook.io/pvp-base/social/rush-soundmenu#start-order) * [Configuration](https://gfx-fivem.gitbook.io/pvp-base/social/rush-soundmenu#configuration) * [Features](https://gfx-fivem.gitbook.io/pvp-base/social/rush-soundmenu#features) * [Usage](https://gfx-fivem.gitbook.io/pvp-base/social/rush-soundmenu#usage) Copy TriggerClientEvent("InteractSound_CL:PlayOnOne", source, soundName, volume) --- # rush_anticheat | PVP Base Server-side anticheat system. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_anticheat#description) Description ----------------------------------------------------------------------------------------------------------------- Protects the server from common cheats and exploits including godmode, speed hacks, and unauthorized modifications. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_anticheat#installation) Installation ------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_anticheat#dependencies) Dependencies * rush\_core * rush\_base ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_anticheat#start-order) Start Order Copy ensure rush_core ensure rush_base ensure rush_anticheat [hashtag](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_anticheat#configuration) Configuration --------------------------------------------------------------------------------------------------------------------- **File:** `config.lua` ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_anticheat#detection-modules) Detection Modules Module Type Default Description `antiNightvision` boolean true Block nightvision exploit `antiSeethrough` boolean true Block wallhack/seethrough `antiSpeedHack` boolean false Detect speed modifications `antiClimbSpeedHack` boolean true Detect climb speed hacks `antiGodmode` boolean false Detect godmode (alt) `antiGod` boolean true Detect godmode `antiLowFPS` number 10 Minimum FPS threshold ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_anticheat#disabled-optional-modules) Disabled/Optional Modules These can be enabled in config: Module Description `antiVehicleTeleport` Vehicle teleportation detection `antiTeleport` Player teleportation detection `antiDamageBoost` Damage modification detection `antiModifiedFiles` Game file modification check `antiDeluxoTrick` Deluxo exploit detection `antiWeaponClipSize` Magazine size modification `antiClientEvents` Unauthorized event detection `antiInvisible` Invisibility detection `antiAimbot` Aimbot detection `antiSpectate` Unauthorized spectate `antiInfiniteAmmo` Infinite ammo detection `antiVdmDamage` Vehicle damage exploit `antiPlayerBlips` Player blip hacks `blacklistWeapons` Blacklisted weapon detection `antiCheatEngine` Cheat Engine detection [hashtag](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_anticheat#webhook-integration) Webhook Integration --------------------------------------------------------------------------------------------------------------------------------- Uses multiple webhook channels: * `hackDedected` - Cheat detection alerts * `blacklistKeys` - Blacklisted key usage * `doubleclient` - Multiple client detection [hashtag](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_anticheat#actions) Actions --------------------------------------------------------------------------------------------------------- When cheats are detected: 1. Log to Discord webhook 2. Kick/ban player (configurable) 3. Alert admins [Previousrush-deadlogchevron-left](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush-deadlog) [Nextrush\_whitelistchevron-right](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_whitelist) Last updated 10 days ago * [Description](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_anticheat#description) * [Installation](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_anticheat#installation) * [Dependencies](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_anticheat#dependencies) * [Start Order](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_anticheat#start-order) * [Configuration](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_anticheat#configuration) * [Detection Modules](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_anticheat#detection-modules) * [Disabled/Optional Modules](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_anticheat#disabled-optional-modules) * [Webhook Integration](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_anticheat#webhook-integration) * [Actions](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_anticheat#actions) --- # gfx-squad-remake | PVP Base Squad/party system for team gameplay. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-squad-remake#description) Description ----------------------------------------------------------------------------------------------------- Allows players to form squads, invite members, see teammate locations, and share kill notifications. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-squad-remake#installation) Installation ------------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-squad-remake#dependencies) Dependencies * rush\_core * rush\_base ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-squad-remake#start-order) Start Order Copy ensure rush_core ensure gfx-squad-remake [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-squad-remake#features) Features ----------------------------------------------------------------------------------------------- * Create and manage squads * Invite players to squad * See squad members on map * Death notifications for squad members * Squad chat [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-squad-remake#exports) Exports --------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-squad-remake#server-exports) Server Exports [hashtag](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-squad-remake#integration) Integration ----------------------------------------------------------------------------------------------------- Used by `gfx_deathsystem` to notify squad members when a teammate dies and show death location blip. [Previousfarm-systemchevron-left](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/farm-system) [Nextgfx-crewchevron-right](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-crew) Last updated 10 days ago * [Description](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-squad-remake#description) * [Installation](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-squad-remake#installation) * [Dependencies](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-squad-remake#dependencies) * [Start Order](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-squad-remake#start-order) * [Features](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-squad-remake#features) * [Exports](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-squad-remake#exports) * [Server Exports](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-squad-remake#server-exports) * [Integration](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-squad-remake#integration) Copy -- Get squad members local members = exports["gfx-squad-remake"]:GetSquadMemberss(source) -- Returns table of player sources or false --- # farm-system | PVP Base AFK farming zone system. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/farm-system#description) Description --------------------------------------------------------------------------------------------------- Creates designated farming zones where players can earn rewards over time. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/farm-system#installation) Installation ----------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/farm-system#dependencies) Dependencies * rush\_core * rush\_base ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/farm-system#start-order) Start Order Copy ensure rush_core ensure farm-system [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/farm-system#features) Features --------------------------------------------------------------------------------------------- * Designated farm zones * Time-based rewards * AFK detection * Zone-specific bonuses [hashtag](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/farm-system#webhook-integration) Webhook Integration ------------------------------------------------------------------------------------------------------------------- Uses `afkfarm` webhook channel for activity logs. [Previousgfx-airdropchevron-left](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/gfx-airdrop) [Nextgfx-squad-remakechevron-right](https://gfx-fivem.gitbook.io/pvp-base/social/gfx-squad-remake) Last updated 10 days ago * [Description](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/farm-system#description) * [Installation](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/farm-system#installation) * [Dependencies](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/farm-system#dependencies) * [Start Order](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/farm-system#start-order) * [Features](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/farm-system#features) * [Webhook Integration](https://gfx-fivem.gitbook.io/pvp-base/gamemodes/farm-system#webhook-integration) --- # npc-shop | PVP Base NPC-based shop and interaction system. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/other/npc-shop#description) Description -------------------------------------------------------------------------------------------- Spawns interactive NPCs throughout safezones for shops, teleports, and gamemode access. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/other/npc-shop#installation) Installation ---------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/other/npc-shop#dependencies) Dependencies * rush\_core * gfx-inventory * gfx-safezone ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/other/npc-shop#start-order) Start Order Copy ensure rush_core ensure gfx-safezone ensure npc-shop [hashtag](https://gfx-fivem.gitbook.io/pvp-base/other/npc-shop#configuration) Configuration ------------------------------------------------------------------------------------------------ **File:** `config.lua` ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/other/npc-shop#npc-categories) NPC Categories #### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/other/npc-shop#item-shop-config.gunshop) Item Shop (`Config.gunshop`) Weapon and item purchase NPCs in each safezone. Setting Description `pos` NPC position vector3 `heading` NPC facing direction `ped` Ped model name `label` Interaction text `event` Event to trigger `hidden` Hide NPC #### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/other/npc-shop#attachment-shop-config.attachmentshop) Attachment Shop (`Config.attachmentshop`) Weapon attachment vendors. #### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/other/npc-shop#safezone-teleport-config.safezonespawner) Safezone Teleport (`Config.safezonespawner`) Teleport between safezones. #### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/other/npc-shop#clothing-shop-config.clothing) Clothing Shop (`Config.Clothing`) Character customization NPCs. #### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/other/npc-shop#zone-access-npcs) Zone Access NPCs Config Key Purpose Event `Military` Military zone access rush\_base:client:MilitaryZone `RushZone` Rush zone access rush\_base:client:RushZone `DarkZone` Dark zone access rush-darkzone:client:menuEnterEvent `GunRace` Gun race queue rush-gamemodes:client:GunRace:Join `PistolArena` Sniper arena queue rush-pistolarena:npc-client:JoinLobby `Duel` Duel system rushgamemodes:duel:client:OpenUI `Pitk` PitK mode rushgamemodes:pitk:client:OpenUI `DeluxoTrick` Deluxo trick mode rushgamemodes:deluxotrick:client:OpenUI `EventManager` Special events \- `BattleRoyale` Battle royale mode \- `TournamentStaff` Tournament system rush\_cup:client:joinCup ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/other/npc-shop#custom-ped-models) Custom Ped Models Uses custom ped models including: * SAM\_Firefly * KnivesOut\_GojoSatoru * Era * spidermancivilwar * ghostnightwar * Harambe * 2B * pandaman * KRATOS * PEELY * Taki [hashtag](https://gfx-fivem.gitbook.io/pvp-base/other/npc-shop#webhook-integration) Webhook Integration ------------------------------------------------------------------------------------------------------------ Uses `npc-shop` webhook channel for purchase logs. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/other/npc-shop#locations) Locations ---------------------------------------------------------------------------------------- NPCs are placed in all safezones: 1. Main Safezone (Fountain) 2. Vagos 3. Beach 4. Ikea (Sandy Shores) 5. Paleto Forest (Sheriff) 6. Market (Route 68) 7. Lost MC (Casino) 8. School 9. Farmzone [PreviousDiscordbotchevron-left](https://gfx-fivem.gitbook.io/pvp-base/other/discordbot) Last updated 10 days ago * [Description](https://gfx-fivem.gitbook.io/pvp-base/other/npc-shop#description) * [Installation](https://gfx-fivem.gitbook.io/pvp-base/other/npc-shop#installation) * [Dependencies](https://gfx-fivem.gitbook.io/pvp-base/other/npc-shop#dependencies) * [Start Order](https://gfx-fivem.gitbook.io/pvp-base/other/npc-shop#start-order) * [Configuration](https://gfx-fivem.gitbook.io/pvp-base/other/npc-shop#configuration) * [NPC Categories](https://gfx-fivem.gitbook.io/pvp-base/other/npc-shop#npc-categories) * [Custom Ped Models](https://gfx-fivem.gitbook.io/pvp-base/other/npc-shop#custom-ped-models) * [Webhook Integration](https://gfx-fivem.gitbook.io/pvp-base/other/npc-shop#webhook-integration) * [Locations](https://gfx-fivem.gitbook.io/pvp-base/other/npc-shop#locations) --- # rush_whitelist | PVP Base Server whitelist/access control system. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_whitelist#description) Description ----------------------------------------------------------------------------------------------------------------- Controls server access through whitelist verification, supporting Discord role-based and manual whitelist management. [hashtag](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_whitelist#installation) Installation ------------------------------------------------------------------------------------------------------------------- ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_whitelist#dependencies) Dependencies * rush\_core * rush\_base ### [hashtag](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_whitelist#start-order) Start Order Copy ensure rush_core ensure rush_whitelist [hashtag](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_whitelist#features) Features ----------------------------------------------------------------------------------------------------------- * Discord role-based whitelist * Manual whitelist entries * Ban system integration * Connection logging [hashtag](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_whitelist#configuration) Configuration --------------------------------------------------------------------------------------------------------------------- Configure whitelist settings to control who can join the server. [Previousrush\_anticheatchevron-left](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_anticheat) [NextDiscordbotchevron-right](https://gfx-fivem.gitbook.io/pvp-base/other/discordbot) Last updated 10 days ago * [Description](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_whitelist#description) * [Installation](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_whitelist#installation) * [Dependencies](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_whitelist#dependencies) * [Start Order](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_whitelist#start-order) * [Features](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_whitelist#features) * [Configuration](https://gfx-fivem.gitbook.io/pvp-base/admin-and-moderation/rush_whitelist#configuration) ---