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

Bad name banning


Post New Thread Reply   
 
Thread Tools Display Modes
janbanan
Member
Join Date: Jun 2007
Old 07-05-2007 , 17:55   Re: myg0t name banning
Reply With Quote #11

Quote:
Why make this for myg0t only? I suggest ban based on a list of names. Make a file in addons/sourcemod/configs/banned_names.ini
A question. If i where to put my own name in that list (I know it doesnt exist, yet), would it work as a "reserved admin name" if i have immunity? So no one but me (or another admin) could use my name.
janbanan is offline
TSCDan
Senior Member
Join Date: Jan 2005
Location: NY, USA
Old 07-05-2007 , 18:02   Re: myg0t name banning
Reply With Quote #12

If you had immunity from banning, I suppose that could work.. I'm almost finished, just trying to work out some bugs.
TSCDan is offline
Send a message via AIM to TSCDan Send a message via MSN to TSCDan Send a message via Yahoo to TSCDan
TSCDan
Senior Member
Join Date: Jan 2005
Location: NY, USA
Old 07-05-2007 , 20:26   Re: Bad name banning
Reply With Quote #13

Completely redid this to allow configurable phrases in the names. As of right now, sm_ban and sm_kick do not work from console/rcon, so it just uses the server kick and ban (therefore no immunities). Once they work with console, you can just uncomment the lines below the //********* and comment the one right below that. I'll release a new version anyway Any more suggestions?
TSCDan is offline
Send a message via AIM to TSCDan Send a message via MSN to TSCDan Send a message via Yahoo to TSCDan
janbanan
Member
Join Date: Jun 2007
Old 07-05-2007 , 20:43   Re: Bad name banning
Reply With Quote #14



Edit:
1 more question (or 3 to be precise).

I can trigger sm_kick from my servers console, is it not possible for a plugin to trigger it?
I have "!127.0.0.1" "$z" in my admins_simple.ini, is that why it works for me?
If so, can i go ahead and uncomment?

Last edited by janbanan; 07-05-2007 at 20:59.
janbanan is offline
janbanan
Member
Join Date: Jun 2007
Old 07-05-2007 , 21:33   Re: Bad name banning
Reply With Quote #15

And one more newbie question

I decided to go ahead and try, but get an error when i try to compile it. (First time i compile a SM plugin).

Quote:
Your plugin failed to compile! Read the errors below:
/home/groups/sourcemod/upload_tmp/phps7jOSF.sp(100) : error 017: undefined symbol "player"
Would it work if i change:
ServerCommand("sm_kick #%i", player)
To:
ServerCommand("sm_kick #%i", playerId)

?

Thanks again for this plugin.
janbanan is offline
TSCDan
Senior Member
Join Date: Jan 2005
Location: NY, USA
Old 07-05-2007 , 21:40   Re: Bad name banning
Reply With Quote #16

Doh, fixed.
TSCDan is offline
Send a message via AIM to TSCDan Send a message via MSN to TSCDan Send a message via Yahoo to TSCDan
kgcs10
Junior Member
Join Date: Oct 2005
Old 07-05-2007 , 23:16   Re: Bad name banning
Reply With Quote #17

I see, thanks.
__________________

FREE TO JOIN

Last edited by kgcs10; 07-05-2007 at 23:23. Reason: question answered
kgcs10 is offline
TSCDan
Senior Member
Join Date: Jan 2005
Location: NY, USA
Old 07-05-2007 , 23:18   Re: Bad name banning
Reply With Quote #18

Whatever you put in the bad_names.ini, if there is someone who has that in their name, they will be kicked or banned. As of now, there is no immunity for your admins to prevent them from being kicked.
TSCDan is offline
Send a message via AIM to TSCDan Send a message via MSN to TSCDan Send a message via Yahoo to TSCDan
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Old 07-06-2007 , 08:24   Re: Bad name banning
Reply With Quote #19

Is the cvar still mgb_version ?

Nice work. I'll approve this once you update the Plugin description and cvar and such. This is way more useful than just banning mygot now.
__________________
I'm a blast from the past!
ferret is offline
TSCDan
Senior Member
Join Date: Jan 2005
Location: NY, USA
Old 07-06-2007 , 08:28   Re: Bad name banning
Reply With Quote #20

Grah! I know I actually edited that description before.. why doesn't it take?! Gah.. well it's updated, thanks I'm thinking about looking into admin immunity as well, just gotta better understand SM's flags.
TSCDan is offline
Send a message via AIM to TSCDan Send a message via MSN to TSCDan Send a message via Yahoo to TSCDan
Reply



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 02:59.


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