Raised This Month: $ Target: $400
 0% 

Banning player by server_cmd


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 04-09-2009 , 01:01   Re: Banning
Reply With Quote #1

Quote:
Originally Posted by fysiks View Post
If you only ban someone and don't kick them they will remain in the server until you kick them or they leave. At which point they will not be able to come back because of the ban.
And that was the thing I were talking about. Banning doesn't normally include kicking. Even it could be useful sometimes, ban command does not need to kick the player.
SnoW is offline
Send a message via MSN to SnoW
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 04-09-2009 , 08:48   Re: Banning
Reply With Quote #2

I may be misunderstanding what is being talked about or this may have already been said, so if I am, sorry.

If you look in the admincmd plugin, you will notice that the banning is being done like this (and this is how I would rather do the banning instead of using the amx_ban command)

kick #43 "You are banned";wait;banid 0 STEAM_0:02151;wait;writeid

That is the true way to ban them. If you just use banid, the user will still be in the server, you have to kick them to get them out, banid does not do it for you (unless you put the 3rd parameter as "kick", but then you don't get to display a kick reason).
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 04-08-2009 , 14:38   Re: Banning
Reply With Quote #3

As per the Global Forum Rules, you need to have a descriptive topic title. If you wish for this topic to stay open, please correct the topic title before you post again.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 04-08-2009 , 17:57   Re: Banning
Reply With Quote #4

Quote:
Originally Posted by YamiKaitou View Post
As per the Global Forum Rules, you need to have a descriptive topic title. If you wish for this topic to stay open, please correct the topic title before you post again.
Sorry, didn't notice. Fixed.
BOYSplayCS is offline
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:22.


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