Added $permissions property to Player so pthreads doesn't crash