Server Monitor
ModMIT

Server Monitor

Simply Website based Server Monitor

441
Downloads
14
Followers
3 months ago
Updated
📦
24
Versions

📖About Server Monitor

⚠️ BACKUP YOUR CONFIG FILES

Note: This mod is currently in active development. Newer versions might change the config structure. Always backup your config/servermonitor folder before updating!


📊 What is Server Monitor?

Server Monitor is a comprehensive, web-based monitoring tool for your Minecraft server (Fabric). It creates a local webserver that visualizes your server's performance, player activity, and more in real-time.

Whether you are running a large community server or a private SMP, this mod gives you a live dashboard accessible from any browser – even on your phone! It runs purely server-side but also works in singleplayer.

✨ Key Features

🖥️ Web Dashboard

  • Real-time Performance: Monitor TPS, MSPT, CPU Load, RAM Usage, and Disk Space.
  • Player Tracking: See who is online, their Ping, Dimensions, Coordinates, and AFK Status.
  • Playtime Statistics: Track session time, playtime today, and total playtime per player.
  • Mod List: View installed mods and their versions directly in the browser.
  • Visual History: Graphs show the history of the last minutes/hours for all metrics.

🎨 Fully Customizable Layout (New!)

Don't like the default look? Log in as an admin and use the Layout Editor!

  • Drag & Drop: Arrange widgets exactly how you want them.
  • Resizable Widgets: Make graphs larger or cards smaller.
  • Custom Views: Create different layouts for the Public Dashboard (what everyone sees) and the Admin Dashboard (what only you see).
  • Themes: Switch between Dark/Light Mode or try the Retro Style.
  • Color Customization: Change the colors of every metric (TPS, RAM, etc.) to fit your preference.

🤖 Discord Bot Integration

The mod includes a built-in Discord bot (optional) that can:

  • Slash Commands: Check /status, /tps, or /players directly from Discord.
  • Role Management: Use /addrole to assign roles to players.
  • 🚨 Alarms: Configure automatic alerts! The bot can ping a role if TPS drops below a certain value or RAM usage gets too high.

📸 Screenshots

Modern Dashboard (Dark Mode)

Modern Dashboard

Retro Style

Classic


⚙️ Configuration & Setup

1. Getting Started

Once the server starts, the web dashboard is available at:
http://YOUR_SERVER_IP:8080

To access the Admin Panel (Layout Editor & Admin View), click the lock icon on the website and login.

  • Default Username: server
  • Default Password: monitor

(Please change these in the config file!)

2. Config File (config.json)

Located in config/servermonitor/config.json.

Setting Description Default
language Web interface language (en or de) en
webServerPort Port for the website 8080
adminUsername Login username for the dashboard server
adminPassword Login password for the dashboard monitor
discordBotEnabled Set to true to enable the bot false
discordBotToken Your Discord Bot Token INSERT_TOKEN

3. In-Game Commands

  • /servermonitor overview - Shows a quick performance summary in chat.
  • /servermonitor <metric> - Shows specific stats (e.g., /servermonitor tps, /servermonitor cpu).
  • /servermonitor config <feature> <open/priv> - Change permissions for specific commands (e.g., make /servermonitor tps admin-only).
  • /servermonitor interval <seconds> - Change how often the dashboard updates.

4. Setting up the Discord Bot

  1. Create a Bot in the Discord Developer Portal.
  2. Enable the SERVER MEMBERS INTENT in the bot settings.
  3. Copy the Token into config.json.
  4. Invite the bot to your server.
  5. Use /alarmconfig in Discord to set up alerts (e.g., Ping Admin role if TPS < 18).

Supported Languages: English (en), German (de)

If you have feature requests or find bugs, feel free to contact "seemuffel" on Discord!