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

[REQ][CSGO] Custom basebans plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TrappaTroopa
Senior Member
Join Date: Feb 2016
Old 09-13-2016 , 12:15   [REQ][CSGO] Custom basebans plugin
Reply With Quote #1

I need a customized version of the basebans plugin (or maybe its own plugin?) Right now you can only do !ban playername 1440 [REASON] to ban a player for 1 day.

What I need is a way for admins to specify Hours or Days, not just minutes. So they can type things such as:

!ban playername 3 days REASONS

!ban playername 4 hours REASONS

I know you can do this via the admin menu to choose x amt of days but I want to be able to do it in chat.

If you want to just ediit the basebans plugin I am fine with that, I am running Sourcemod 1.7.3-git5315-windows. Or its own plugin would be even better so I don't have to recompile for each new sourcemod release.
TrappaTroopa is offline
andrept4
Senior Member
Join Date: Dec 2012
Location: Portugal
Old 04-08-2017 , 08:54   Re: [REQ][CSGO] Custom basebans plugin
Reply With Quote #2

/offtopic\ just buy them some calculators
__________________
andrept4 is offline
sdz
Senior Member
Join Date: Feb 2012
Old 04-08-2017 , 11:24   Re: [REQ][CSGO] Custom basebans plugin
Reply With Quote #3

Tested and works for me.
Code:
sm_ban <player> <time> <minutes/hours/days> <reason>

sm_ban sidezz 2 days lol
L 04/08/2017 - 05:20:05: [basebans.smx] "master shake sidezz<63><STEAM_1:1:92117><>" banned "master shake sidezz<63><STEAM_1:1:92117><>" (minutes "2880") (reason "lol")
Attached Files
File Type: zip basebans.zip (18.6 KB, 137 views)

Last edited by sdz; 04-08-2017 at 11:28.
sdz 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 22:33.


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