Binding god command to key?

Hi,

Is it possible to add the possibility to create a bind please?
The <bind o chat.say "/god"> does not work after restart.
The <bind o god> either.

Thx

Have you granted yourself the correct permissions? Those binds work.
I am an ADMIN with all the necessary authorizations yes.
But the bind with a "/" doesn't work after restart of the server.
Same thing for chat.say "/god".

And unfortunately the bind o god option doesn't seem to work either.
@RyanFromRust , Hi,
I just tested with a manual assignment
oxide.grant user <steamid64> godmode.toggle

Then I typed into the console
bind o god

It doesn't work.
The console god is different from the Wulf God mod's /god. Try both binds again.

The console god command will check if you're listed in the user.cfg file. Ur steam ID is in there?

Are you granting perms in the console or RustAdmin?

Check your user.cfg, if you can't console god or grant permissions, something is up.

Updating the user.cfg requires a restart to take effect.
bind o godmode would work if you rename the command.

bind o "\"chat.say /god\"" would also work.

Thank you for your answers.

I am well rated ADMIN in the user.cfg
I have all the permissions of the godmode plugin.

Unfortunately I don't get the result of the /god and/or /godmode command typed in the chat using a bind.

I have tried:
bind o god
bind o godmode
bind o "\"chat.say /god\""
bind o "chat.say /godmode\""

The only one that works is:
bind o chat.say "/god"

But after quitting RUST completely, this command gives <"/godmode> in the chat instead of the correct command.

Despite the server.writecfg

The last result you showed would only be possible with the erroneous example you gave above with the "godmode" command, where it doesn't have the proper closing tags.
I'm sorry, but I'm not getting the expected result.
I've tried really hard to write the order.
Either I get nothing in the chat, or I get the plugin message, but after quitting RUST, the command doesn't work anymore.

6woSTxY.png

Have you tested?
If you're able to give me the right order I'd be delighted.
Any command with spaces would be removed when the client restarts, hence the escaped quotation marks.

bind o "\"chat.say /god\""
Sorry Wulf but the command you propose doesn't work with this plugin.
Try chat.add instead of say.

bind o "\"chat.add /god\""

Tested and it doesn't work either.
No reaction of the plugin with the "o" key after this command. 

 



Merged post

There's something I don't understand.

For the Vanish plugin, for example.
You have to type /vanish in the chat to activate/deactivate it.
But by doing a bind i vanish it works and the command is saved after a new launch of RUST.
Same for bind x remove.
Why isn't the bind o god or bind o godmode control working?
Using "bind o god" will not work as this plugin doesn't provide a console command named "god"; Vanish provides "vanish" as a console command. As I mentioned previously, if you want to use a console command, you'd need to rename the "god" console command to "godmode" to avoid conflicting with Rust's native "god" client-side setting.