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

[BaseBans Mod] Limit Permban to Root-Admins


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
FeuerSturm
AlliedModders Donor
Join Date: Apr 2004
Old 05-08-2009 , 14:06   [BaseBans Mod] Limit Permban to Root-Admins
Reply With Quote #1

hey guys,

I've been reading several times that people would like to use
the standard SM banning system (BaseBans plugin) but would like
to disallow permanent banning for non root-admins, so I thought
I'd just share my slightly modded version of the SM 1.2.1
basebans.sp and /basebans/ban.sp

That ONLY allows admins with Root-Access (Flag "z") to perm
ban and time ban more than a week.

All other "ban" admins can only use any ban time between 1 and 10080minutes (= 1 week)

All Credits to the SM Dev Team!

Installation:
Just download the archive and extract it, copy the file "basebans.sp"
and the "basebans" folder into your sourcemod's "scripting" folder
while overwriting existing files, delete the "basebans.smx" from the
"compiled" folder (if already existing) and hit the compile.exe.

You'll find your freshly compiled modded "basebans.smx" within the
"compiled" folder now!

Last edited by FeuerSturm; 01-28-2020 at 05:21.
FeuerSturm is offline
Dr.Sterbehilfe
Member
Join Date: Sep 2008
Old 05-08-2009 , 15:04   Re: [BaseBans Mod] Limit Permban to Root-Admins
Reply With Quote #2

Thats great !

Thank you for making this
__________________
Dr.Sterbehilfe is offline
kage [69th id]
Junior Member
Join Date: Jun 2009
Old 06-11-2009 , 07:17   Re: [BaseBans Mod] Limit Permban to Root-Admins
Reply With Quote #3

can you please post the finished product(basebans.smx). I tried to compile it but it tells me the compiler is not compatible with a 64 bit operation system. Could you tell me a way around this also?
kage [69th id] is offline
FeuerSturm
AlliedModders Donor
Join Date: Apr 2004
Old 06-11-2009 , 16:26   Re: [BaseBans Mod] Limit Permban to Root-Admins
Reply With Quote #4

I'm using Windows XP Pro x64 and never had a problem with
the compiler.

Anyways, which SM version do you want that for?
FeuerSturm is offline
kage [69th id]
Junior Member
Join Date: Jun 2009
Old 06-16-2009 , 05:38   Re: [BaseBans Mod] Limit Permban to Root-Admins
Reply With Quote #5

I am not entirely sure which version, but i am guessing the newest one since it is the one that gameservers.com automatically installs.

Here is the exact message i get when i try to compile stuff:
"The program or feature"\??\C:\Users\kage\Desktop\scripting\s pcomp.exe" cannot start or run due to incompatability with 64-bit version of Windows. Please contact the software vendor to ask if a 64-bit Windows compatible version is available."
kage [69th id] is offline
kage [69th id]
Junior Member
Join Date: Jun 2009
Old 06-16-2009 , 06:21   Re: [BaseBans Mod] Limit Permban to Root-Admins
Reply With Quote #6

ok i got a working basebans.smx file by copy+pasting the bans.sp file coding into the basebans.sp where it says "#include "basebans/bans.sp" and using the onlime compiler. But i would still like to have a working compiler do you know the issue with the spcomp.exe? it would be greatly appreciated if you could help me.
kage [69th id] is offline
FeuerSturm
AlliedModders Donor
Join Date: Apr 2004
Old 06-17-2009 , 00:46   Re: [BaseBans Mod] Limit Permban to Root-Admins
Reply With Quote #7

Are you using Vista x64, Windows 7 RC x64 or XP x64?

Did you already try it in compatibility mode?
(right-click -> Properties -> Compatibility Tab)
FeuerSturm is offline
NightLinks
Member
Join Date: Nov 2004
Location: Bronx, NY
Old 06-19-2009 , 06:44   Re: [BaseBans Mod] Limit Permban to Root-Admins
Reply With Quote #8

I could have used this a few months ago before i started using sourcebans. I'll keep it in mind if for some reason sourcebans stops working.
__________________
NightLinks is offline
Send a message via AIM to NightLinks
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 07-21-2009 , 18:00   Re: [BaseBans Mod] Limit Permban to Root-Admins
Reply With Quote #9

Thanks a lot man, I made a few changes though and changed the limit from 1 week to 360minutes. ;)
KyleS is offline
Doggie52
Senior Member
Join Date: Jul 2007
Location: Sweden
Old 07-22-2009 , 11:28   Re: [BaseBans Mod] Limit Permban to Root-Admins
Reply With Quote #10

I'm using this, haven't had the chance to really test it - but I'm assuming it works fine. Been looking for this for a long time !
__________________
Quote:
Originally Posted by Iltafragit View Post
4kg ram i5 processor
Doggie52 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 09:00.


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