# π‘οΈππ ServerGuard — Complete Server Monitoring & Security
> **Know everything that happens on your server — log it, watch it, roll it back.**
[]()
[]()
[]()
[]()
---
## π What is ServerGuard?
**ServerGuard** is a comprehensive server monitoring and logging plugin that gives you complete visibility into everything happening on your server. Track player actions, detect suspicious behavior, investigate griefing incidents, and roll back damage — all from an intuitive in-game interface.
Whether you run a small community server or a large network, ServerGuard provides the tools your staff team needs to keep things safe and fair.
---
## β¨ Core Features
- π **Action Logging** — Block place/break, container access, item drops/pickups, command usage
- ποΈ **Watch System** — Flag specific players for enhanced real-time monitoring
- π¨ **Alert System** — Configurable triggers for suspicious behavior patterns
- π **Audit System** — Detailed audit trails for thorough investigations
- π₯οΈ **Admin GUI** — Beautiful in-game interface for browsing and searching logs
- πΎ **Database Storage** — Persistent SQLite storage for reliable log retention
- βͺ **Rollback Capability** — Undo griefing damage with time-based rollbacks
- π **Time-Based Filtering** — Search logs by time ranges for efficient investigation
- π **Player Activity Reports** — Generate comprehensive reports on player behavior
- π **Multi-Language** — Built-in English and Polish localization
---
## π ServerGuard Pro Addon
Take your server security to the next level with **ServerGuard-Pro**:
| Feature | Description |
|---------|-------------|
| π§ **Pattern Detection** | Enhanced watch alerts with behavioral pattern recognition |
| βοΈ **Hack Detection Signals** | Flight/speed hack detection integration |
| π€ **CSV Export** | Export logs in 3 modes: full, filtered, or summary |
| π¬ **BellChat Hook** | Moderation integration with BellChat plugin |
| π **Discord Webhooks** | Real-time security alerts sent to your Discord server |
---
## πΈ How It Works
```
ββββββββββββββββββββββββββββββββββββββββββββ
β Player Actions β
β ββββββββ ββββββββ ββββββββ ββββββββ β
β βBlocksβ βChestsβ βItems β β Cmds β β
β ββββ¬ββββ ββββ¬ββββ ββββ¬ββββ ββββ¬ββββ β
β ββββββββββΌβββββββββΌβββββββββ β
β ↓ ↓ β
β ββββββββββββββββββββββββββ β
β β ServerGuard Engine β β
β β ββββββββ ββββββββββ β β
β β β Logs β β Alerts β β β
β β ββββββββ ββββββββββ β β
β ββββββββββββββββββββββββββ β
β ↓ ↓ ↓ β
β ββββββββββ βββββββββ ββββββββββββ β
β βDatabaseβ β GUI β β Rollback β β
β ββββββββββ βββββββββ ββββββββββββ β
ββββββββββββββββββββββββββββββββββββββββββββ
```
---
## π» Commands
| Command | Description |
|---------|-------------|
| `/serverguard watch <player>` | Start watching a player's actions |
| `/serverguard unwatch <player>` | Stop watching a player |
| `/serverguard alert` | View recent security alerts |
| `/serverguard audit <player>` | Generate full audit of player activity |
| `/serverguard search <query>` | Search through action logs |
| `/serverguard gui` | Open the admin log browser GUI |
| `/serverguard rollback <player> <time>` | Rollback a player's actions |
| `/serverguard reload` | Reload plugin configuration |
---
## π Permissions
| Permission | Description | Default |
|------------|-------------|---------|
| `serverguard.admin` | Full access to all commands | OP |
| `serverguard.watch` | Watch/unwatch players | OP |
| `serverguard.audit` | Access audit reports | OP |
| `serverguard.rollback` | Perform rollback operations | OP |
| `serverguard.gui` | Open the admin GUI | OP |
| `serverguard.alerts` | View security alerts | OP |
---
## π₯ Installation
1. Download `ServerGuard.jar`
2. Place it in your server's `plugins/` folder
3. Restart the server
4. Configure `config.yml` to your needs
5. *(Optional)* Add `ServerGuard-Pro.jar` for enhanced features
---
## βοΈ Configuration Highlights
```yaml
# Logging settings
logging:
block-changes: true # Log block place/break
container-access: true # Log chest/barrel/etc. access
item-drops: true # Log item drops and pickups
commands: true # Log command usage
log-retention-days: 30 # Auto-cleanup after 30 days
# Watch system
watch:
enhanced-logging: true # Extra detail for watched players
alert-threshold: 5 # Actions per minute to trigger alert
# Alert system
alerts:
enabled: true
notify-on-join: true # Alert when watched player joins
suspicious-break-rate: 50 # Blocks/min to flag as suspicious
# Database
database:
type: SQLITE # SQLite storage
file: "serverguard.db"
# Language
language: en # en / pl
```
---
## π Dependencies
| Type | Plugin | Required? |
|------|--------|-----------|
| — | — | No dependencies required! |
| Soft | BellChat | Optional — enables moderation hooks (Pro) |
ServerGuard works fully standalone. Pro addon adds optional integrations.
---
## π Use Cases
### π Grief Investigation
A player reports their build was destroyed. Use `/serverguard audit <suspect>` to see exactly what they did, when, and where. One command to find the truth.
### ποΈ Suspicious Player Monitoring
New player acting strange? `/serverguard watch <player>` — every action is logged with extra detail and staff is alerted in real-time.
### βͺ Damage Recovery
Confirmed griefer? `/serverguard rollback <player> 2h` — all their damage from the last 2 hours is reversed instantly.
---
## π€ Part of the Bell Ecosystem
ServerGuard works seamlessly with the Bell plugin family:
- **BellChat** — Moderation hook integration (Pro)
- **BellLP** — Staff permission management
- **Discord Webhooks** — Real-time alerts to your moderation channels (Pro)
---
## π Requirements
- β **Java 21+**
- π§ **Paper or Spigot 1.21+**
- πΎ No additional dependencies
---
## π Support
- π¬ **Discord:** [https://discord.gg/6q7bnSYaR](#)
- π **Issues:** [GitHub Issues](#)
- π **Wiki:** [Documentation](#)
- π‘ **Feature Requests:** [Submit ideas](#)
---
## π License
ServerGuard is developed and maintained as part of the Bell plugin ecosystem.
---
> π‘οΈ *Your server, fully protected — ServerGuard sees everything so you don't have to.*