Standard MBII hosting gets you a server. But what about combating cheaters? Detecting impostors? Managing troublemakers? Monitoring your server from Discord? These features require custom solutions.
Ilyssa Hosting includes Yoda, our custom-built server management bot with anti-cheat, automated moderation, Discord integration, and intelligent player management. This guide covers what makes these servers different.
Note: These features are specific to Ilyssa Hosting. If you're looking for generic MBII server setup, check the setup guide, configuration guide, or map voting guide.
Meet Yoda: Your Server Guardian
Yoda is a custom bot that runs alongside your MBII server, monitoring player behaviour, detecting threats, and taking automated action. Think of it as an always-on admin who never sleeps.
What Yoda Does:
- Detects and renames players impersonating others
- Identifies and manages VPN users
- Catches spammers and auto-mutes them
- Tracks player behaviour patterns for anti-cheat
- Logs everything to Discord channels
- Provides advanced ban management system
- Sends automated welcome messages and tips
Discord Integration
One of Yoda's most powerful features is comprehensive Discord integration. Monitor and manage your server without being in-game.
What Gets Logged to Discord
- Player Connections: See who joins and leaves your server
- In-Game Chat: Monitor team chat and private messages
- Player Reports: When players report others using /report
- Kill Logs: Track who killed whom (useful for laming investigations)
- Admin Actions: Log all kicks, bans, and warnings
- Automated Actions: When Yoda renames, mutes, or kicks players
- Banned Entry Attempts: Alert when banned players try to reconnect
- VPN Detections: Identify potential troublemakers using VPNs
Setting Up Discord Integration
Here's how to connect your server to Discord:
Step 1: Prepare Your Discord Server
- Create a new Discord server or use an existing one
- Enable Developer Mode: User Settings → Advanced → Developer Mode
- Create channels for different log types (admin, chat, joins, kills, etc.)
- Make admin channels private (only for staff)
Step 2: Get Channel IDs
Right-click each channel and select "Copy ID". You'll need these for configuration.
Step 3: Invite the Yoda Bot
Find the Yoda invite link in your server's README.md file (accessible via SFTP from your dashboard). Click the link and select your Discord server when prompted.
The bot needs these permissions: Send Messages, Embed Links, Read Message History
Step 4: Configure discord.yml
In your server files, edit discord.yml:
# Discord Configuration server_id: 123456789012345678 channels: admin: 987654321098765432 # Staff-only channel for admin actions chat: 876543210987654321 # General in-game chat mirror joins: 765432109876543210 # Player connections kills: 654321098765432109 # Kill logs reports: 543210987654321098 # Player reports bans: 432109876543210987 # Ban attempts and actions
Step 5: Apply Configuration
Save your changes and run /rcon !rehash to reload the configuration. Check Discord for a connection confirmation message.
Troubleshooting Discord Integration
- Bot not joining: Verify you used the correct invite link from your
README.mdfile - No messages appearing: Double-check channel IDs match your Discord channels exactly
- Permission errors: Ensure bot has Send Messages permission in all configured channels
- YAML errors: Use YAML Lint to validate your configuration
Smart Impostor Detection
A common problem in MBII: players impersonate others using visually similar characters. For example, using "I" (capital i) instead of "l" (lowercase L) to impersonate "Player" as "PIayer". These look identical in the game font.
How It Works
Yoda automatically detects impostor attempts by:
- Analysing name similarity using character-matching algorithms
- Tracking known player names and comparing new connections
- Detecting unicode tricks and zero-width characters
- Identifying empty or invisible names
When detected, Yoda automatically renames the player to User[clientID] and logs the action to Discord.
Configuration
Edit judgment.yml to control impostor detection:
# Impostor and Empty Name Detection renameImpostorsAndEmptyNames: true # Enable automatic renaming
Technical Note: This feature uses Ilyssa Hosting's custom fork of OpenJK, which adds the rcon rename command. Standard JKJA servers can't rename players remotely.
VPN Detection and Management
VPNs are commonly used by banned players to evade bans. Yoda uses dual-provider VPN detection to identify suspicious connections with high accuracy.
VPN Detection Features
- Dual Provider Verification: Cross-checks IPs against two different VPN databases
- Automatic Warnings: Warns players using VPNs with countdown before kick
- Optional Auto-Kick: Automatically disconnects VPN users after warning period
- Whitelist Support: Allow trusted players to use VPNs
- Discord Logging: All VPN detections logged to staff channels
Configuration Options
Edit judgment.yml to control VPN management:
# VPN Detection Settings warnAndKickVpnUsers: true # Enable VPN warnings and kicks vpnKickCountdown: 20 # Seconds before kicking (warning time) muteVpnUsers: false # Mute VPN users during warning renameVpnUsers: false # Rename VPN users to "VPN User" # Whitelist trusted IPs (won't be kicked even if VPN detected) allowedVpnIps: - "123.456.789.012" - "98.765.43.210"
Configuration Strategies:
- Strict servers:
warnAndKickVpnUsers: truewithvpnKickCountdown: 10 - Moderate servers: Warn and kick, but longer countdown (20-30 seconds)
- Lenient servers: Warn only, no kick. Just log to Discord for admin awareness.
- Community servers: Add regular players to
allowedVpnIpsif they legitimately need VPNs
Intelligent Anti-Spam
Standard anti-spam just limits messages per second. Yoda uses pattern analysis to catch spam while allowing rapid legitimate communication.
How It Works
- Pattern Detection: Identifies repeated messages, character spam, and flooding
- Context Awareness: Allows rapid chat during intense moments (doesn't limit normal play)
- Auto-Mute: Temporarily mutes detected spammers
- Escalation: Repeated spam offenses lead to kicks or temp bans
This means players can type quickly during gameplay without false positives, but actual spammers get caught and muted automatically.
Advanced Ban System
Yoda's ban system goes beyond standard JKJA bans with UID tracking, IP bans, and flexible ban management.
Enhanced Ban Commands
# Ban by partial name match (recommended) /rcon !ban PlayerName # Ban by IP address /rcon !banip 123.456.789.012 # Ban by client ID (from /rcon status) /rcon !banid 5 # Ban by unique ID /rcon !banuid 1234567890 # Ban by exact name (⚠️ use carefully!) /rcon !bann "ExactNameHere" # Temporary bans (20 rounds by default) /rcon !tempban PlayerName /rcon !tempbanid 5 /rcon !tempbanip 123.456.789.012 # Unban an IP /rcon !unban 123.456.789.012
Warning: !bann Command
The !bann command bans by exact name. If the player is offline, no one will be able to use that name ever again on your server. Only use this if absolutely necessary. Prefer !ban for partial matching instead.
Why This System is Better
- Tracks both IP and UID: Harder for players to evade bans
- Partial name matching: Ban "Play" matches "PlayerName"
- Centralized management: All bans stored in
bans.yml - Discord alerts: Notified when banned players attempt to reconnect
- Flexible unbanning: Edit
bans.ymldirectly for complex cases
Managing Bans
For simple unbans, use /rcon !unban <IP>. For UID or name bans:
- Open
bans.ymlvia SFTP - Find and remove the banned entry
- Save and run
/rcon !rehash
Automated Server Messages
Keep players informed with automated welcome messages, tips, and warnings.
Message Types
# messages.yml configuration
welcome:
common:
- 'Welcome to our server! Have fun!'
- 'Check our Discord: discord.gg/example'
duel:
- 'No laming! Only fight willing opponents.'
tips:
common:
- 'Assign keys to class special 1 & 2 in controls'
- 'Type !rtv to vote for a map change'
warnings:
common:
- 'No intentional team killing!'
duel:
- 'Defense 2 is required for faster BP regeneration'Messages are shown automatically at intervals, with mode-specific messages for duel vs open mode.
Configuration Management
The !rehash Command
Whenever you modify Yoda configuration files, reload them with:
/rcon !rehash
This reloads all .yml files without restarting the server. Note: running !rehash may cancel active map votes.
Restoring Defaults
If you break something, default configurations are stored in /server/defaults:
- Download the default file from
/server/defaults - Upload it to
/server(overwrite existing) - Run
/rcon !rehash
Validating YAML Files
YAML is sensitive to formatting. If Yoda stops working after config changes, validate your files at YAML Lint.
How Ilyssa Hosting Differs
Standard MBII hosting vs Ilyssa Hosting with Yoda:
Standard Hosting
- ❌ No Discord integration
- ❌ Manual player moderation
- ❌ Basic IP bans only
- ❌ No impostor detection
- ❌ No VPN management
- ❌ Simple spam limits
- ❌ Can't rename players
Ilyssa Hosting
- ✅ Full Discord integration
- ✅ Automated moderation (Yoda)
- ✅ IP + UID ban tracking
- ✅ Smart impostor detection
- ✅ Dual-provider VPN detection
- ✅ Intelligent anti-spam
- ✅ Custom RCON rename command
Getting Started
Ilyssa Hosting servers come with Yoda pre-installed and pre-configured. You just need to connect your Discord server and customise settings to your preference.
Complete documentation, including the Yoda Discord bot invite link and detailed setup instructions, is provided in your server files at /server/README.md. Access this file via SFTP from your server dashboard.
Related Guides
- MBII Server Setup Guide - Basic server installation and setup
- Server Configuration and RCON - Configure server.cfg and learn RCON commands
- RTVRTM Map Voting Guide - Set up player-driven map voting
Ready for Professional MBII Hosting?
All Ilyssa Hosting MBII servers include Yoda with Discord integration, smart anti-cheat, automated moderation, and advanced player management. No additional setup required.
View MBII Hosting PlansQuestions about advanced features? We're here to help.