public boolean setPlayerGroup(String world, String playerName, String group){
		if(world == null || playerName == null || group == null){
			return false;
		}
		if(!xm.getXworld().isWorld(world) || !xm.playerExists(playerName) || !xm.getXgroup().isGroup(group)){
			return false;
		}
		
		xm.getUsers().get().set("users." + playerName + "." + world, group);
		xm.getUsers().save();
		try{
			xm.getXpermissions().setPermissions(xm.getServer().getPlayer(playerName), group);
		} catch(NullPointerException e){
			// Player is offline, do nothing
		}
		
		return true;
	}