Source2ZE / CS2Fixes

A Metamod plugin with fixes and features aimed but not limited to zombie escape
GNU General Public License v3.0
252 stars 122 forks source link

playermanager and GetPlayersFromString #326

Closed xyzelt closed 1 week ago

xyzelt commented 1 week ago

Targeting groups supercede check of player's name. If an malicious player have name like one of targeting groups will not be selected. There are flags to avoid some command but i think is not enough. For example to kick a player with name @random there are big chance to kick someone else.

My sugestion is

Vauff commented 1 week ago

You can use the & prefix to force an exact name lookup when required, e.g. !kick &@random.

xyzelt commented 1 week ago

I know that, but if there are an hurried admin who don't know about targeting groups someone else are hurt...