MP Server admin commands via console
Posted: Tue Nov 22, 2016 7:27 pm
I'm trying to find some updated / current documentation on how to manage a server via console commands.
Some things I'm trying to do is:
Teleport any player
Remove items from players inventory
disable tech (i.e. grenades)
So far all the documentation I found doesn't help.
/c game.get_player('YOUR_PLAYER_NAME')
/c game.get_player('YOUR_PLAYER_NAME').teleport({-400, 200})
/c game.player.force.technologies['military 2'].researched=false
Any ideas on how to do these things?
Thanks!
Some things I'm trying to do is:
Teleport any player
Remove items from players inventory
disable tech (i.e. grenades)
So far all the documentation I found doesn't help.
/c game.get_player('YOUR_PLAYER_NAME')
/c game.get_player('YOUR_PLAYER_NAME').teleport({-400, 200})
/c game.player.force.technologies['military 2'].researched=false
Any ideas on how to do these things?
Thanks!