Auto Remove Password ( auto_remove_pass )
1 Attachment(s)
Description
* This plugin will execute defined comamnds on server if it's empty for some time. By default it was used as only password remover, but it was extended to handle execution of extra commands (like executing some config) * So if someone got a server for rent and the clan after war forget to execute some basic commands - here you got this plugin. Detailes description Usage: - open file addons\amx\config\amx.cfg (just an example) - add these lines to amx.cfg only if you don't like defaults: arp_checkdelay <delay> arp_checktimes <number of checks> arp_command <string> arp_setpass <string> - save the changes to file amx.cfg :) CVAR explanation arp_checkdelay <X> - delay in seconds (replace <X> with seconds) between each check (default is 60 seconds) arp_checktimes <X> - (replace <X> with number) number of checks before plugin removes password from the server (default is 5 checks) If you leave defaults (you don't add any lines to admin.cfg) then the plugin will remove the password from the server after 5 minutes (60 seconds * 5 = 300 seconds = 5 minutes). arp_command <string> - execute the extra command (replace <string> with commands set without quotes) after the time (after setting/clearing sv_password) arp_setpass <string> - (replace <string> with password set without quotes) set the given sv_password to the string value, set to arp_setpass "" to clear the password arp_bots <X> - the number <X> can be 1 treat bots as real players, the HLTV is also 0 - do not reat bots as real players (default) Example 1 (basic setting pass) Put to amxx.cfg Code:
arp_checkdelay 30 Put to amxx.cfg Code:
arp_checkdelay 30 Put to amxx.cfg Code:
arp_checkdelay 30 Put to amxx.cfg Code:
arp_checkdelay 30 Code:
writeip Originally made by Marach for AMX Mod (it was only clearing password) (c) Copyright 2003 by Marach ([email protected], ICQ: 242122535, AIM: marach24, MSN IM: [email protected]) This file is provided as is (no warranties). version 1.2 by _KaszpiR_ http://nvt.prv.pl |
Re: Auto Remove Password ( auto_remove_pass )
The normal auto remove password on empty server has already been ported by GHW_Chronic here http://forums.alliedmods.net/showthread.php?t=17450 so I would recommend changing the name since you did change the functionality. Auto config on empty server or something similar.
|
Re: Auto Remove Password ( auto_remove_pass )
In some places you need to change amx.cfg to amxx.cfg and please format the code so that it is readable.
|
Re: Auto Remove Password ( auto_remove_pass )
Quote:
|
Re: Auto Remove Password ( auto_remove_pass )
i dont think this works well enough to be approved as well you should read from a cfg rather than a cvar. maybe try again later.
|
All times are GMT -4. The time now is 11:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.