Raised This Month: $ Target: $400
 0% 

Give admins temp. ban power only, CS:GO?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Pasi
Member
Join Date: Mar 2013
Old 05-19-2013 , 07:56   Give admins temp. ban power only, CS:GO?
Reply With Quote #1

How do I give certain admins power to only temp. ban on our CS:GO server, say like 3 hours, and then the ban is lifted? I dont want these admins to have power to perm ban.
Pasi is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 05-19-2013 , 08:18   Re: Give admins temp. ban power only, CS:GO?
Reply With Quote #2

My Limit Ban Duration plugin if I ever get it updated, as that functionality doesn't exist elsewhere. I'll try to get to it this week.
__________________
thetwistedpanda is offline
Wilczek
AlliedModders Donor
Join Date: Oct 2012
Location: Poland
Old 05-21-2013 , 13:52   Re: Give admins temp. ban power only, CS:GO?
Reply With Quote #3

Quote:
Originally Posted by NefariousDomination View Post
Server CVar cv_maxlengthban default 180 (minutes), its the max ban time allowed.

If These admins have ban access, remove it and add the flag "o" to their flags
When I try to compile it on SM 1.5.0-gh3838, it returns two errors:

Quote:
banrestrict.sp(29) : error 035 : argument type mismatch (argument 2)
banrestrict.sp(29) : error 035 : argument type mismatch (argument 2)
It's possible to compile when replaced "duration" with "timeofban" in line 29. Still, plugin doesn't seem to be working properly - when I type sm_rban it prints chat help ([SM] Syntax is sm_rban...), but console shows Unknown command: sm_rban and nothing happens. I also noticed there is no way to add ban reason.

Error log:
Quote:
L 05/21/2013 - 20:18:41: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 05/21/2013 - 20:18:41: [SM] Native "PrintToChat" reported: String formatted incorrectly - parameter 3 (total 2)
L 05/21/2013 - 20:18:41: [SM] Displaying call stack trace for plugin "banrestrict.smx":
L 05/21/2013 - 20:18:41: [SM] [0] Line 41, banrestrict.sp::RestrictBan()
__________________

Last edited by Wilczek; 05-21-2013 at 14:26.
Wilczek is offline
Wilczek
AlliedModders Donor
Join Date: Oct 2012
Location: Poland
Old 05-21-2013 , 17:33   Re: Give admins temp. ban power only, CS:GO?
Reply With Quote #4

Yes, I tried to ban but console prints Unknown command: sm_rban + attached error log.
__________________
Wilczek is offline
Wilczek
AlliedModders Donor
Join Date: Oct 2012
Location: Poland
Old 05-22-2013 , 13:12   Re: Give admins temp. ban power only, CS:GO?
Reply With Quote #5

Sorry, but I can't get this plugin to work. I'm sure I have "o" flag, but the problem is error Unknown command: sm_rban.
__________________
Wilczek is offline
Wilczek
AlliedModders Donor
Join Date: Oct 2012
Location: Poland
Old 05-22-2013 , 16:44   Re: Give admins temp. ban power only, CS:GO?
Reply With Quote #6

Does it work for you? I still get the same error, Unknown command :/
__________________
Wilczek is offline
Wilczek
AlliedModders Donor
Join Date: Oct 2012
Location: Poland
Old 05-23-2013 , 03:34   Re: Give admins temp. ban power only, CS:GO?
Reply With Quote #7

I don't get why it doesn't work for me... Maybe the problem is I don't have sourcebans?
Attached Thumbnails
Click image for larger version

Name:	rban.jpg
Views:	133
Size:	26.4 KB
ID:	120196  
__________________

Last edited by Wilczek; 05-23-2013 at 09:37. Reason: Screenshot attached
Wilczek is offline
Wilczek
AlliedModders Donor
Join Date: Oct 2012
Location: Poland
Old 05-23-2013 , 10:56   Re: Give admins temp. ban power only, CS:GO?
Reply With Quote #8

Great, thanks

Could you tell me ETA?
__________________

Last edited by Wilczek; 05-24-2013 at 09:11. Reason: ETA
Wilczek is offline
me-Shoe
Senior Member
Join Date: Apr 2008
Old 06-23-2013 , 07:59   Re: Give admins temp. ban power only, CS:GO?
Reply With Quote #9

?!

How does it work?
__________________
me-Shoe 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 16:25.


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