hll_rcon_tool icon indicating copy to clipboard operation
hll_rcon_tool copied to clipboard

Additional punishments for the BAN_TK_ON_CONNECT module

Open timraay opened this issue 3 years ago • 3 comments

Allows server admins to choose different punishments for players that pass the TK threshold at the start of their session. See below file changes, should be pretty self-explanatory.

Particularly useful for server admins that don't want to accidently ban half of the server at the start of an event.

Note that I haven't been able to test these changes yet.

timraay avatar Apr 03 '21 13:04 timraay

I would also have added a toggle in the UI, but I have no experience with JS whatsoever.

Anyway, I've made the requested changes. It should now handle invalid ban durations and default to 0.

timraay avatar Apr 04 '21 09:04 timraay

Please test and merge if it's fine :)

MarechJ avatar Apr 05 '21 12:04 MarechJ

Were you able to test?

MarechJ avatar Apr 24 '21 18:04 MarechJ