Messworld Server Code (Hercules v2020.07.26 with minor edits; Please avoid breaking changes so it can be rebased)