Add unit test and change PlayerListener registration in MoneyPlugin