want to try the new feature to get flow statistic of forces.
used command:
Code: Select all
/c game.players[1].print(game.forces['MyForce'].entity_build_count_statistics.get_input_count('transport-belt'));
Code: Select all
/c game.players[1].print(game.forces['MyForce'].entity_build_count_statistics.get_input_count('transport-belt'));
Code: Select all
/c game.players[1].print(game.forces['Mega Force'].entity_build_count_statistics.get_input_count('transport-belt'));
Code: Select all
/c game.players.print(game.player.force.entity_build_count_statistics.get_input_count('transport-belt'))
I'm not sure what you're talking about. game.player is you in the game. You can also use the 3 state "allow commands" and set it up so admins can run commands but nobody else on the server.KaleR wrote:thank you
I will look at it when 0.13.1 is released
game.player xD I know, but as mentioned in my earlier post, I run a small server with several friends so game.player is not an option
Will there be a possibility to add code only to the server and not to the clients? like a statistic mod or somethin else? Because it doesn't make sense, that every clint will generate some output files with stuff which will only be needed by the server.
Regards,
KaleR