Possible to block noclip and god client commands?Solved
it is possible to disable NOCLIP, god commands through this plugin
No, those are both client-side settings/commands that are not sent to the server.
In response to Wulf ():
No, those are both client-side settings/commands that are not sent to the server.
You are not correct, godmode is server-side command too (toggle)
In response to Orange ():
You are not correct, godmode is server-side command too (toggle)
It wasn’t before, so unless that changed... The native one was a client only command for years via ‘god true/false’; there is no native ‘godmode’ command, that is from a plugin.

From Rust:
[ClientVar(ClientInfo=true, Saved=true, Help="If you're an admin this will enable god mode")]
public static bool god;​
Still client-only, not server-side and not sent to the server. You can check if the player has godmode via GetBool or BasePlayer.IsImmortal, but there is no way to block it as they enter the setting as it is not a command sent to the server.
so that there is no chance to ban these commands?
In response to jaman ():
so that there is no chance to ban these commands?
Not the command exactly, and not sanely that I am aware of, but waiting to see if @Orange has some unknown method. The only way I can see is what I mentioned above, which isn’t really blocking the command, it’d just be forcing the user to not be immortal every server tick or similar amount of time.
ok thx mans
Locked automatically