Any ideas on the best way to put an empty server into sleep in a way it uses virtually no CPU ever until someone connects?
[But will still allow typing in the terminal if needed?]
A thought I had to was to put the sockets into blocking mode if no players, so it just waits. But that will prevent typing in the console/terminal ...