MP Server admin commands via console

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
dinodod
Long Handed Inserter
Long Handed Inserter
Posts: 84
Joined: Tue Mar 10, 2015 10:42 pm
Contact:

MP Server admin commands via console

Post by dinodod »

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!
Post Reply

Return to “Technical Help”