Skip to Content
ModulesServers and privileges

Server monitoring

The Monitoring module: a public servers page with live player counts, modes, a server window with players and a chart, favourites and quick play.

The module gives the site a "Servers" section: a list of servers with player counts, the map and a "Play" button, refreshed while the page is open. Servers are grouped into modes, each with its own page, and every server has a window with the player list, a players chart and the peak of the week. The data comes from the GameLink plugin, and the site queries a server without the plugin by itself.

The Servers section with mode cards and the list of servers

The section lives at /servers, a mode page at /servers/<mode address>, a server window at /servers/s/<server ID>. On install the module adds a "Servers" item to the site menu. The home page gets the "Servers" Studio block, and each server in the admin panel gets a "Showcase" tab.

DependenciesGamesPermissionsStudio blocksBot commandsCron tasks
Flute 2.0; optionally Chatservers with the GameLink plugin, and games that answer a status queryadmin.monitoring, admin.monitoring.showcase, admin.monitoring.settings, admin.monitoring.view"Servers" (monitoring.servers)none"Monitoring: status of servers without the plugin", every minute; "Monitoring: rows of removed servers", daily

Install and first setup

Install the module from the marketplace as described in first steps; every install option is in Installing modules. The admin menu gains a "Server modes" row with the tabs "Server modes" and "Settings": AdminServer modes.

The module shows the servers already added to the site that have "Show the server on the site" on. Adding a server and installing the plugin is covered in Servers. Without modes the servers form one list, and the section works right away.

Show servers on the site by mode

Example: you run two CS2 servers, Public and AWP, and want a separate "Public" page with a picture and a character.

Create a mode

Open AdminServer modes and click "Add mode". Enter "Public" as the "Name" and public as the "Address"; the mode page opens at /servers/public. An empty address is made from the name.

Upload a "Mode picture" (the card background above the list), a "Mode page background" and a "Character", a picture with a transparent background. Pick both servers in "Servers" and leave "Show on the site" on.

The Mode window with the name, address, pictures and servers

Set up the server showcase

Open the server in AdminServers and go to the "Showcase" tab. The "Visitors see" line shows the state and player count as a visitor sees them. Click "Edit showcase".

Here you set the "Mode", the "State" ("Shown", "Maintenance" or "Hidden"), a "Badge" of up to 32 characters such as 128 tick, the "Country" for the flag and the "Order": a smaller number puts the server higher. After "Save" you see "Server showcase saved".

The Showcase tab on a server page

Check it on the site

Click "Open on the site". The server window opens over the list with the tabs "Players", "Online" and "About".

The server window with the player list, the score and the players chart

A sub-mode is created the same way, with a top-level mode in "Belongs to", and works as a filter on the mode page. When modes exist and a server has none, the modes table shows "Some servers have no mode" with an "Assign servers" button. For maintenance, click "Turn maintenance on" in the server page header. Visitors see the server marked "Maintenance" instead of "Out of reach", with no players or map.

The Servers block in Studio

Open Studio through AdminSite design and place the "Servers" block, for example on the home page. The block has four looks: "Rows" (servers under mode tabs), "Mode tiles", "Mode cards" and "Mode panel".

The Servers block on the home page as Rows

Above the block go "Label above the title", "Title" (Servers by default) and "Subtitle". "Server limit" is 1 to 12, 6 by default, and "Pinned servers" fixes your own servers in your order. "Modes" sets the block's modes and their order, each with "Mode", "Image", "Character" and a "Description" of up to 200 characters. With "Modes" empty, the block takes every shown mode, and the "Image" and "Character" set in the block replace the mode pictures in this block only.

A server without the plugin and the players chart

Example: a Minecraft or Rust server without the GameLink plugin should show its player count and a chart for the week.

Add the server with the right game

The game tells the site the protocol and the query port: Minecraft answers on port 25565, Rust on the game port + 1. If your port differs, set "Status query port"; see Servers.

Turn on the scheduler

The "Monitoring: status of servers without the plugin" task asks every shown server that has no fresh plugin heartbeat and writes its player count into the history. Without cron the site asks a server only when a visitor comes, and the history is written only while the server page is open in the admin panel. Setting up cron is covered in Scheduler.

Pick the interval and the periods

In AdminServer modesSettings set "Server query, minutes" between 1 and 60 and tick the "Chart periods": "24 hours", "7 days" or "30 days". The history is kept for 30 days; change that in AdminSettingsData retention, field "Server online history". A period longer than that stays incomplete.

The 24-hour chart is drawn by the hour, the 7-day and 30-day ones by the peak of each day. An hour without data is drawn as a gap labelled "no data".

Without the plugin the site queries Steam games through their status query, Minecraft Java and Bedrock, FiveM and RedM, SA-MP, MTA and older games on the GameSpy, Quake 3 and Unreal protocols; Palworld and Terraria (TShock) need an API token. It sees the name, the map, the player count and usually the nicknames. CS2 hides player names without a plugin such as ServerListPlayersFix, and some games, such as DayZ and Arma Reforger, return no player list at all. ARK: Survival Ascended reports status only through Epic Online Services, so the site does not query such a server.

Where the module shows up

