-
Notifications
You must be signed in to change notification settings - Fork 1
Admin Guide
Wiki Generator edited this page Mar 18, 2026
·
1 revision
This guide covers advanced administration tasks for OverWatch-ML.
Ensure ProtocolLib is installed before OverWatch-ML.
The default config works for most servers. Key settings to review:
# Enable/disable decoy system
decoy:
enabled: true
# Set to true for testing (only alerts, no auto-punishments)
ml:
flag-only: true- Enable flag-only mode
- Mine some ores normally
- Verify alerts work
- Check staff receive notifications
Staff with owml.staff permission will receive alerts. They can toggle alerts:
/owml alert
/owml
This opens the main staff interface with:
- Player list
- Suspicious players
- Configuration
- Statistics
In config.yml:
ml:
detectionThreshold: 0.75 # Higher = more strict
thresholds:
warning: 60
auto-punish: 90Add or remove ores from detection:
ores:
natural:
- DIAMOND_ORE
- DEEPSLATE_DIAMOND_ORE
# Add more oresDisable in certain worlds:
disabled-worlds:
enabled: true
worlds:
- creative_world
- lobbyBy default, all punishment levels are disabled. To enable:
punishment:
enabled:
1: true # Warning
2: true # Mining debuff
# ... etc/owml punish set <player> <level>
/owml punish remove <player>
For best results, train with both normal and cheating players:
-
Spawn training bots:
/owml ml spawn XRAY_CHEATER 5 /owml ml spawn NORMAL_MINER 5 -
Or train from real players:
/owml ml train <player> cheater /owml ml train <player> normal
/owml ml analyze <player>
/owml ml report <player>
/owml ml bots status # Check active bots
/owml ml bots remove # Remove all bots
/owml ml bots auto on # Enable auto-spawning
- Create application at Discord Developer Portal
- Enable Message Content Intent
- Copy bot token
- Configure in config.yml
integrations:
discord:
enabled: true
bot-token: "YOUR_TOKEN"
notification-channel: "CHANNEL_ID"For simple notifications without a bot:
webhook:
url: "https://discord.com/api/webhooks/..."
alerts:
xray_detection: true
suspicious_mining: true
punishment_applied: trueml:
autoAnalysis:
maxPlayers: 3 # Reduce from 5
performance:
analysis-interval: 200 # Increase from 100
max-queue: 10Check TPS impact:
- Enable debug mode temporarily
- Monitor server console for warnings
- Use
/owml ml status
If legitimate players are flagged:
- Check their tool efficiency (Efficiency V enchanted pickaxe)
- Verify they're not using Haste potions
- Review mining patterns
- Lower detection threshold temporarily
- Enable flag-only mode for investigation
If x-rayers aren't being caught:
- Verify decoy system is working
- Increase detection threshold
- Train ML system with more data
- Check suspicious threshold
If server is lagging:
- Reduce maxPlayers in autoAnalysis
- Increase analysis intervals
- Disable unused features
- Allocate more RAM
- Review suspicious player list weekly
- Train ML system monthly
- Backup config files
- Update plugin regularly
Configure auto-save intervals:
stats:
autoSave:
enabled: true
intervalMinutes: 10
suspicious:
autoSave:
enabled: true
intervalMinutes: 10Check for updates:
/owml update
Update plugin:
- Download new version
- Stop server
- Replace JAR
- Start server
- Run /owml reload