Raised This Month: $102 Target: $400
 25% 

[CS:GO] Timed CTBans (1.0, updated 2016.12.03)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
grytrean
Junior Member
Join Date: Nov 2014
Plugin ID:
5436
Plugin Version:
1.0
Plugin Category:
Admin Commands
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows admins to CTBan players for X amount of rounds
    Old 12-03-2016 , 10:51   [CS:GO] Timed CTBans (1.0, updated 2016.12.03)
    Reply With Quote #1

    [CS:GO] Timed CTBans
    Developed by GryTrean

    Description:

    This plugin allows server administrators to ban a player or SteamID from joining the CT team for an entered amount of rounds. This plugin is still under development and minor bugs might still be found. Plugin is tested and should work with other plugins without any problems.

    Features:
    • CTBans for any amount of rounds
    • MySQL connected
    • Ban Reason
    • Ban-Status command
    • SteamID banning/unbanning
    • Multiple CT-Join blocking (round start, round end, swapteam)

    Commands:
    • sm_ctban <player> <rounds> <reason> - Bans a PLAYER from the CT Team for X ROUNDS. The last argument is to set a reason for the ban - Shows when player gets banned and when he/she checks ban status
    • sm_ctunban <player> - Unbans a PLAYER from the CT Team.
    • sm_ctstatus - If you are banned, returns the reason of the ban. If you are not, informs you that you can join the CT Team.
    • To allow players to CTBan others, give them the "ADMFLAG_SLAY" flag
      The plugin does at this moment not contain any CVARS or Translation files. These are planned to be created in the upcoming versions.

    Installation:
    • Drop ctbans.smx to /sourcemod/plugins
    • Eventually drop ctbans.sp to /sourcemod/scripting
    • Add this to databases.cfg (of course with your information instead of the given
      Code:
      "ctbans"
      {
      	"driver"			"default"
      	"host"			"localhost"
      	"database"			"sourcemod"
      	"user"			"root"
      	"pass"			""
      
      }
    • Restart the server (for the highest chance of working. Not sure if just reloading the plugin will properly connect to MySQL).

    Planned Updates:
    • Checking other players ban-status
    • Perm-Bans
    • Your ideas

    Changelog:
    Code:
    03.11.2016
    * Started Developing the plugin
    
    03.12.2016
    * Intial plugin release on AlliedModders
    Screenshots:
    CTBan
    Spoiler

    CTUnban
    Spoiler

    Swithteam while banned & CTStatus
    Spoiler



    Thank you for taking your time and reading this.
    I hope you will like the plugin, it might also be smart to tell you, that this is the actual first plugin I upload here. I have some more JailBreak plugins on my disk (more than 3000 lines of code!) which I will be glad to sell by a nice price.
    I hope I didnt forget anything, if you have any questions, just write in the comments below and I will try to answer.

    I also appreciate all donates I get. I give out plugins for free which are not always that easy to make. Thank you!
    Donate:
    Attached Files
    File Type: smx [ENG] ctban.smx (9.0 KB, 236 views)
    File Type: sp Get Plugin or Get Source ([ENG] ctban.sp - 803 views - 9.6 KB)
    File Type: smx [PL] CTban.smx (9.0 KB, 128 views)

    Last edited by grytrean; 01-25-2017 at 13:06.
    grytrean is offline
    whtevrwt
    AlliedModders Donor
    Join Date: Apr 2015
    Old 12-04-2016 , 04:03   Re: [CS:GO] Timed CTBans (1.0, updated 2016.12.03)
    Reply With Quote #2

    omg thank you for this. I'm gonna test this on my server.
    __________________
    whtevrwt is offline
    grytrean
    Junior Member
    Join Date: Nov 2014
    Old 12-04-2016 , 08:26   Re: [CS:GO] Timed CTBans (1.0, updated 2016.12.03)
    Reply With Quote #3

    Quote:
    Originally Posted by whtevrwt View Post
    omg thank you for this. I'm gonna test this on my server.
    I am glad to hear it! I would be thankful if you would report any bugs and glitches you find. Thank you!
    grytrean is offline
    whtevrwt
    AlliedModders Donor
    Join Date: Apr 2015
    Old 12-04-2016 , 22:20   Re: [CS:GO] Timed CTBans (1.0, updated 2016.12.03)
    Reply With Quote #4

    So far everything is working as it should. I will report any bugs when they show up.
    __________________
    whtevrwt is offline
    B2SX
    Member
    Join Date: Dec 2015
    Location: Israel
    Old 12-05-2016 , 00:13   Re: [CS:GO] Timed CTBans (1.0, updated 2016.12.03)
    Reply With Quote #5

    what makes it better then this plugin ? https://forums.alliedmods.net/showthread.php?p=1544101
    B2SX is offline
    grytrean
    Junior Member
    Join Date: Nov 2014
    Old 12-05-2016 , 04:34   Re: [CS:GO] Timed CTBans (1.0, updated 2016.12.03)
    Reply With Quote #6

    Of what I can see, it doesn't support timed bans nor bans connected with MySQL. It is possible that it works better but when I was doing a jailbreak server, I was looking for a plugin like this and couldn't find any so I decided to make it myself and share it with you
    grytrean is offline
    grytrean
    Junior Member
    Join Date: Nov 2014
    Old 12-05-2016 , 04:38   Re: [CS:GO] Timed CTBans (1.0, updated 2016.12.03)
    Reply With Quote #7

    I actually realized that it has a timed ban feature now, didn't see it earlier. Yet, there might be some features that make my plugin better
    grytrean is offline
    grytrean
    Junior Member
    Join Date: Nov 2014
    Old 12-07-2016 , 15:58   Re: [CS:GO] Timed CTBans (1.0, updated 2016.12.03)
    Reply With Quote #8

    Any bugs found yet?
    grytrean is offline
    whtevrwt
    AlliedModders Donor
    Join Date: Apr 2015
    Old 12-07-2016 , 18:06   Re: [CS:GO] Timed CTBans (1.0, updated 2016.12.03)
    Reply With Quote #9

    So far no bugs. It's been 4 days and nothing found.
    __________________
    whtevrwt is offline
    M4ketech
    Member
    Join Date: Dec 2016
    Location: Helsinki, Finland
    Old 12-07-2016 , 21:34   Re: [CS:GO] Timed CTBans (1.0, updated 2016.12.03)
    Reply With Quote #10

    One issue, plugin needs rounds, right now we dont have rounds.

    Edit: i setup 10 rounds max and tried to ban myself.

    M4ketech : !ctban M4ketech 2 Freekill
    Unknown command: sm_ctban
    ] sm_ctban <M4ketech> <10> <Freekill>
    [SM] Correct usage: sm_ctban <player> <rounds> <reason>
    ] sm_ctban <M4ketech> <2> <FK>
    [SM] Correct usage: sm_ctban <player> <rounds> <reason>

    Hmm, installed it correctly

    Last edited by M4ketech; 12-07-2016 at 21:42. Reason: More info given
    M4ketech is offline
    Reply


    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 05:07.


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