Skip to content
Snippets Groups Projects

Add NameChange lua hook

Open Hanicef requested to merge Hanicef/SRB2Classic:add-namechange-lua-hook into next

This is a hook that can be useful for making moderation scripts, where you can filter out bad words in player names. Currently, while you can filter out messages in chat, you cannot do so with player names, which can be used maliciously to bypass those filters. With this hook, however, that loophole is closed and you can no longer use name changing to bypass filters.

Note that you cannot change which name the player will get, only reject it, so it cannot be abused to change player names against their will.

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
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading