amx_plmenu_bantimes
by noddy · 2009-02-19 · 5 replies · 4556 views · 17 downloads
From the first post
rn
rnTIA for any help
The thread
All 6 posts from 3 people on amx_plmenu_bantimes, kept as they were written.
Threads: 19
Joined: Oct 2004
I was under the impression that the default ban times of 5 60 and perm could be changed in the amxx.cfg via amx_plmenu_bantimes When I tried this though it did not seem to have any effect. Is this a known fault or am I missing something ?rnrnTIA for any help
Threads: 103
Joined: May 2005
well i dont use that anymore since i use amxbans now.. but before i did i changed the amx_plmenu_bantimes cvar and it worked fine for mennwhat i used: amx_plmenu_bantimes 0 5 10 15 30 45 60 120 180 360 720 1440
Threads: 19
Joined: Oct 2004
Thanks for the quick reply, I have used the amx_plmenu_bantimes myself in the past but a friend asked how to change the times and I informed him to change these cvars in amxx.cfg and it did not work. I tested on my test server and got the same results. rnFrom memory I cannot use amxbans as my host does not allow external connections to the database following some sercurity issues.rnThe default ban times are fine for me but I hate it when things don't work as expected :)
Threads: 19
Joined: Oct 2004
From looking at the dod plmenu.sma and the cs base plmenu.sma I can now see why the amx_plmenu_bantimes does not work for me :)rnrnThe following is not used in the dod version, rnrnregister_srvcmd("amx_plmenu_bantimes", "plmenu_setbantimes");rnrnthe dod version uses case for 0 5 60 minsrnrnit would be nice if this could be changed in the amxx.cfg rather than having to edit the sma and recompile but thats beyond me at the mo.
Threads: 3
Joined: Aug 2007
Here ya go. Copied the code from the Cstrike version and removed the cstrike dependent code (which was just for team name renaming). Works perfect for me!rnrn-
Threads: 19
Joined: Oct 2004
Thanks m8rnalso thanks for post on other forum ;)rnrna friend wanted this but I think that all that can't use amxbans will be greatfull

