Optimizer

by Ruma2000
Optimizer

Summary

Intelligent server optimization with auto-restarts, AI cleanup & performance management for heavily modded servers.

Description

# Optimizer - Server Performance Manager

**Intelligent optimization mod for Arma Reforger dedicated servers**

Keep your heavily modded server running smoothly with automated performance management, smart scenario restarts, and dynamic entity cleanup.

## 🚀 Key Features

### Automatic Scenario Restart
- Detects empty server and automatically restarts scenario after configurable timeout (default: 10 minutes)
- Sends chat warnings before restart
- Complete entity cleanup before restart to ensure fresh state

### Dynamic Performance Optimization
- **AI Management**: Automatically despawns AI outside player zones while maintaining configurable AI-to-player ratio
- **Vehicle Cleanup**: Removes abandoned and destroyed vehicles beyond player areas
- **Projectile Cleanup**: Limits active projectiles to prevent lag from excessive munitions
- **Smart Protection**: Never despawns AI in active combat or occupied vehicles

### Built for Heavily Modded Servers
- ✅ Compatible with ACE (Advanced Combat Environment)
- ✅ Compatible with WCS (Warfare Combat System)
- ✅ Compatible with Conflict scenarios
- ✅ Works alongside any mod using standard Reforger APIs

### Fully Configurable
All parameters can be adjusted to match your server's needs:
- Check intervals and timeouts
- AI per player ratios
- Despawn and cleanup radiuses
- Aggressive optimization modes for high player counts
- Chat notification toggles

### Server-Side Only
No client downloads required. Works entirely on the server without SSH or container access.

## ⚙️ Configuration

Edit [OptimizerConfig.c](cci:7://file:///c:/Users/ruben/Desktop/optimizer/Scripts/Game/Optimizer/OptimizerConfig.c:0:0-0:0) to customize:
- `EMPTY_SERVER_TIMEOUT_MINUTES` - Time before auto-restart (default: 10)
- `MAX_AI_PER_PLAYER_RATIO` - Max AI per player (default: 10:1)
- `AI_DESPAWN_RADIUS_METERS` - Protection radius around players (default: 1000m)
- `AGGRESSIVE_OPTIMIZATION_HIGH_PLAYER_COUNT` - Enable aggressive mode with many players
- `ENABLE_CHAT_MESSAGES` - Toggle chat notifications

## 🛡️ Safety Features

- Never despawns players
- Protects occupied vehicles from cleanup
- Protects AI in active combat
- Protects mission objectives
- Robust null-checking and error handling

## 📊 Performance Impact

**Before Optimizer:**
- FPS: 30-40
- AI count: 200+ uncontrolled
- Vehicles: 50+ abandoned across map

**After Optimizer:**
- FPS: 50-60+
- AI count: Controlled ratio per player
- Vehicles: Only near active players

## 🔧 Installation

1. Subscribe to the mod
2. Add to your server's mod list
3. Restart server
4. (Optional) Customize config file
5. Done! The mod initializes automatically

## 📝 Server Requirements

- Arma Reforger dedicated server
- No additional dependencies

## 🆘 Support

Check logs for detailed operation info:

License

Arma Public License (APL)

Version
1.0.0
Game Version
1.6.0.119
Version size
9.82 KB
Downloads
83
Created
02.02.2026
Last Modified
02.02.2026
ID
688517F1060BAAA2