I'd like to write a plugin that adjusts the speed that night progresses depending on the number of players sleeping. I've done most of the code for this, but I've run into a small road block. The vanilla time-change mechanics are still in-tact, and I haven't found a way to prevent it. I was wondering if anyone has found a non NMS or packet altering method of preventing sleeping from changing the time while still allowing the player to remain in bed. It doesn't appear there is any simple API-provided way to do so, but I figured some of the more cunning developers may have found some trick of scheduling and loopholes to achieve this effect.