Raised This Month: $12 Target: $400
 3% 

username filter


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
breezetix0
New Member
Join Date: Mar 2021
Old 03-20-2021 , 18:35   username filter
Reply With Quote #1

I'm looking for a plugin that blocks foreign languages, symbols, etc. because it's kinda hard to kick someone that has a russian username or something like that, or symbols. I tried finding one on sourcemods, there were a few but not what I needed. any help is appreciated!
breezetix0 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 03-20-2021 , 18:49   Re: username filter
Reply With Quote #2

You should learn kick player by userID.

Player could change name so it's harder to track.
Player userID not change until player re-connect to server.

Code:
] status
hostname: 'Bacardi
version : 1.37.8.5/13785 1250/8012 secure  [A:1:2425885697:16835] 
udp/ip  : 192.168.1.21:27015
os      :  Windows
type    :  listen
map     : de_dust2 at: 182 x, 2439 y, -56 z
connected to loopback
players : 1 humans, 9 bots (20/0 max) (not hibernating)

# userid name uniqueid connected ping loss state rate adr
#  2 1 "'Bacardi" STEAM_1:1:14163588 00:15 16 0 active 786000 loopback
# 3 "Paul" BOT active 64
# 4 "Bill" BOT active 64
# 5 "Jerry" BOT active 64
# 6 "Colin" BOT active 64
# 7 "Matt" BOT active 64
# 8 "Ron" BOT active 64
# 9 "Pat" BOT active 64
#10 "Tom" BOT active 64
#11 "Norm" BOT active 64
#end
] users
<slot:userid:"name">
0:2:"'Bacardi"
1:3:"Paul"
2:4:"Bill"
3:5:"Jerry"
4:6:"Colin"
5:7:"Matt"
6:8:"Ron"
7:9:"Pat"
8:10:"Tom"
9:11:"Norm"
10 users
Code:
rcon kickid 2
sm_kick #2
You can also kick player by aim to him.
sm_kick @aim

Last edited by Bacardi; 03-20-2021 at 18:51.
Bacardi is offline
jugule
AlliedModders Donor
Join Date: Apr 2020
Old 03-20-2021 , 20:24   Re: username filter
Reply With Quote #3

Use this:
https://forums.alliedmods.net/showthread.php?t=329816
jugule is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:07.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode