I don't know if this could be done, but basically I want a plugin like the hunger one (Gastronomic), except with sleep. This would cause the inns in the towns to make some money. After 24 (ingame) hours you feel tired and start walking a bit slower After 48 (ingame) hours you walk as slow as crouching, or even better forced to be stuck in crouching mode, so people could even see you're tired. After 72 (ingame) hours you begin losing health until you die in a few minutes. Laying down on a bed, even for a split second will count as sleep, as I don't want to force people into waiting 5 minutes for it to become day again. Can this be done? Could anyone at least state if this is even possible? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I think the 48 and 72 hours are possible, not sure about the 24 hours thing. Think the problem is that you can only sleep at night.
That's why I thought of giving people 3 nights to find a bed. Basically after every day/night cycle the person moves slower, unless he sleeps. If he doesn't sleep for 3 day/night cycles he dies.