TeamSpeak Banner
A PHP-powered banner for TeamSpeak 3 servers, offering dynamic server and client details with full customization and simple design integration.

Introduction
Live-Generated Info Display for TeamSpeak Servers
TeamSpeak Banner is a PHP-based tool designed to generate a real-time banner image for TeamSpeak servers, combining live client data and server statistics in a clean, customizable display.

It connects to the server backend and uses a configuration file for full control over what appears on the banner.
Technologies
The system connects to the TeamSpeak server using the official TeamSpeak 3 PHP Framework to pull live client and server data, which is then rendered directly into a PNG image.
Technology / Technique | Description |
---|---|
PHP 7.4.3 | The main scripting language used to dynamically generate the image file in real time. |
TeamSpeak 3 PHP Framework | Connects to the TeamSpeak server via ServerQuery1 to fetch live client and server data. |
GD Library (PHP) | Used to render the PNG image2 including fonts, icons, and text effects like rotation and shadows. |
External Config File | Controls layout, text, font settings, localization, and display options without modifying core code. |
Apache / nginx | Any standard web server is capable of serving the real-time banner image via a public URL. |
Locale Support | Date and time formatting adjusts dynamically based on server-side locale settings. |
RFC 3986 Encoding | Automatically encodes ServerQuery credentials to handle special characters3 securely. |
1 ServerQuery access must be enabled and configured on the TeamSpeak server for the PHP Framework to function properly. The connection uses a username/password combo to authenticate each request.
2 GD Library allows text to be drawn at any angle or size, using TrueType fonts (.ttf). It also supports transparency for rendering cleaner overlays or logo placement.
3
Encoding the ServerQuery credentials ensures compatibility with special characters like @
, &
, or spaces that could otherwise break URL queries or connection strings. This improvement came from a GitHub issue where a user had login problems due to special characters in their ServerQuery password.
Development Process
The project was built to prioritize flexibility and user control. Rather than hardcoding values, every visual and informational element is configured externally, making it easy to deploy across different servers with unique branding or languages.
Technical Architecture
The banner system leverages PHP’s GD library and TeamSpeak’s ServerQuery API to create dynamic, real-time graphics. Each component is designed for modularity and performance, ensuring fast response times while maintaining visual quality and personalization features.
Complete Data Flow
Smart Client Detection
Advanced Image Processing