How to filter player names in SCP: Secret Laboratory
Set nickname_filter: to a regular expression in config_gameplay.txt and restart.
nickname_filter
A regular expression; matching parts of player names are replaced with nickname_filter_replacement.
nickname_filter: <regex> Examples
nickname_filter: (?i)discord\.gg\S* Removes invite links.
Arguments
regexRequired- A regular expression.
What it does
For keeping slurs or ads out of names.
Good to know
- A line in
config_gameplay.txt, in.home/.config/SCP Secret Laboratory/config/serverin Files. Edit it, then restart the server.
Run it on your server
The Console tab can't send commands to SCP: Secret Laboratory: a player with a Remote Admin role from config_remoteadmin.txt types them in the game's Remote Admin (M). Settings go in config_gameplay.txt in .home/.config/SCP Secret Laboratory/config/server on the Files tab and apply at the next restart. New to this? Start a SCP:SL server first.
Your own
SCP:SL server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.