Raised This Month: $32 Target: $400
 8% 

[CS:S/CS:GO] CT Bans Max Bans


Post New Thread Reply   
 
Thread Tools Display Modes
Author
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Plugin ID:
5812
Plugin Version:
1.0.0
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
Allows lesser admins to give limited CT Bans.
Old 09-06-2017 , 13:12   [CS:S/CS:GO] CT Bans Max Bans
Reply With Quote #1

CT Bans - Max Bans

A new admin command !tctban <player> <time> <optional: reason> is created to allow admins to give a limited timed CT Ban. If admins cannot be trusted to dispense permanent CT Bans then this command will allow them to still take the minimum action needed to remove a rule-breaker from the CT team. The default admin flag for !ctban is ADMFLAG_SLAY and the default for !tctban is ADMFLAG_CHAT. These can be changed using Admin Overrides:
https://wiki.alliedmods.net/Overridi..._Configuration

You can configure the maximum ban length (in minutes) with the convar:
  • sm_ctban_maxbans_time
The default is 120 minutes.


Custom CT Bans Reasons (configs/ctban_reasons.ini) will appear in the Reason menu, if provided.

Custom CT Bans Lengths (configs/ctban_times.ini) will appear in the Time menu, if provided.
Note: Ban lengths that exceed the sm_ctban_maxbans_time convar will not be available as menu options.

This plugin requires the CT Bans plugin, include (for compiling), and translation phrases file to be installed on the server.
https://forums.alliedmods.net/showthread.php?t=166080
Attached Files
File Type: sp Get Plugin or Get Source (ctban_maxbans.sp - 627 views - 12.4 KB)
File Type: smx ctban_maxbans.smx (10.6 KB, 634 views)
__________________

Last edited by databomb; 09-06-2017 at 13:36.
databomb is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 12-27-2018 , 21:05   Re: [CS:S/CS:GO] CT Bans Max Bans
Reply With Quote #2

It would be interesting if you left the same command to open the menu, example.

Both would have the same command !sm_ctban, but if the player does not have the necessary flags for the other CTBan plugin it would open the CTBan menu of this plugin.

It would be possible?
paulo_crash is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 12-28-2018 , 23:49   Re: [CS:S/CS:GO] CT Bans Max Bans
Reply With Quote #3

I'm using the original plugin versions but I'm having trouble with this one here.

The player type !tctban opens the nickname menu of the players, however when you choose one of the players the menu closes and nothing happens.

It is done by chat !tctban NICK TIME REASONS only shows invalid time message.

The CTBan Plugin works normal, just the one that does not.
paulo_crash 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 11:23.


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