a Addon to remove the Ip

A place for requesting new Source.Python plugins to be made for your server.

Please request only one plugin per thread.
Baster1985
Junior Member
Posts: 10
Joined: Tue Nov 20, 2012 1:21 am

a Addon to remove the Ip

Postby Baster1985 » Thu Sep 22, 2022 11:10 am

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?
cssbestrpg
Senior Member
Posts: 242
Joined: Sun May 17, 2020 7:56 am
Location: Finland
Contact:

Re: a Addon to remove the Ip

Postby cssbestrpg » Thu Sep 22, 2022 1:04 pm

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}')
Baster1985
Junior Member
Posts: 10
Joined: Tue Nov 20, 2012 1:21 am

Re: a Addon to remove the Ip

Postby Baster1985 » Thu Sep 22, 2022 1:46 pm

I'm unfortunately not able to test whether it works, I'll try to create a server on the weekend. Many Thanks

Return to “Plugin Requests”

Who is online

Users browsing this forum: No registered users and 1 guest