Added a handler for the create player event