Re: ADCH++ Guard for adc commands flooding and limit rules
Posted: 12 Feb 2011, 11:32
rev: 1.0.22
Changelog:
Added a +guardabout command to view version and scripts memory use
Added a set of tables that allows entity (users) loging, it asigns a unique id to a user based on his CID/IP and then monitors for changes, keeps @ this moment number of logins, first join, last join, changes in Nick, IP or CID, and tables can be searched by either ID, CID, IP and Nick. These tables will be used for future functionality like time online etc. To enable the loging use +cfgfl fl_entitylog , the database is selfcleaning and keeps records based on the fl_logexptime setting.
Added a li_minlevel setting that lets you specify the level from where the limit rules should affect the users, practical example, you run a hub where all can enter but only regged can dl, then you can set your mindownloadlevel and li_minlevel both to 1 with final result that only those who can download will be affected by the sharing rules. Also finalised the possibilety to instead of dropping those users redirect them to the address specified in the li_redirect setting. The above only effects the sharing rules like min/max share, min/max slots etc.
Pulled most of the "explenation" out of the lua's header and putted it in the HowTo help file
Have fun
Changelog:
Added a +guardabout command to view version and scripts memory use
Added a set of tables that allows entity (users) loging, it asigns a unique id to a user based on his CID/IP and then monitors for changes, keeps @ this moment number of logins, first join, last join, changes in Nick, IP or CID, and tables can be searched by either ID, CID, IP and Nick. These tables will be used for future functionality like time online etc. To enable the loging use +cfgfl fl_entitylog , the database is selfcleaning and keeps records based on the fl_logexptime setting.
Added a li_minlevel setting that lets you specify the level from where the limit rules should affect the users, practical example, you run a hub where all can enter but only regged can dl, then you can set your mindownloadlevel and li_minlevel both to 1 with final result that only those who can download will be affected by the sharing rules. Also finalised the possibilety to instead of dropping those users redirect them to the address specified in the li_redirect setting. The above only effects the sharing rules like min/max share, min/max slots etc.
Pulled most of the "explenation" out of the lua's header and putted it in the HowTo help file
Have fun