Added plug-in versioning; Added initialization of array on player join; Fixed possible counting error