adding server side functions to facilitate multiplayer war