GuidesAddons4 min read

Network Statistics Manager

Installer
Ainx installation path

Network Statistics Manager V-A.1.0.0 has a panel package and a Wings extension. The panel package installs the dashboard, routes, migrations, collection commands, and build assets. Wings supplies packet counters and protocol data.

Run the package installer from /var/www/pterodactyl or your panel root:

bash
ainx install networkstats.ainx

Ainx installs the panel files, dashboard route, API routes, migrations, console commands, and frontend build. Install the Wings layer separately if you need packet and protocol statistics.

Optional translations

The bundle includes the canonical English catalog at translations/en/networkstats.php. The addon works without it and retains its built-in English frontend. No extension backend is required for translations.

On themes that expose Laravel language namespaces to React, install the catalog and clear cached translations:

bash
sudo install -D -m 0644 \
  translations/en/networkstats.php \
  resources/lang/en/networkstats.php

php artisan optimize:clear

For another locale, place a translated copy at resources/lang/<locale>/networkstats.php. Preserve the complete key tree and placeholders such as :name, :count, and :path.

Ainx does not add or remove customer translation files. Uninstalling Network Statistics Manager will not delete a catalog installed manually.

Install C-Wings

Choose a C-Wings installation method

Wings modifications

Use the prebuilt binary for the shortest installation. The smart script is preferred for source builds because it uses stable anchors, skips installed changes, and stops instead of guessing. Patches are best for reviewable Git workflows; manual edits are the fallback.

bash
sudo mkdir -p /etc/pterodactyl
ARCH="$([[ "$(uname -m)" == "x86_64" ]] && echo "amd64" || echo "arm64")"
curl -fL --retry 3 -o /tmp/wings \
  "https://github.com/Tomaxikz/daemon/releases/download/dev-latest/wings_linux_${ARCH}"
file /tmp/wings
sudo install -m 0755 /tmp/wings /usr/local/bin/wings
sudo systemctl restart wings

Release page: Tomaxikz/daemon dev-latest.

Build and verify

Format the touched files, test, build, and install Wings:

bash
gofmt -w environment/stats.go environment/docker/stats.go \
  server/resources.go server/protocol_stats.go server/protocol_monitor.go \
  router/router.go router/nsm_router.go
go test ./environment/... ./server ./router
go build
sudo systemctl stop wings
sudo install -m 0755 wings /usr/local/bin/wings
sudo systemctl start wings
sudo systemctl is-active wings

If the dashboard has no protocol data, confirm the service is healthy and inspect the latest daemon logs:

bash
sudo journalctl -u wings -n 100 --no-pager