Added Model/JsonPlugin methods: getPlayerResources() and setPlayerResources().