Resting

How do I shorten resting time? I’ve seen many other servers do it. I’ve looked for premade scripts but haven’t really found any that actually shorten the time to rest. Only things like adding a bed, or requiring some time to pass. I only want to shorten the resting time to like a max of 10 seconds. Currently, players are having to wait quite a while, a level 40 char was timed at 30 seconds. That’s not good for an arena server.

You can shorten resting time by editing restduration.2da.

Another possibility would be to cancel the player’s rest and then use ForceRest(), playing the sitting animation, and fading to black for however long you want. If you do this, make sure to use SetCommandable() to make it so the player can’t act during this time.

1 Like

Sweet, thanks! I’ll try that.