Add 'on_prejoinplayer' callback