Skip to main content

Monitoring & Logs

Monitor your server with activity logs, player statistics, and detailed performance metrics.

Activity Log

The Activity Log tracks all significant events on your server.

Accessing the Log

Navigate to Activity in the sidebar to view the activity log.

Event Categories

CategoryEvents Tracked
PlayerJoins, leaves, kicks, bans
ServerStart, stop, restart, crashes
BackupCreation, restoration, deletion
ConfigSettings changes, file edits
ModInstall, update, remove
UserPanel user actions
SystemSystem events, updates

Filtering

  1. Click the Filter dropdown
  2. Select one or more categories
  3. Log updates to show matching entries

Log Entry Information

Each entry shows:

  • Timestamp - When the event occurred
  • Category - Event type (color-coded)
  • User - Who performed the action
  • Details - Description of what happened
  • Status - Success/failure indicator

Clearing the Log

Users with activity.manage permission can clear the log:

  1. Click Clear Log
  2. Confirm the action
  3. All entries are removed

API Endpoints

MethodEndpointDescription
GET/api/management/activityGet activity log
POST/api/management/activity/clearClear activity log

Permissions

PermissionDescription
activity.viewView activity log
activity.manageClear activity log

Statistics Dashboard

View comprehensive player and server statistics.

Accessing Statistics

Navigate to Statistics in the sidebar.

Player Statistics

MetricDescription
Total PlayersAll-time unique players
Peak Online TodayHighest concurrent today
Active Players (7d)Players active in last week
New Players (7d)First-time joins this week

Playtime Statistics

MetricDescription
Total PlaytimeSum of all player time
Average PlaytimePer player average
Sessions per PlayerAverage login count

Weekly Activity Chart

A visual chart showing:

  • Daily unique player counts
  • 7-day trend visualization
  • Peak day indicators

Top Players

List of most active players:

  • Player name
  • Total playtime
  • Session count
  • Last seen

API Endpoints

MethodEndpointDescription
GET/api/scheduler/statistics/playersPlayer statistics
GET/api/scheduler/statistics/activityDaily activity data

Performance Monitoring

Real-time server performance monitoring with detailed metrics.

Accessing Performance

Navigate to Performance in the sidebar.

Live Metrics

The dashboard shows real-time values for:

  • CPU Usage - Percentage (process and system)
  • Memory Usage - Heap and non-heap
  • TPS - Ticks per second (target: 20)
  • Players - Current online count
  • Status - Server state

Performance Graphs

Four real-time graphs display:

  1. CPU Usage - 60-point history
  2. Memory Usage - Heap allocation over time
  3. Players - Online player count history
  4. TPS - Server performance trend

TPS Thresholds

TPS RangeStatusIndicator
19+ TPSGoodGreen
15-18 TPSWarningYellow
Below 15 TPSCriticalRed

Prometheus Integration

For detailed metrics, install the ApexHosting:PrometheusExporter plugin.

JVM Metrics

MetricDescription
Heap MemoryUsed, committed, max
Non-Heap MemoryMetaspace, code cache
Memory PoolsEden, Survivor, Old Gen

Thread Metrics

MetricDescription
Current ThreadsActive thread count
Daemon ThreadsBackground threads
Peak ThreadsMaximum reached

Server Metrics

MetricDescription
SessionsJoin/leave counts
Worlds LoadedNumber of active worlds
Players per WorldDistribution by world
GC StatisticsGarbage collection data

Performance API

MethodEndpointDescription
GET/api/server/memoryJVM memory stats
GET/api/server/tps-metricsTPS from Prometheus
GET/api/server/prometheusFull Prometheus metrics
GET/api/management/stats/historyHistorical statistics

Permissions

PermissionDescription
performance.viewView performance metrics

Whitelist & Ban Management

Dedicated interface for managing server access.

Accessing

Navigate to Whitelist in the sidebar.

Whitelist Tab

Enable Whitelist

  1. Toggle the Enable Whitelist switch
  2. Only whitelisted players can join

Adding Players

  1. Enter player name in the input field
  2. Click Add
  3. Player appears in the list

Removing Players

  1. Find the player in the list
  2. Click the Remove (X) button
  3. Player is removed from whitelist

Bans Tab

Banning Players

  1. Switch to Bans tab
  2. Enter player name
  3. Optionally add a reason
  4. Click Ban

Unbanning Players

  1. Find the player in the ban list
  2. Click Unban
  3. Player can rejoin the server

Both lists support search:

  1. Type in the search field
  2. List filters in real-time

API Endpoints

MethodEndpointDescription
GET/api/management/whitelistGet whitelist status
PUT/api/management/whitelistUpdate whitelist settings
POST/api/management/whitelist/:playerAdd to whitelist
DELETE/api/management/whitelist/:playerRemove from whitelist
GET/api/management/bansGet ban list
POST/api/management/bansBan a player
DELETE/api/management/bans/:playerUnban a player

Permissions

PermissionDescription
players.whitelistManage whitelist
players.banBan players
players.unbanUnban players