U
/u/xDORITOOO22x
Guest
Hey guys! plugin developer here and feeling a bit lost...
I just made my **first plugin ever** called **ServerMonitor** - it shows server stats like CPU, RAM, TPS through simple chat commands. You can test it on:
Official download (CurseForge): Minecraft Server Monitor - Minecraft Bukkit Plugins - CurseForge
Mirror (SpigotMC): Server Monitor | SpigotMC - High Performance Minecraft Software
**I'm struggling with a few things and need experienced dev advice:**
**Code quality** - Am I doing CommandAPI registration right?
**Performance** - Is reading /proc/stat too expensive for /cpu?
**Permissions** - LuckPerms integration feels hacky, better way?
**Features** - What else should a monitor plugin have?
**Best commands that actually work well:**
/cpu - CPU load with core count and color indicators
/memory - RAM usage (allocated vs max) with percentage bars
/disk - Disk space (total/used/free) in GB with warnings
/tps - Current + average TPS (1m/5m/15m) trends
/ping - Player ping statistics overview
/online - Current online players by world
/uptime - Server uptime (days/hours/minutes)
/worlds - Active worlds and loaded status
/chunks - Total chunks currently loaded
/entities - Entities count by world/type
/players - Player distribution and locations
/ops - List all server operators
/setmaxplayers <number> - Adjust maximum players limit
/networkinfo - Network diagnostics and latency
/gc - Trigger garbage collection manually
/commands - Shows this complete command list
/help servermonitor - Plugin overview and permissions
Would really appreciate any feedback or code review pointers from experienced devs. **What's the first thing I should fix?**
Thanks!
DORITOOO22
submitted by /u/xDORITOOO22x
[link] [comments]
Continue reading...
I just made my **first plugin ever** called **ServerMonitor** - it shows server stats like CPU, RAM, TPS through simple chat commands. You can test it on:
Official download (CurseForge): Minecraft Server Monitor - Minecraft Bukkit Plugins - CurseForge
Mirror (SpigotMC): Server Monitor | SpigotMC - High Performance Minecraft Software
**I'm struggling with a few things and need experienced dev advice:**
**Best commands that actually work well:**
/cpu - CPU load with core count and color indicators
/memory - RAM usage (allocated vs max) with percentage bars
/disk - Disk space (total/used/free) in GB with warnings
/tps - Current + average TPS (1m/5m/15m) trends
/ping - Player ping statistics overview
/online - Current online players by world
/uptime - Server uptime (days/hours/minutes)
/worlds - Active worlds and loaded status
/chunks - Total chunks currently loaded
/entities - Entities count by world/type
/players - Player distribution and locations
/ops - List all server operators
/setmaxplayers <number> - Adjust maximum players limit
/networkinfo - Network diagnostics and latency
/gc - Trigger garbage collection manually
/commands - Shows this complete command list
/help servermonitor - Plugin overview and permissions
Would really appreciate any feedback or code review pointers from experienced devs. **What's the first thing I should fix?**
Thanks!
DORITOOO22
submitted by /u/xDORITOOO22x
[link] [comments]
Continue reading...