Page 1 of 1

a Addon to remove the Ip

Posted: Thu Sep 22, 2022 11:10 am
by Baster1985
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?

Re: a Addon to remove the Ip

Posted: Thu Sep 22, 2022 1:04 pm
by cssbestrpg
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}')

Re: a Addon to remove the Ip

Posted: Thu Sep 22, 2022 1:46 pm
by Baster1985
I'm unfortunately not able to test whether it works, I'll try to create a server on the weekend. Many Thanks