Update Main.php

I have never used your method of getting the server object, but I know this one works.   If it does not, you may want to check and see if the broadcastMessage function supports TextFormat colors.
Merge pull request #1 from TuffDev/patch-1

Update Main.php