Making it work for Offline Players

- Plugin now working with offline Players
- Formatting and cleanup