Add Custom RCON Broadcast Source Code #9
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add Custom RCON Broadcast Source Code
Summary
This pull request adds the custom RCON broadcast source code to the project, following the feature introduced in PR #5. The changes encompass the inclusion of essential code, dependencies, and updates to the Dockerfile to facilitate the build and integration of the custom RCON broadcast binary.
Motivation and Context
The addition of the custom RCON broadcast feature, as outlined in PR #5, is needed for the capability to broadcast messages with spaces (not supported natively as spaces break the message).
After a lot of tries and using either underscores
_
or dashes-
to concatenate the messages, I thought that it just isn't readable or pleasant at all.I did some research with 'invisible' spaces (other characters that would replace the spaces but would be invisible) and ended up encountering this information about ASCII Code for NBSP and a proof of concept by @Darkhand81 via this Reddit post so I decided to code it a robust solution in Go so it could be compiled and used inside the container like @gorcon's rcon-cli.
Description
The primary changes include:
Testing Instructions
To validate these changes:
Checklist