hlguard and name-ban

Post Reply
User avatar
buffy
A regular
A regular
Posts: 45
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Tue Jun 17, 2003 4:40 pm
Location: cali

hlguard and name-ban

Post by buffy »

Hello

I wanted to make it so certain names were not allowed in my server. Someone on irc told me I could just add the specific names to the name-ban file in hlguard. This file is "hlg_nameban.cfg"

It contains a huge list of names gathered by United Admins, of hacker clan tags.

I copy/pasted a few lines and added some new names in there, uploaded it.

But it isn't working - the names are still showing up. If a map change was needed, I'm sure I gave it one...and if a server reboot was needed, the server has crashed a few times since I changed this file, so all should be good in those areas.

Is there another file I need to change to get this to work?
User avatar
Nick|NFo
Former staff
Former staff
Posts: 2252
Joined: Sun Mar 30, 2003 1:56 pm
Location: 127.0.0.1

Post by Nick|NFo »

you need to go to this file:

addons/hlguard/config/hlg_net.cfg and in there:

Code: Select all

// Name kicking/banning - review contents of hlg_nameban.cfg before enabling
//hlg_exec addons/hlguard/config/hlg_nameban.cfg
set it to look like:

Code: Select all

// Name kicking/banning - review contents of hlg_nameban.cfg before enabling
hlg_exec addons/hlguard/config/hlg_nameban.cfg
then save and restart server.
-Nick
User avatar
buffy
A regular
A regular
Posts: 45
Joined: Tue Jun 17, 2003 4:40 pm
Location: cali

Post by buffy »

tyvm!!

i just realized there is another name file in the config folder. i was adjusting the name file in the root hlguard folder. should i have adjusted the other one?
User avatar
buffy
A regular
A regular
Posts: 45
Joined: Tue Jun 17, 2003 4:40 pm
Location: cali

Post by buffy »

and it was already enabled, btw
User avatar
Nick|NFo
Former staff
Former staff
Posts: 2252
Joined: Sun Mar 30, 2003 1:56 pm
Location: 127.0.0.1

Post by Nick|NFo »

ya sometimes its not

gotta do the one the line is executing :)

if its in teh config folder, its executing that one

you can change the location of the file if you wish.

glad it works.
-Nick
Post Reply