Any way to disable players from activating F1 console? It appears to be client side.
Maybe I can just do "something" if they do press F1 / command? hum..
I know command block doesn't work on noclip.
reason I ask, I was playing around with a new FauxClip plugin that grants players temp admin flag (FauxAdmin) while noclipping only. Works pretty good. just looking for ways to control any other commands. But so far, as players did not log in with admin access, it only seems to give them access to the noclip command and any loaded plugin with a .IsAdmin flag for something. will allow them. hummm..
any thoughts?
Disable F1 toggle for players?
Discussion in 'Rust Development' started by Colon Blow, Apr 25, 2016.
-
Wulf Community Admin
There's no way to handle any client-side commands or hotkeys that aren't sent to the server. Your better option is to just block all admin commands such as kicking, banning, etc. via a plugin using OnRunCommand.
-
one good thing, initial testing shows the 'FauxAdmin' does not have access to any item spawning, or most any server side command.
I'll have to make sure on the kick, banning. -
Wulf Community Admin
-
yes, I'm setting players to IsAdmin for the duration of noclip. Players type /noclip and it flags player, then shortly after it toggles player noclip mode. and player type /noclip again, it then toggles noclip off, then shortly after removes flag. Plus if player logs off or respawns, the flag is removed as well.
it is working fairly well once I realized I had to have a delay between the flag and toggle. And as you said. since players are not logging off and back in, they do not get hardly any powers. pretty much only the Noclip function and a "green" chat name while they are under the "FauxAdmin" flag. and any plugins that use the IsAdmin to authenticate.. (gotta watch that one)
Just trying to figure out a better way to allow players to noclip.
edit: what about player movement? I see there is a Admincheat for player movement. I wonder if that can be set ...hummm.Last edited by a moderator: Apr 25, 2016 -
Make a plugin that whenever a player connects or the plugin loads, it sends a console command to them binding F1 to something random, I guess that should work.
-
Wulf Community Admin
-
-
Wulf Community Admin
-
Yeah, disabling anything client side would probably be bad.. lol
But it seems I shouldn't have to disable anything console related. Every command I tried while under my "FauxClip admin" other than noclip itself (client side command) does not work. But you know players, they find ways. I'll have to have a few test my theory out and see if they can break my server. -
Wulf Community Admin
-
Initial testing I did a quick disconnect from network while players where in Noclip mode. all players then where not flagged as admin when they logged back in. so it looks like the flags are removed as wanted.
and yes, the IsAdmin flag is the only worry. Players are granted access by the IsAdmin in any plugin.I tested that out too.
more mass testing in the works