Naturalisation needs five years in a row, or ten in total, living in Indonesia when you apply. You will need a permanent stay permit (KITAP) by then.