A Violentmonkey userscript for Killing Floor 2 server that automatically kicks players based on their perk or level. This modification does not affect the server's ranked status.
Originally authored by pedr0, with additional contributions from BEROCHLU.
These instructions are for Violentmonkey but this userscript should also be compatible with other userscript addons such as Tampermonkey.
- Install Violentmonkey for FireFox or Chrome.
- Open Violentmonkey's dashboard ⚙️.
- Open the settings tab.
- Click 'Import from zip' and open
kf2-autokick-2.1.0.zip
.
- Using a file browser, navigation to your Killing Floor 2 server install location.
- Extract
kf2-autokick-2.1.0.zip
somewhere convenient. - Merge the provided
ServerAdmin
folder fromkf2-autokick-2.1.0.zip
withkf2-server\KFGame\Web\ServerAdmin
. - Restart your Killing Floor 2 server.
- Launch your Killing Floor 2 server.
- Open your web browser with the userscript installed.
- Navigate to the webadmin panel (default: http://localhost:8080).
A visible '1' on Violentmonkey's widget indicates the script is running. The script will be active so long as you are logged into the webadmin panel, it does not matter which page you are on.
- Navigate to the webadmin panel (default: http://localhost:8080)
- Open the 'Management Console' tab
- Adjust the level and perk autokick settings as required, the new settings will apply after a few seconds.
Settings are stored per-server so multiple servers can be managed independently.
- Fix issue with kicking players with multibyte chars in their name
- No longer have to keep the 'autokick' page open