Installation
1. Copy all `.amxx` files from the `compiled/` folder to your `addons/amxmodx/plugins/` directory
2. Copy the `shop_config.cfg` file to your `addons/amxmodx/configs/` directory
3. Coppy the `plugins-shop.ini` file to your `addons/amxmodx/configs/` directory
```
shop_main.amxx
shop_basic_items.amxx
shop_invisibility.amxx
shop_double_jump.amxx
shop_long_jump.amxx
shop_chameleon.amxx
shop_backup_plant.amxx
shop_vampiric.amxx
shop_phoenix.amxx
```
4. Restart your server
## ⚙️ Configuration
Edit `addons/amxmodx/configs/shop_config.cfg` to customize:
- Item availability per round
- Shop access permissions
- Menu options (weapon models, credits, in-game money)
## 🛍️ Shop Items
- **Speed Boost +50%** - Increases movement speed by 50% for 5 minutes
- **Low Gravity** - Reduces gravity by 50% for 5 minutes
- **Damage Boost +25%** - Increases weapon damage by 25% for 5 minutes
- **Extra Health +50HP** - Gives you 50 extra health points (permanent until death)
- **Extra Armor +100AP** - Gives you 100 armor points (permanent until death)
- **Unlimited Clip** - No reload needed (permanent until death)
- **Unlimited Ammo** - Infinite backup ammo (permanent until death)
- **HE Grenade Pack** - Gives 5 HE grenades
### 👻 Invisibility
**Duration:** 10 seconds
**Effect:** Makes you completely invisible to enemies. Perfect for sneaking behind enemy lines or escaping dangerous situations.
### 🦘 Double Jump
**Duration:** Entire round
**Effect:** Allows you to jump twice in mid-air. Great for reaching elevated positions and dodging enemy fire.
### 🏃 Long Jump
**Duration:** Entire round
**Effect:** Increases your jump distance significantly. Useful for crossing gaps and quick repositioning.
### 🦎 Chameleon
**Duration:** Until death/round end
**Effect:** Changes your player model to look like the enemy team. Confuses opponents and allows for infiltration tactics.
### 🥷 Backup Plan
**Auto-Trigger:** When health drops below 30 HP
**Effect:**
- **3-second invisibility** for emergency escape
- **5 shadow clones** that hunt and attack enemies
- **Clone AI:** Automatically seeks and damages nearby enemies (15-25 damage per hit)
- **Clone Duration:** 8 seconds with smoke effects
### 🧛 Vampiric Auto
**Duration:** Until death/round end
**Effect:**
Gain +3 HP on each successful hit against enemies. Maximum health cap of 100 HP. Features subtle green screen flash effect when healing occurs.
### 🔥 Phoenix Of Scroll
**Auto-Trigger:** Upon death
**Effect:**
- **Instant explosion** at death location with shockwave visual effects
- **Area damage:** 200 base damage in 2-meter radius with distance falloff
- **Respawn:** After 2 seconds, respawn at death location
- **One-time use:** Item is consumed after activation
## 🎮 Commands
### Player Commands
- `say /shop` or `say shop` - Open the shop menu
- `say /balance` - Check your credits/money balance
### Quick Buy Commands (Shortened)
- `say backup` - Buy Backup Plan
- `say hp` - Buy Extra Health
- `say invis` or `say invisible` - Buy Invisibility
- `say speed` - Buy Speed Boost
- `say grav` or `say gravity` - Buy Low Gravity
- `say armor` - Buy Extra Armor
- `say dmg` or `say damage` - Buy Damage Boost
- `say jump` or `say djump` - Buy Double Jump
- `say ljump` or `say longjump` - Buy Long Jump
- `say cham` or `say chameleon` - Buy Chameleon
- `say clip` - Buy Unlimited Clip
- `say ammo` - Buy Unlimited Ammo
- `say he` - Buy HE Grenade Pack
- `say vampiric` - Buy Vampiric Auto
- `say phoenix` - Buy Phoenix Of Scroll
## 🔧 Technical Details
### File Structure
```
bulet dmg plugin/
├── compiled/ # Compiled .amxx files
│ ├── shop_main.amxx # Main shop system
│ ├── shop_basic_items.amxx # Basic items (health, armor, etc.)
│ ├── shop_backup_plant.amxx # Backup Plant item
│ ├── shop_chameleon.amxx # Chameleon item
│ └── shop_double_jump.amxx # Double Jump item
├── addons/amxmodx/configs/ # Configuration files
├── plugins-shop.ini # Configuration files
│ └── shop_config.cfg # Main shop configuration
├── include/ # Header files
│ └── shop_api.inc # Shop API for developers
└── *.sma # Source files
```
### Features
- **Quick buy commands** - Fast purchasing with shortened aliases
- **MySQL support** - Persistent player data across server restarts
- **Purchase limits** - Prevent item spam with configurable limits
- **Multiple currencies** - Credits or CS money support
- **Kill rewards** - Earn credits/money for kills and headshots
- **Item duration** - Temporary and permanent items
### Performance
- **Optimized entity management** - Prevents server crashes
- **Efficient credit system** - Fast database operations
- **Smart AI for clones** - Balanced performance vs. functionality
- **Memory management** - Automatic cleanup of temporary entities
## 🔄 Updates & Compatibility
- **AMX Mod X:** 1.8.2 or higher
- **Counter-Strike:** 1.6
- **ReHLDS:** Recommended for better performance
- **MySQL Support:** Available for advanced credit systems
*Enjoy your enhanced Counter-Strike experience with the Shop System!* 🎯