[PR #125] [MERGED] [Player Counter] Add Palworld Support #125

Closed
opened 2026-05-07 00:18:15 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/plugins/pull/125
Author: @makepeacej
Created: 4/24/2026
Status: Merged
Merged: 5/4/2026
Merged by: @Boy132

Base: mainHead: feature/palworld-player-count-support


📝 Commits (9)

  • 9c05266 Added Palworld schema. Adjusted to handle looking at servers env settings for admin password.
  • 54873b2 Fix incorrect Palworld metrics API field names
  • 63ccc36 Fix Pint style violations: remove aligned => operators
  • 0c332f0 Updated palworld query schema to check for ok response
  • 6389ca5 adjusted some spacing for pint
  • 1fa85da Removed server schema interface and adjusted original to include server
  • d49d018 Adjusted GameQuery.php to pass in server param
  • 084d361 Apply suggestions from code review
  • 0eb3a9e add back $server param

📊 Changes

9 files changed (+81 additions, -7 deletions)

View changed files

📝 player-counter/src/Extensions/Query/QueryTypeSchemaInterface.php (+3 -1)
📝 player-counter/src/Extensions/Query/Schemas/CitizenFXQueryTypeSchema.php (+2 -1)
📝 player-counter/src/Extensions/Query/Schemas/GoldSourceQueryTypeSchema.php (+2 -1)
📝 player-counter/src/Extensions/Query/Schemas/MinecraftBedrockQueryTypeSchema.php (+2 -1)
📝 player-counter/src/Extensions/Query/Schemas/MinecraftJavaQueryTypeSchema.php (+2 -1)
player-counter/src/Extensions/Query/Schemas/PalworldQueryTypeSchema.php (+65 -0)
📝 player-counter/src/Extensions/Query/Schemas/SourceQueryTypeSchema.php (+2 -1)
📝 player-counter/src/Models/GameQuery.php (+1 -1)
📝 player-counter/src/Providers/PlayerCounterPluginProvider.php (+2 -0)

📄 Description

This pull request introduces support for Palworld dedicated servers in the Player Counter plugin. Palworld does not
implement the Steam A2S query protocol despite binding the query port, so this adds a new interface and schema to
support REST API-based querying with server credential context.

  • Added a Palworld Schema
  • Adjusted the setup to grab the admin password from the server's environment.

*Assisted by Claude to match existing patterns

Relates to #124

Summary by CodeRabbit

  • New Features
    • Added support for querying Palworld game servers.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/pelican-dev/plugins/pull/125 **Author:** [@makepeacej](https://github.com/makepeacej) **Created:** 4/24/2026 **Status:** ✅ Merged **Merged:** 5/4/2026 **Merged by:** [@Boy132](https://github.com/Boy132) **Base:** `main` ← **Head:** `feature/palworld-player-count-support` --- ### 📝 Commits (9) - [`9c05266`](https://github.com/pelican-dev/plugins/commit/9c052667abbe78b338d917b3c73fd36a58c91d54) Added Palworld schema. Adjusted to handle looking at servers env settings for admin password. - [`54873b2`](https://github.com/pelican-dev/plugins/commit/54873b2451086a7a0bdcd44ec9fbaf216df9baee) Fix incorrect Palworld metrics API field names - [`63ccc36`](https://github.com/pelican-dev/plugins/commit/63ccc361d59899c440cd8fccd038136f972ead6b) Fix Pint style violations: remove aligned => operators - [`0c332f0`](https://github.com/pelican-dev/plugins/commit/0c332f01771f342165dd21855b019f954d74debb) Updated palworld query schema to check for ok response - [`6389ca5`](https://github.com/pelican-dev/plugins/commit/6389ca550089d0d7acc039b9e6afe0e97fe82c54) adjusted some spacing for pint - [`1fa85da`](https://github.com/pelican-dev/plugins/commit/1fa85da616cb46dcf8ce002b8c3e6f603ae5c164) Removed server schema interface and adjusted original to include server - [`d49d018`](https://github.com/pelican-dev/plugins/commit/d49d018c55961ceea1b3e8d9132e77eb0b6830c5) Adjusted GameQuery.php to pass in server param - [`084d361`](https://github.com/pelican-dev/plugins/commit/084d361f61391dd4f909a438d243ce7efe452e03) Apply suggestions from code review - [`0eb3a9e`](https://github.com/pelican-dev/plugins/commit/0eb3a9ed75facdb2a2cd732717c4cb7c4d4695f8) add back $server param ### 📊 Changes **9 files changed** (+81 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `player-counter/src/Extensions/Query/QueryTypeSchemaInterface.php` (+3 -1) 📝 `player-counter/src/Extensions/Query/Schemas/CitizenFXQueryTypeSchema.php` (+2 -1) 📝 `player-counter/src/Extensions/Query/Schemas/GoldSourceQueryTypeSchema.php` (+2 -1) 📝 `player-counter/src/Extensions/Query/Schemas/MinecraftBedrockQueryTypeSchema.php` (+2 -1) 📝 `player-counter/src/Extensions/Query/Schemas/MinecraftJavaQueryTypeSchema.php` (+2 -1) ➕ `player-counter/src/Extensions/Query/Schemas/PalworldQueryTypeSchema.php` (+65 -0) 📝 `player-counter/src/Extensions/Query/Schemas/SourceQueryTypeSchema.php` (+2 -1) 📝 `player-counter/src/Models/GameQuery.php` (+1 -1) 📝 `player-counter/src/Providers/PlayerCounterPluginProvider.php` (+2 -0) </details> ### 📄 Description This pull request introduces support for Palworld dedicated servers in the Player Counter plugin. Palworld does not implement the Steam A2S query protocol despite binding the query port, so this adds a new interface and schema to support REST API-based querying with server credential context. - Added a Palworld Schema - Adjusted the setup to grab the admin password from the server's environment. *Assisted by Claude to match existing patterns Relates to #124 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added support for querying Palworld game servers. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 00:18:15 +02:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/plugins#125
No description provided.