FpsPlus

v1.0.4 Oxide Rust

Advanced server performance optimization plugin that automatically adjusts server settings based on FPS monitoring. The plugin continuously tracks server performance and applies dynamic optimizations to maintain stability, applying increasingly aggressive measures as FPS drops to prevent crashes and ensure smooth gameplay.

FpsPlus - Advanced server performance optimization plugin that automatically adjusts server settings based on FPS monitoring.

FpsPlus

v1.0.4 Oxide Rust

Advanced server performance optimization plugin that automatically adjusts server settings based on FPS monitoring. The plugin continuously tracks server performance and applies dynamic optimizations to maintain stability, applying increasingly aggressive measures as FPS drops to prevent crashes and ensure smooth gameplay.

Buy on Codefling $4.99
184 views
8 downloads

Features

  • Real-time FPS monitoring and analysis
  • Four-tier automatic optimization system
  • Dynamic frame budget adjustments
  • Smart event management and toggling
  • Intelligent NPC processing control
  • Discord webhook integration for notifications
  • Configurable FPS thresholds and targets
  • Automatic recovery as performance improves
  • Zero player commands required (fully automatic)

Installation

Installation Steps

  1. Download the FPSPlus.cs file
  2. Place it in your oxide/plugins folder
  3. Restart your server or use oxide.reload FpsPlus
  4. Configure your Discord webhook URL in the config file (optional)

Configuration

The configuration file will be generated at oxide/config/FpsPlus.json

{
  "UpperFpsLimit": 40.0,
  "LowerFpsLimit": 20.0,
  "EnableConsoleWarnings": true,
  "DiscordWebhookUrl": "your_discord_webhook_url",
  "DisableEvents": true,
  "DisableNPCs": true
}

Configuration Options Explained

  • UpperFpsLimit: Target FPS threshold. When FPS drops below this value, the plugin begins applying light optimizations (default: 40)
  • LowerFpsLimit: Critical FPS threshold that triggers maximum optimization level (default: 20)
  • EnableConsoleWarnings: Toggle console notifications about performance changes
  • DiscordWebhookUrl: Discord webhook URL for real-time performance notifications
  • DisableEvents: Allow the plugin to automatically disable server events during low FPS periods
  • DisableNPCs: Allow the plugin to automatically disable NPC AI during low FPS periods

How It Works

Performance Monitoring

The plugin samples server FPS every 5 seconds and maintains a rolling average over 12 samples (approximately 1 minute). This smooths out brief spikes and provides a more accurate picture of server performance.

Optimization Levels

Based on the average FPS, the plugin applies one of four optimization levels:

  • Level 1 (Maximum): Applied when FPS drops below the LowerFpsLimit. Adjusts all frame budgets to minimal values and optionally disables events and NPCs.
  • Level 2: Applied when FPS is below 2/3 of the UpperFpsLimit. Applies moderate frame budget adjustments and may disable events while re-enabling NPCs.
  • Level 3: Applied when FPS is below the UpperFpsLimit. Light optimizations while maintaining most functionality.
  • Level 4 (Normal): When FPS is above the UpperFpsLimit, all standard settings are restored.
Frame Budget Adjustments

The plugin dynamically adjusts critical frame budget parameters including electrical, fluid, kinetic, industrial, tickrates, AI, animal AI, and turret processing allocations to optimize server performance.

Automatic Recovery

As server performance improves, optimizations are automatically scaled back, re-enabling features that were disabled during low FPS periods.

Discord Notifications

When performance changes trigger optimization level changes, the plugin can send notifications to a Discord channel including server name, FPS level, and optimization status.

Commands

Command Description Permission
No player commands available This plugin operates automatically in the background N/A

Plugin Information

Version 1.0.4
Platform Oxide
Game Rust
License Custom