changed server side to support various player types and bullet types