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

[CS:S/CS:GO] CT Bans


Post New Thread Reply   
 
Thread Tools Display Modes
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 06-19-2017 , 19:17   Re: [CS:S/CS:GO] CT Bans
Reply With Quote #321

Quote:
Originally Posted by vadrozh View Post
Help guys! I'm using MyJailbreak and then i banned someone for ct, he can join ct again. Also, then i'm selecting player in rageban, menu just closes.
Are you using the ctban in MyJailbreak or this plugin? Check the SourceMod logs directory and look at the error logs to see what is going on-- post that here.
__________________
databomb is offline
vadrozh
Junior Member
Join Date: Jun 2017
Old 06-19-2017 , 22:08   Re: [CS:S/CS:GO] CT Bans
Reply With Quote #322

Quote:
Originally Posted by databomb View Post
Are you using the ctban in MyJailbreak or this plugin? Check the SourceMod logs directory and look at the error logs to see what is going on-- post that here.
I'm using this plugin to ban players. Error log doesn't include any errors with ctban.
vadrozh is offline
good_live
AlliedModders Donor
Join Date: Oct 2013
Old 06-20-2017 , 01:12   Re: [CS:S/CS:GO] CT Bans
Reply With Quote #323

You'll need to use the ratio_ctbans_databomb to prevent MyJailbreak from moving banned players.
good_live is offline
Sples1
Senior Member
Join Date: Apr 2016
Location: Kitsune Lab
Old 08-11-2017 , 18:50   Re: [CS:S/CS:GO] CT Bans
Reply With Quote #324

Hello there!

I have 2 Feature request.
Maybe the sm_isbanned command should show the admin who ctbanned the player.
The RageBan should create informations in the mysql logs and bans.

I found a bug.
When you use rageban there is no reply in the chat, even if there is the default translation in use.

NOTE: Many thanks for the plugin from Hungary!
Sples1 is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 08-12-2017 , 12:01   Re: [CS:S/CS:GO] CT Bans
Reply With Quote #325

Version 1.6.2

**Translation File Has Been Updated!!**

Changes:
The !isbanned command now lists the admin who performed the CT ban and the time of the CT ban
The !rageban command now shows the information in the Chat and Log
The !rageban command now logs bans to the MySQL CTBan Log
Added convar sm_ctban_force_reason, Default 0, allows you to specify whether admins need a reason for their CT ban when using the console or chat !ctban command

Thanks to Sples1 for testing all changes and Hungarian translations!
__________________

Last edited by databomb; 08-12-2017 at 12:04.
databomb is offline
Sples1
Senior Member
Join Date: Apr 2016
Location: Kitsune Lab
Old 08-12-2017 , 12:02   Re: [CS:S/CS:GO] CT Bans
Reply With Quote #326

Quote:
Originally Posted by databomb View Post
Version 1.6.2

**Translation File Has Been Updated!!**

Changes:
The !isbanned command now lists the admin who performed the CT ban and the time of the CT ban
The !rageban command now shows the information in the Chat and Log
The !rageban command now logs bans to the MySQL CTBan Log
Added convar sm_ctban_force_reason, Default 0, allows you to specify whether admins need a reason for their CT ban when using the console or chat !ctban commnad

Thanks to Sples1 for testing all changes and Hungarian translations!
Thank you very much!
Sples1 is offline
Cripix
Senior Member
Join Date: Sep 2016
Location: French, Bordeaux
Old 08-12-2017 , 13:20   Re: [CS:S/CS:GO] CT Bans
Reply With Quote #327

French Translate
Attached Files
File Type: txt ctban.phrases.txt (5.7 KB, 76 views)
__________________
My jailbreak Server :
Cripix is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 08-12-2017 , 18:01   Re: [CS:S/CS:GO] CT Bans
Reply With Quote #328

Quote:
Originally Posted by Cripix View Post
French Translate
Merci beaucoup Cripix! Added translations to the original post.
__________________
databomb is offline
Cripix
Senior Member
Join Date: Sep 2016
Location: French, Bordeaux
Old 08-12-2017 , 19:23   Re: [CS:S/CS:GO] CT Bans
Reply With Quote #329

Quote:
Originally Posted by databomb View Post
Merci beaucoup Cripix! Added translations to the original post.
__________________
My jailbreak Server :
Cripix is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 08-29-2017 , 17:10   Re: [CS:S/CS:GO] CT Bans
Reply With Quote #330

Version 2.0.0

