Code Monkey home page Code Monkey logo

kf2-autokick-level-and-perk's Introduction

Feature

  • You are able to auto-kick level or perk without mutator as Ranked Server.
  • I'm not original creator, I fixed a issue and improved, add perk-kick features.

Original script is here. (not available)
https://forums.tripwireinteractive.com/forum/killing-floor-2/killing-floor-2-modifications/general-modding-discussion-ad/beta-mod-releases/115511-webadmin-auto-kick-players-by-perk-level

Install

  1. Install Chrome* or FireFox. *Recommend Chrome
  2. Install browser addon Violentmonkey.
  3. Download latest release zip file.
  4. Import the zip file from Violentmonkey setting.
  5. Extract the zip file.
  6. Backup and OverWrite 3 files:
    location: <KF2Server>\KFGame\Web\ServerAdmin
    • console.html
    • current_players.html
    • current_players_row.inc

Run

  1. Launch KF2 Server.bat
  2. Open brower FireFox or Chrome.
  3. Move to WebAdmin. (default: http://localhost:8080)

Settings

kf2guide1 Click MANAGEMENT CONSOLE in WebAdmin.

  • ALLOW MINIMUM PERK LEVEL
    A player below this level will be kicked.

  • ALLOW MAXIMUM PERK LEVEL
    A player above this level will be kicked.

  • KICK PERK
    Checked perks will be kicked.

  • ALLOW ALL PERKS FROM LAST WAVE UNTIL THE BOSS WAVE
    If checked Enable, all perks are allowed between last wave and boss wave. (default: unchecked) But keep level-kick. When players reach last wave, following message will be announced:
    Allowed All Perks from last wave until the Boss wave.

These settings will take effect in a few seconds after being changed.

Confirm working

It dose works if you see a number 1 with Violentmonkey icon.
monkey

Keep open browser to work auto-kick script. If you close the browser, the script will not work.

Q&A

All players name are shown as anonymous in PLAYERS page

kf2guide2 It is not a bug but a feature. All players name are shown as anonymous because to avoid a bug which would not work by GO button. This is not my script bug. This is a known bug caused by the KF2 server not assuming player name whose multibyte-characters. That is why this is not my script bug.

Does it run with Tampermonkey too?

Yes, if your server under heavy load, Tampermonkey could be better.

Can I do individual auto-kick setting for multiple server?

Yes, the setting is independent per url and is stored individually.

What is a fixed issue and improved

I fixed and improved things are following:

  • Previous auto-kick script could't kick specific player whose name is multi byte character. (e.g. Japanese, Chinese, Korea)
  • No need to keep open AUTO-KICK page to enable auto-kick script. This script is valid each page in WebAdmin.

kf2-autokick-level-and-perk's People

Contributors

berochlu avatar

Stargazers

 avatar  avatar  avatar  avatar

kf2-autokick-level-and-perk's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.