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

Change ""You have been banned by this server, check {1} for more info""


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
SanKen
Senior Member
Join Date: Oct 2012
Location: /var/logs
Old 11-25-2012 , 04:55   Change ""You have been banned by this server, check {1} for more info""
#1

As a topic. how to change this info. To shown a
"You have been banned. Reason {reason}, Banlength {banlength}, check {1} for more info"

This is just an example.
SanKen is offline
matrixmark
Senior Member
Join Date: Jun 2010
Old 11-26-2012 , 03:51   Re: Change ""You have been banned by this server, check {1} for more info""
#2

Quote:
Originally Posted by SanKen View Post
As a topic. how to change this info. To shown a
"You have been banned. Reason {reason}, Banlength {banlength}, check {1} for more info"

This is just an example.
If I understand you correctly, you will need to edit the sourcebans.phrases.txt located in the translations folder.

{reason} and {banlength} wont work, I'm not sure if this is even possible.

Good idea if it is though

Last edited by matrixmark; 11-26-2012 at 03:56.
matrixmark is offline
SanKen
Senior Member
Join Date: Oct 2012
Location: /var/logs
Old 11-26-2012 , 09:11   Re: Change ""You have been banned by this server, check {1} for more info""
#3

Can't do without editing plugin unfortunately.
SanKen is offline
SanKen
Senior Member
Join Date: Oct 2012
Location: /var/logs
Old 12-02-2012 , 10:01   Re: Change ""You have been banned by this server, check {1} for more info""
#4

bump, Please reply author.
SanKen is offline
SanKen
Senior Member
Join Date: Oct 2012
Location: /var/logs
Old 01-04-2013 , 10:28   Re: Change ""You have been banned by this server, check {1} for more info""
#5

bump. Any help ?
SanKen is offline
SanKen
Senior Member
Join Date: Oct 2012
Location: /var/logs
Old 01-08-2013 , 09:53   Re: Change ""You have been banned by this server, check {1} for more info""
#6

Does this product have already died? No response, no support on ... what is wrong with the developer.
SanKen is offline
animalnots
Senior Member
Join Date: Dec 2012
Old 01-08-2013 , 10:59   Re: Change ""You have been banned by this server, check {1} for more info""
#7

))))) You want
to change phrase
Quote:
"en" "You have been banned by this server, check {1} for more info"
to
Quote:
"en" "You have been banned. Reason {reason}, Banlength {banlength}, check {1} for more info"
Is this correct?
__________________
STEAM is the best of the west
Quote:
Never argue with an idiot. He lowers you to his level and then wins on experience!
animalnots is offline
SanKen
Senior Member
Join Date: Oct 2012
Location: /var/logs
Old 01-08-2013 , 11:01   Re: Change ""You have been banned by this server, check {1} for more info""
#8

Quote:
Originally Posted by animalnots View Post
))))) You want
to change phrase
Quote:
"en" "You have been banned by this server, check {1} for more info"
to
Quote:
"en" "You have been banned. Reason {reason}, Banlength {banlength}, check {1} for more info"
Is this correct?

yes, but in this way it will not work. Editing plugin is required

Last edited by SanKen; 01-08-2013 at 11:04.
SanKen is offline
animalnots
Senior Member
Join Date: Dec 2012
Old 01-08-2013 , 11:32   Re: Change ""You have been banned by this server, check {1} for more info""
#9

test
Code:
	"Banned Check Site"
	{
		"#format"		"{1:s},{2:s},{3:s}"
		"en"			"You have been banned. Reason {1}, Banlength {2}, check {3} for more info"
	}
Attached Files
File Type: smx sourcebans.smx (30.9 KB, 336 views)
File Type: sp Get Plugin or Get Source (sourcebans.sp - 193 views - 73.0 KB)
__________________
STEAM is the best of the west
Quote:
Never argue with an idiot. He lowers you to his level and then wins on experience!
animalnots is offline
SanKen
Senior Member
Join Date: Oct 2012
Location: /var/logs
Old 01-08-2013 , 14:40   Re: Change ""You have been banned by this server, check {1} for more info""
#10

I have a question. Would it be possible to do something like amxbans?

Code:
Kicked : You are BANNED. Check your console!
<Print to console>

Code:
[SourceBans] ===============================================
[SourceBans] Banned by admin <admin name>
[SourceBans] You can complain regarding your ban @ <websiteaddress>
[SourceBans] Reason: <reason>
[SourceBans] Length: <length>
[SourceBans] Your SteamID: <steam id>
[SourceBans] Your IP: <ip>
[SourceBans] =======================================
As the authors did not think it through ...
SanKen is offline
Closed Thread


Thread Tools
Display Modes

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 12:43.


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