Make each player a selectable race and give the mod to all 4 players, forbid anyone from using the other's guy's race. Each race can have different resource gain or whatever you want.
Copy the PlayerX.entity file you want, make it reference a couple new things as far as gain of resources goes, add a string for the player's name or whatever.
You'll be locked to one race unless you will want to do a lot of modding, though