there is simply so much you can do with the coffee. just make an enormous pot and imbibe it in different ways depending on your mood at the time: sometimes hot, sometimes iced, sometimes with cream, sometimes with coconut flavoring, sometimes with spices, etc. it is by far the most efficient way to power through an all-nighter because if you get tired of it you can mix it easily with different things.
*(if u are actually in a position where you have more than 16 hours of mandatory labor per day, it is still much better to just consistently wake up at, like, 4 or 5am than it is to make a habit of doing all-nighters. the physiological cost is so rarely worth it)