PlaceWhat is there
Server, "Showcase" tabmode, state, badge, country, order and what visitors see
Admin player card and mini profilethe "Playing now" line linking to the server
Profile on the sitethe "Favourite servers" card, seen by the owner only
Profile settingsthe "Game servers" section with "Show where I play", on by default
Site header"Playing now: N" when "Players online in the site header" is on
Game menuan "Other servers" section with player counts and a join link

Site search finds servers and modes, and with the Chat module a server can be sent as a card in a message. Visitors star servers, up to 50 favourites. A guest keeps favourites in the browser, and after signing in the site offers to "Move" them to the account. "Quick play" leads to the busiest online server that is not full and has a join link; Steam games have such links.

Settings

AdminServer modesSettings, address /admin/modules/Monitoring/settings.

Monitoring module settings, the List of servers group
FieldWhat it changesDefault
"List view""Grid" or "Table""Grid"
"Default sort""Default order", "By players" or "By name""Default order"
"Grid columns", "Mode cards per row"1 to 64 and 4
"Mode cards"modes above the list of serverson
"Show servers out of reach"off: a server leaves the list until it answerson
"Placeholder for a missing map preview"a map without a picture shows the game's ownoff
Copy the address with "connect"the clipboard gets a command ready for the game consoleon
"Joining a full server""Play" stays active on a full serveroff
"Page refresh, seconds", "Refresh requests a minute from one address"how often an open page asks for numbers, 5 to 600, and the allowance shared by the open pages of one address, 30 to 600015 and 300
"Players online in the site header", "Other servers in the game menu"the count in the header and the game menu sectionoff and on
"Section address"the first part of the section address; the old address leads to the new oneservers
"Blocks", "Hidden from guests"what a server card and window have, and what only signed-in visitors seeall, empty
"Player columns"the columns of a player row in the server window. Rank and K/D come from Stats, FACEIT from SteamLookup; a column without data is not shown"Rank", "Kills / deaths", "Headshot %", "Ping", "Time on the server", "Group badges"
"VIP groups", "Staff groups"in-game groups as the server reports them, for the VIP badge and staff on the serverempty
"Player actions in the server window"a signed-in visitor sees the actions they are allowed in a player rowon
"Player badges from other modules", "Badges beside a nickname"privilege and punishment beside the nickname, 1 to 6, the rest behind "+N"on, 2
"Chart periods""24 hours", "7 days", "30 days""24 hours", "7 days"
"Server query, minutes"how often the site itself asks servers without the plugin, 1 to 601
"Out of reach" threshold, seconds0 to 120 beyond two plugin intervals30
"Wording" group"Section title", "Line under the title", "Empty list", "Join button", "Quick play button", "Maintenance state"empty, the module's own wording

admin.monitoring opens modes, the showcase and the settings, and includes the other three. admin.monitoring.showcase gives "Edit showcase" and maintenance, provided the user may also edit servers. admin.monitoring.settings opens the "Settings" tab together with the site settings permission admin.system, and admin.monitoring.view alone shows the modes and the "Showcase" tab without the "Edit showcase" button.

Game plugins

A server with the GameLink plugin sends its player count, map and players with every sync and needs no protocol query. Flute plugins exist for CS2, Source games, CS 1.6, Garry's Mod, Rust, SA-MP, FiveM and RedM and Minecraft. With the plugin, the server window shows the score, teams, ping and player groups.

When a plugin heartbeat is late by more than two of its intervals plus the out-of-reach threshold, the server shows as "Out of reach". While the plugin is connected but has sent no numbers, the row says "The server is in reach but has not told its players yet".

For developers

Another module adds a line to a server in the list and the window through the Flute\Modules\Monitoring\Contracts\ServerNotes contract: notes(array $serverIds) returns a ServerNote per server ID. Register it from boot(), behind a check that Monitoring is active: app(\Flute\Modules\Monitoring\Services\Notes::class)->add(MyNotes::class). That is how the Wipes module shows a server's next wipe. The list is asked often, so notes() should read cached data only.

An open page refreshes its numbers through GET /api/monitoring/state: JSON with totals and servers, 304 when nothing changed, up to 60 requests a minute per address. The home block redraws through GET /api/monitoring/home?limit=6. The module exports the metrics monitoring_servers, monitoring_servers_online and monitoring_players. It has no events, webhooks or console commands.

How the core side works: Another module in the provider, Extension points, Module metrics.

Troubleshooting

For any other message, use the error lookup.

Visitors do not see this server.

The "Showcase" tab says this when the server is not in the list. Check that the showcase state is not "Hidden" and that "Show the server on the site" is on. A server out of reach leaves the list when "Show servers out of reach" is off.

MessageWhat to do
"Out of reach" on a server without the pluginthe server did not answer the status query: check "Status query port" and that the port is open to the site
"No data for this period yet"the history builds up from the moment the server is queried or the plugin is connected
"Too many requests from your address: the numbers will refresh in a minute."many open pages behind one address, raise "Refresh requests a minute from one address"
"Another mode already has this address."pick another mode "Address"
The address takes Latin letters, digits and hyphens, up to 64 characters; "s" is taken.s belongs to the server window, pick another address

Next

On this page