Skip to content
Snippets Groups Projects

Add setting for logging PMs on the server

Open Hanicef requested to merge Hanicef/SRB2Classic:add-server-pm-logging into next
1 unresolved thread

One major hurdle with moderating an SRB2 server currently is that private messages aren't logged by the server. This allows bad actors to carry out abuse without being detected, since neither the host nor any of the moderators see the messages being sent over PM. To mitigate this problem, this patch adds a new variable hu_showprivatemessages that, when enabled, causes the server to start logging private messages over PM, allowing hosts to see private messages as they are being sent. This command has no effect on any other player, regardless if they're logged in as remote admins or not.

I also went ahead and cleaned up some of the chat logic, since cend was never used and it also had some unnecessary color bytes that had no effect.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
    • Contributor

      This extension is technically fine, but IMO because of how all message packets are sent to every player in the server, PMs really shouldn't even be a feature in the first place.

    • Author Contributor

      Yeah, getting rid of it would probably be for the best. Although we should also see what others think about it, since I can definitely see use cases for it despite the privacy issues it has.

    • Please register or sign in to reply
Please register or sign in to reply
Loading