2 posts · 3,522 views
Thread Rating: ★★★★★
| closed[Request] AMX_BAN2 "Update" |
| Started by Dumbass on 01-06-2009, 10:53 AM |
D
Dumbass
Threads: 2
Joined: Dec 2008
started this thread
Posts: 10Threads: 2
Joined: Dec 2008
01-06-2009, 10:53 AM
#1
Hi, can someone update this AMX_BAN2 ( https://forums.alliedmods.net/showthread.php?t=16267 ) ?rnThis plugin is very usefull but was made on 2005 and i cant get it work on amx 1.8.1rnCan someone make necessary changes or maybe remake a new plugin with the same functions?rnrnTHX
D
Dumbass
Threads: 2
Joined: Dec 2008
started this thread
Posts: 10Threads: 2
Joined: Dec 2008
01-06-2009, 10:58 AM
#2
"AMXX BAN Replacement v 1.0rnrnThe ban code itself was created by the AMXX Dev Team. This is just used as a replacement for the normal ban, so an admin can impose a limit on bans from certain users.rnrnI made the modification at the request of an admin friend who's server admins tend to make bans permanent without thinking about it first. This will prevent that from happening, by restricting the max length to whatever the admin sets amx_ban_temp cvar to. rnrnThis should be placed above your admincmd.amxx in your plugins.ini file. rnrnYou can change the access level for the temp ban, by modifying the define low_ban line.rnrnIt's currently set to ADMIN_LEVEL_ErnrnA user who has both NORMAL_BAN and LOW_BAN will have it default to NORMAL_BAN which means they can ban a user to any amount of time. A user with access only to LOW_BAN cannot.rnrnThe amx_ban_temp cvar is set to 1440 or 24 hours by default.rn
Again there are two defined here:rnrn#define NORMAL_BAN ADMIN_BANrn#define LOW_BAN ADMIN_LEVEL_ErnrnSo modify the LOW_BAN level to whatever admin level you like."rnrnhttps://forums.alliedmods.net/showthread.php?t=16267rnrnSorry double post (cant find "edit" tool)rnrnThx

