Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin

amx_plmenu_bantimes

by noddy · 2009-02-19 · 5 replies · 4556 views · 17 downloads

Read the thread (6 posts)

From the first post

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 ?
rn
rnTIA for any help

Added later in the thread

plmenu.sma Plugin Source 21 KB 17 dl Download Compile

The thread

All 6 posts from 3 people on amx_plmenu_bantimes, kept as they were written.

N noddy
started this thread
Posts: 250
Threads: 19
Joined: Oct 2004
02-19-2009, 05:37 PM #1

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

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
02-19-2009, 07:16 PM #2

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

N noddy
started this thread
Posts: 250
Threads: 19
Joined: Oct 2004
02-20-2009, 06:34 AM #3

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 :)

N noddy
started this thread
Posts: 250
Threads: 19
Joined: Oct 2004
02-24-2009, 10:38 PM #4

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.

F Fysiks
posted here
Posts: 108
Threads: 3
Joined: Aug 2007
03-04-2009, 07:35 AM #5

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-

N noddy
started this thread
Posts: 250
Threads: 19
Joined: Oct 2004
03-04-2009, 04:19 PM #6

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

DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC