[Feature Request] Palworld widget #4720
Unanswered
ichlaffterlalu
asked this question in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I would like to request a new widget that shows basic Palworld server stats.
If you don't know about Palworld, it's an open-world pet-catching game made by Pocketpair (https://www.pocketpair.jp/palworld).
A Palworld server has its own REST API, showing stats of currently running server, such as Server Frame-per-Second (FPS), Days-in-Game, and Currently Logged-in Players.
About the API
Here is the documentation about Palworld's API:
Current Situation
Currently, I can extract informations from Palworld's API using "Custom API" widget, with this configuration:
Unfortunately, unlike the
minecraft
widget where it can indicate the online/offline status of a server, this one doesn't.This one shows API error instead when the server is turned off, which is expected, but is not the behaviour I wanted.
What I Wished for This Widget to Be
Here is the list of fields that can be showed up in the
palworld
widget:status
players
currentplayernum
After slash:
maxplayernum
fps
serverfps
version
version
frametime
serverframetime
uptime
uptime
(in seconds [integer], we need to convert it to time format:dd hh:mm:ss
)days
days
The
status
andplayers
are fields that I can't recreate using "Custom API" widget, so I want to have this implemented using separate widget.Also indicating "server off" by showing red API errors feels just too annoying rather than having dedicated
status
field.Configurations of the Widget
Here is the example on how I want the widget configuration to be:
Other
To try run a Palworld server yourself, I recommend this Docker image:
thijsvanloef/palworld-server-docker:dev
Here is the GitHub repo for that: https://github.com/thijsvanloef/palworld-server-docker
Beta Was this translation helpful? Give feedback.
All reactions