add flag to indicate single player mode

1. skip sending messages for single player mode