Skip to content

Conversation

@zagor
Copy link
Contributor

@zagor zagor commented Sep 20, 2025

The player prefix, a.k.a clan tag, is a message sent by the game client rather late in the map loading sequence. It is therefore not part of the PLAYER_CONNECTED event.

You can see this message being received in the game log directly by increasing verbosity. But most server owners don't want to change log verbosity.

This log parser therefore looks for other log lines, specifically "Check Permissions", that occur before and after the hidden prefix log line. By matching these to the known sequence we can determine when prefix is avaialable.

After this event, we know the player name contains both prefix and suffix. We can thus reliably determine the player prefix.

The player prefix, a.k.a clan tag, is a message sent by the game client
rather late in the map loading sequence. It is therefore not part of the
PLAYER_CONNECTED event.

You can see this message being received in the game log directly by
increasing verbosity. But most server owners don't want to change log verbosity.

This log parser therefore looks for other log lines, specifically "Check
Permissions", that occur before and after the hidden prefix log line. By
matching these to the known sequence we can determine when prefix is
avaialable.

After this event, we know the player name contains both prefix and
suffix. We can thus reliably determine the player prefix.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant