check for player before sending a message
check params for nil