public void debug(final String debug) {
        switch(debug) {
            case "Player":
                System.out.println(cl.getLocal().getName());
                break;

            case "Privilege" :
                cl.setPrivilege();
                break;

            case "Open interface" :
                final int id = Integer.parseInt(JOptionPane.showInputDialog(cl.getApplet(), "Interface ID"));
                cl.openInterface(id);
                break;

            case "NPC" :
                final NPCs npcs = new NPCs(provider);
                for(final NPC npc : npcs.getNpcs()) {
                    System.out.println("NPC " + npc.getId());
                }
                break;

        }
    }