This is the first large update to CT Bans since its release in 2011. So, what has changed? Underneath the hood, there were a lot of changes including switching to the new SourcePawn syntax, eliminating magic numbers, and making the flow more efficient. Several changes relate to adding more compatibility for CS:GO as there are some unique server convars and behavior that have changed since the last update. But there are also a lot of new features to discuss as well.
  • Smart Menus for !ctban
    If you only add some of the required information for the !ctban command. For instance,
    Code:
    !ctban databomb
    Then it will bring up the next part of the process, so in this case the menu would appear to select a time. Credit goes to oaaron99 for this idea.
  • !isbanned for everyone
    Before only admins were allowed to use !isbanned but now there are some new options to allow a wider audience to use it. First, there is convar sm_ctban_isbanned_selftarget which will allow non-admins to target *only* themselves. If you want non-admins to see anyone who is CTBanned then you can change the sm_ctban_checkctbans_adminflags convar to be empty.
  • Custom reasons
    Adding custom reasons was somewhat of a pain before because you had to modify the translations file. And you were limited to only 7 reasons. Now if you would like custom reasons then just make a file called ctban_reasons.ini and place it in the addons/sourcemod/configs/ directory. For formatting the file, there's not much special: place each reason on its own line.
  • More translation support
    The translation file has been updated with translations for the new features and some expanded translations for existing features.
  • !reset_ctban_cookies <'force'>
    If you want to get rid of all of the existing CT Ban cookie information then this will effectively unban everyone. This is a pretty powerful command, so it is restricted to root admins only.
  • !ctbanlist
    This will bring up a menu of the currently CT Banned players. Selecting a player will bring up additonal information in the chat. Non-admins could use this command, but to allow everyone access you have to set your sm_ctban_checkctbans_adminflags to be empty.
  • !forcect and !unforcect
    So if you have a player who is CT banned but maybe an admin wants to see how they do on CT. Sort of a trial run, perhaps? They can use !forcect to swap them to the CT team. If they are misbehaving then !unforcect sends them back to the Terrorist team.

    One important consideration: if all of the admins leave the server then it automatically swaps forced players back to the Terrorist team because no one is left to monitor them.
  • More logging information
    The !ctban_offline and !unctban_offline commands now have more information being sent to the CTBan_Log for tracking. The !rageban command will output chat when it is used.
  • Colors!
    The chat tag has changed from [SM] to [CTBAN]. CTBan will be in blue and the messages are in gold. If you don't like these colors then you can change them by editing the CHAT_BANNER for the engine you are using with new color values.
  • !change_ctban_time
    This will allow admins to change the time on an existing CTBan. You can reduce or increase a timed ban. You can also change a timed ban to a permanent ban (use 0 for the time) or a permanent ban to a timed ban.
  • API
    A brand new API allows improved 3rd-party plugin integration.
    Spoiler
  • Database improvements
    This will update the table structure in your *_CTBan_Log table to add a unique ID number for each ban. The previous primary key was the timestamp, which prevented CT Banning players on the same second. If you would like to manually update your table structure then connect to the database and issue the following queries (Make sure to add a Table prefix before CTBan_Log if you are using one):

    PHP Code:
    ALTER TABLE CTBan_Log DROP PRIMARY KEY;
    ALTER TABLE CTBan_Log ADD ban_id INT UNSIGNED PRIMARY KEY AUTO_INCREMENT FIRST
  • Late load protection
    If the CTBan plugin is loaded late then it will automatically enforce any existing CTBans immediately on load.
  • More !admin Menu Support
    The !ctban is now in the !admin Player Commands menu along with !rageban. There are also some more newcomers to the !admin Player Commands menu: !forcect, !unforcect, and !unctban
  • !isbanned_offline <authid>
    This is a new command to get additional info if all you have is their STEAM ID. It will query the database and return the information without having to have the server operator delve into the tables.
  • sm_ctban_respawn
    This new convar will allow players to be respawned after their CT Ban. The default is to not respawn.

The lines of code here has almost doubled in size. Efforts were made to test all features but not all situations may have been tested. If you do encounter issues, provide details on how to see the problem.

Installation Instructions
  1. Compile sm_ctban.sp
  2. Place sm_ctban.smx in addons/sourcemod/plugins
  3. Download the ctban.phrases.txt and place this in addons/sourcemod/translations
  4. Optional: Generate custom reasons list by creating a simple text file (addons/sourcemod/configs/ctban_reasons.ini) with 1 reason per line.
  5. Start the plugin or manually update the database tables.
  6. Delete the cfg/sourcemod/ctban.cfg file or update the file with the new convar names for version 2.0.0:
    Quote:
    sm_ctban_checkctbans_adminflags, [a-z]: Specifies the admin flag levels that may use the !ctbanlist and !isbanned command targeting anyone. Blank allows all players access on everyone.
    sm_ctban_isbanned_selftarget, [0,1]: Specifies whether a non-admin can target themselves using the !isbanned command.
    sm_ctban_respawn, [0,1]: Specifies whether to respawn players after team changes.
__________________

Last edited by databomb; 08-30-2017 at 01:45.
databomb 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 22:35.


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