plugins
callbacks for player state changes