![]() ![]() Change the Admin password to yours, and change the other parameters according to your needs, then save.Ĭreate kf2autokick.sh: mcedit ~/bin/kf2autokick.The VS Saxton Hale Mode, also known as VSH, is an unofficial "Juggernaut" variation of Arena Mode, in which an entire team of mercenaries is pitted against one player in a battle to the death. ![]() This checks the user list every 5 seconds, and kicks if the user doesn’t change to a level 20+ perk within 20 seconds. Please switch perk or you'll be auto-kicked in 20 seconds." "basicAuthorization": "Admin:YOURADMINPASSWORD", Now create the config file for your autokick script: mcedit ~/Config/autokick.json Mcedit ~/Steam/KF2Server/KFGame/Web/ServerAdmin/current_player_row.inc ![]() Now install kf2_autokick: git clone ~/kf2autokickįix the line ending format of the current_player_row.inc file, then open it for editing: dos2unix ~/Steam/KF2Server/KFGame/Web/ServerAdmin/current_player_row.inc Now switch to the steam user: sudo -iu steam %steam ALL=NOPASSWD: /bin/journalctl -system -unit=rvice -follow %steam ALL=NOPASSWD: /bin/systemctl status rvice %steam ALL=NOPASSWD: /bin/systemctl restart rvice %steam ALL=NOPASSWD: /bin/systemctl stop rvice Paste the following: %steam ALL=NOPASSWD: /bin/systemctl start rvice Sudo systemctl enable rviceĬreate a new sudoers file so that the steam user will be able to control the autokick service: sudo mcedit /etc/sudoers.d/kf2autokick-sudo Now also apply the changes, and make autokick start automatically: sudo systemctl daemon-reload Then paste the following (Shift + Insert): ĮxecStart=/bin/node /home/steam/kf2autokick/lib/index.js -config=/home/steam/Config/autokick.json Now create a system service file to run the bot: sudo mcedit /etc/systemd/system/rvice not the steam user): curl -silent -location | sudo bash -Ĭurl -silent -location | sudo tee /etc//yarn.repo ![]() Systemįirst you need to do some administration, so do these as your regular user (i.e. This guide assumes you’ve fully completed the Dedicated Killing Floor 2 Server on Linux tutorial, so everything here will be explained as such. No more level 3 survivalists ruining wave 7. That’s for kiddies, I’m a grown up KF vet with awesome gaming skills, so I have a free pass to HoE!Īnyhow, the good news is, there’s a solution, that won’t even derank your server: kf2_autokick for the rescue! This awesome bot will allow you to automatically kick/ban players based on the minimum perk level requirements you set. They refuse to go suicidal, let alone hard, because that’s just so degrading, you know. While that’s definitely not the case, there’s just no end to arguing with such vets, both on reddit and in game chat.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |