SMPGuard icon

SMPGuard 1.0.9

Protection and Optimizations

Note: Perms for bypassing anticheat are cached for performance, after you deop someone, he have to relogin to update bypass permission. So, when you are op and deop yourself, you will bypass anticheat until relogin.

SMPGuard: The Ultimate Server Optimization & Security Plugin

SMPGuard is an all-in-one performance, security, and anti-cheat solution meticulously crafted for Spigot servers. Designed to keep your server running flawlessly, protect against common exploits, and ensure fair gameplay, SMPGuard empowers administrators with robust tools to maintain a stable and enjoyable environment for all players.

✨ Features ✨

  • Lag Prevention & Performance Optimization:
    • Dynamic Mob & Entity Spawn Control: Prevent server overload from excessive mob and entity spawns.
    • Explosion Yield Reduction: Mitigate lag and grief from large explosions (TNT, Creepers) with adjustable yield.
    • Projectile & EXP Bottle Limits: Restrict spam of projectiles and experience bottles in concentrated areas.
    • Intelligent Redstone Optimization: Prevent redstone clock and complex circuit lag with adaptive update limits.
    • Piston Push Limit: Enforce limits on how many blocks pistons can push, preventing massive lag machines.
    • Automated Entity Clearer: Configurable scheduler to clear unwanted items, hostile, and passive mobs, with safeguards for valuable/named items and tamed/villager entities.
  • Robust Security & Anti-Exploit:
    • Chat Anti-Spam: Keep chat clean and readable with configurable message limits over time.
    • Command Blocking: Blacklist problematic or exploitable commands.
    • Book Exploit Fix: Prevent server crashes and data corruption from oversized or malicious books.
  • Advanced Anti-Cheat System:
    • Adaptive Fly Detection: Detects and flags suspicious flight and excessive airtime.
    • Precise Speed Monitoring: Catches unauthorized speed enhancements.
    • Intelligent Sensitivity: Anti-cheat checks adjust dynamically based on server performance (TPS/MSPT) to reduce false positives.
    • Configurable warnings and kick actions for violations.
  • Intuitive Monitoring & Diagnostics:
    • Live Performance Monitor: Get real-time TPS (Ticks Per Second) and MSPT (Milliseconds Per Tick) updates in-game.
    • Detailed Chunk Data Inspector: Instantly view entity and tile entity counts for any chunk.
    • Automated Chunk Lag Alerts: Receive notifications for chunks exceeding defined entity/tile entity thresholds.
  • Engaging Custom Drops:
    • Define custom item drops for specific mob types, complete with amounts, chances, enchantments, custom names, and lore!

⚙️ Commands ⚙️
All commands start with /smpguard. (Requires smpguard.admin permission)

  • /smpguard reload
    • Description: Reloads the plugin's configuration from config.yml.
    • Usage: /smpguard reload
  • /smpguard tps
    • Description: Displays the server's current TPS (Ticks Per Second) and MSPT (Milliseconds Per Tick).
    • Usage: /smpguard tps
  • /smpguard monitor
    • Description: Toggles live, real-time performance monitoring updates for the player.
    • Usage: /smpguard monitor
  • /smpguard chunkdata
    • Description: Displays the number of entities and tile entities in the chunk the player is currently standing in.
    • Usage: /smpguard chunkdata
  • /smpguard clear
    • Description: Manually triggers the entity clearing process based on the config.yml settings.
    • Usage: /smpguard clear

Permissions

  • smpguard.admin
    • Description: Grants access to all /smpguard administration commands (reload, tps, monitor, chunkdata, clear).
    • Default: op
  • smpguard.bypass.anticheat
    • Description: Bypasses all anti-cheat checks (fly, speed).
    • Default: op
  • smpguard.bypass.commandblock
    • Description: Bypasses the blocked command checks, allowing the player to use commands listed in the blocked commands list.
    • Default: op

❓ FAQ ❓
Q1: How do I configure SMPGuard? A: All settings are managed via the config.yml file located in the plugins/SMPGuard/ folder. After making changes, use /smpguard reload or restart your server for them to take effect.

Q2: What's the difference between TPS and MSPT? A: TPS (Ticks Per Second) indicates how many game ticks the server is processing per second (ideally 20). MSPT (Milliseconds Per Tick) measures how long each tick takes to process (ideally 50ms or less). High MSPT usually means low TPS and server lag.

Q3: Can I exclude specific worlds from entity clearing? A: Yes, you can specify worlds to exclude in the anti-lag.entity-despawn-scheduler.worlds-to-exclude-from-clearing section of your config.yml.


Q4: How do I set up custom mob drops? A: Enable custom-drops.enabled in config.yml and then define your custom drops under custom-drops.mob-drops for each EntityType you want to modify. Follow the example format in the config file.


example of /smpguard monitor

antilag

anticheat

smpguard

You might also like...