private String[] showList(ArrayList<String> players, Integer pageNum) {
        Iterator<String> it = players.iterator();
        String[] str = new String[players.size()];

        Integer i = Integer.valueOf(0);
        while(it.hasNext()) {
            String play = (String)it.next();
            String playJobList = "";

            Iterator<Map.Entry<String, PlayerJobs>> its = PlayerJobs.getJobsList().entrySet().iterator();
            while(its.hasNext()) {
                Map.Entry<String, PlayerJobs> pair = (Map.Entry)its.next();
                if(PlayerCache.hasJob(play, (String)pair.getKey()))
                    playJobList = playJobList.concat(" " + ChatColor.GOLD + (String)pair.getKey() + ChatColor.GRAY + ",");
            }
            if(playJobList.isEmpty())
                playJobList = _modText.getAdminList("nojobs", PlayerCache.getLang(play)).addVariables("", play, "");
            else {
                playJobList = playJobList.substring(0, playJobList.length() - 1);
                playJobList = playJobList.concat(".");
            }
            str[i.intValue()] = _modText.getAdminList("playerlist", PlayerCache.getLang(play)).addVariables("", play, playJobList);
            i = Integer.valueOf(i.intValue() + 1);
        }
        
        Integer iLength = Integer.valueOf(str.length);
        Integer allowedPages = Integer.valueOf(1);
        Integer page = pageNum;
        while (iLength.intValue() > 10) {
            iLength = Integer.valueOf(iLength.intValue() - 10);
            allowedPages = Integer.valueOf(allowedPages.intValue() + 1);
        }
        
        if (page.intValue() > allowedPages.intValue())
            page = Integer.valueOf(1);

        String[] modStr = new String[iLength.intValue()];
        for (int x = 0; x < modStr.length; x++)
            modStr[x] = str[(10 * (page.intValue() - 1) + x)];

        return str;
    }