Hello,
i want to add small plugin that will call one of game commands when player connect server and its client command only, but i have no idea how to do it.Any help?
Solved Running client command on connection?
Discussion in 'Rust Development' started by areudeadyet, May 27, 2017.
-
Wulf Community Admin
You can't run most client commands from the server anymore, but take a look at the existing plugins that do/did this such as Automatic Client Commands.
-
i've tried this: Connection Commands , and i want to run command: itemskins 0 to disable skins by default, but they are still on.Any suggestion?
this one also doesnt work: Automatic Client Commands
Edit: so can not run client commands anymore on server join? -
Wulf Community Admin
-
Yeah, got the next answer in console:
Server tried to run command "0" , but we blocked it.
Anyway, thanks for your help @Wulf . -
Howdy, I am just coming back to plugin development, from a year long hiatus! One of my plugins used to do :
Code:rust.RunClientCommand(player, "global.god false");
Wulf -- I looked at your god plugin, and noticed you kept track of which players want to be god, and then nullify the damage to them. Is that the only way to go about this now? As running commands is much simpler
Cheers -
Wulf Community Admin