Skip to content
This repository was archived by the owner on Jul 27, 2025. It is now read-only.

Add source run flag to check response ID#26

Merged
conqp merged 1 commit intoconqp:masterfrom
fossum:feature/add-enforce-labels-flag
Feb 2, 2024
Merged

Add source run flag to check response ID#26
conqp merged 1 commit intoconqp:masterfrom
fossum:feature/add-enforce-labels-flag

Conversation

@fossum
Copy link
Contributor

@fossum fossum commented Jan 30, 2024

Some servers might not follow the Source RCON spec and Palworld is one of them. This flag allows run to ignore the response ID.

#25

Copy link

@fa0311 fa0311 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This worked on my palworld server!

pip install git+https://github.com/fossum/rcon.git@feature/add-enforce-labels-flag

with Client(env.ip, env.port, passwd=env.password) as client:
    response = client.run("ShowPlayers", enforce_id=False)

@itsjohannawren
Copy link

I was just about to make my own PR for this exact issue (thanks Palworld).

Copy link
Owner

@conqp conqp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@conqp conqp closed this Feb 2, 2024
@conqp conqp reopened this Feb 2, 2024
@conqp conqp merged commit 2649b53 into conqp:master Feb 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants