Console command for godmode toggle?Solved
I'd like to bind it to a key, as getting a cursor and clicking the button is very awkward.

I know I can bind the seperate godmode on and off commands but is there a way to just use whatever happens when I click the button on this admin panel (I like the way it toggles and I can visually see which mode I am in).

Like a 'bind g godmode.toggle'
This plugin doesn’t provide the commands for the plugins it works with. The Godmode plugin already provides console commands and you can use console commands from Oxide for permission handling as well. Please see the Godmode plugin page for command info and our Docs for permissions info.
I tried the godmode plugin keybind and the command just does this ....

U5AFK71.png
god is a client side setting native to Rust. You can rename the command in the plugin to avoid a conflict if you’d like.

I tried the alternative command from your godmode plugin (godmode) and you can see just typing it in the console toggles godmode successfully but then I bind it to a key and when I use it that way I get this error ...

nPP3WlK.png

Try: bind mouse3 "godmode"
Still no good.  And no feedback in console using that keybind.  And just to make sure it didn't "work" without telling me it worked I went and took damage from an NPC, clicked the keybind again, still took damage, and again, etc.
Looks like Rust tacks on that boolean for each keypress... so, to get around that, you'll have to use it like this instead for now:

bind mouse3 "chat.say \"/god\""

Something else to try:

bind mouse3 "godmode \" \""/
Locked automatically