Just had a quick thought of a plugin that could see if players were sending inputs from their keyboard / mouse (such as pressing the insert key or any other key) to determine if someone could be opening / closing a hack menu? might be an interesting way for servers to make sure no one is using common hack software, not sure if it is possible though.
Solved Autobanning people who press a certain key?
Discussion in 'Rust Development' started by redBDGR, Sep 17, 2016.
-
This is a bad idea in lots of ways.
-
It is possible to register every pressed button, and afterwards to do an action.
But i would not cecommend an AUO-Ban for just pressing a single button, as of the fact, that nearly every button can be changed by client config for any usage...or the player uses such for other outer game related things. And every modern hack-tool has an option to change the default activation key.
You would only make your players very angry and force to move the problem to another key... -
Wulf Community Admin
You're only able to listen to the standard inputs (use, forward, etc.) sent to the server anyways, so insert and other specific keys would not work.
-
hmmm yeah i guess auto banning wouldn't be the best thing, maybe something like logging when someone presses the key. I've seen that there was a plugin that allowed you to execute commands on the client side, would it be possible to bind insert to a fairly unused input like map or something and just check if that is being triggered? might offer a little bit of an easier option for getting evidence on suspect players if they haven't changed the button to open their menu.
-
Wulf Community Admin
Yes, that's possible. -
Thinking about that you could easily write a plugin that binds all their keys to functions you create and use the plugin as a key logger lol
-
i only have a small amount of knowledge of C# so i doubt i would
be able to do something like this, but if anyone makes anything of the sort, i would love to know! -
It don't know how I feel about doing something like that, were not the NSA
