Sorry for the wait, unfortunately I was at college when all of this developed and I cannot access scripts from there, I was able to from there however delete all of the false bans and fix the admins accounts.
Within minutes of this post the server should be back online with the bug patched.