This small change makes that account creation happens later than the previous version because of anti bot plugins. This change is made because i had reports of this plugin crashing servers when they were bot attacked. So now it should not make any account unless the "player entity" is fully logged in.
Please let me know if this version breaks your server. I've tested it carefully but it worked fine for me.