跳到正文

Server Monitor

作者:seemuffel

Simply Website based 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!_

常见问题

Server Monitor 支持哪些 Minecraft 版本?

Server Monitor 支持 Minecraft Java 版 1.21–1.21.10,共 11 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Server Monitor 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分