Hello, I wanted to ask if there is an addon that does not show the ips when someone joins the server. Something like Andreas joins the server with Tthe name and steam id but no ip should be displayed. I would like the server to be a little more anonymous without players seeing the ip of others, I don't know if this is also displayed when you enter status.
The reason ist theres an guy who try to doxx usw, i try to make it a little saver when he dont know our ips.
Is there such a thing or how difficult is it to implement?
a Addon to remove the Ip
-
- Junior Member
- Posts: 10
- Joined: Tue Nov 20, 2012 1:21 am
-
- Senior Member
- Posts: 315
- Joined: Sun May 17, 2020 7:56 am
- Location: Finland
- Contact:
Re: a Addon to remove the Ip
Hi try this one(Only tested in css):
Syntax: Select all
from events import Event
from listeners import OnServerOutput
from core import OutputReturn, echo_console
@OnServerOutput
def on_server_output(severity, msg):
if msg.startswith('Client'):
return OutputReturn.BLOCK
return OutputReturn.CONTINUE
@Event('player_connect')
def player_connect(args):
if args['bot']:
return
name = args.get_string('name')
steamid = args.get_string('networkid')
echo_console(f'{name} has connected to the server with steamid: {steamid}')
-
- Junior Member
- Posts: 10
- Joined: Tue Nov 20, 2012 1:21 am
Re: a Addon to remove the Ip
I'm unfortunately not able to test whether it works, I'll try to create a server on the weekend. Many Thanks
Who is online
Users browsing this forum: No registered users and 94 guests