The modified Nicotine+ leech detector with banning functionality. Originally posted by the Reddit user jackharrer2 Source: www.reddit.com/r/Soulseek/comments/1533te2/how_to_alter_leech_detector_to_ban_user_instead/jsnalay
Allows you to set share limits for users. If they share less, they will be banned and/or warned. Users who share over a set limit will be added to a friend list. You can set messages that will be sent to users.
The original author expressed no intent in supporting the code; thus, I release it under CC0 and will try to develop the plugin and fix bugs.
- In Nicotine+, go to Settings -> Plugins, press 'Add';
- Clone this repo into the opened folder, or manually copy
__init__.py
andPLUGININFO
from the repo to a new folder inside the opened one; - Check the boxes 'Enable plugins' and 'Autobahn' in Nicotine+ plugins settings menu;
- Select 'Autobahn', press 'Settings' and set the limits and messages.