Add sleep options

This commit is contained in:
William Blake Galbreath
2019-11-30 03:32:03 -06:00
parent 584fb7f778
commit 770a249587
2 changed files with 90 additions and 0 deletions

View File

@@ -425,6 +425,21 @@ limit-villager-iron-golem-spawns
* **default**: 5
* **description**: Maximum amount of iron golems villagers can spawn in configured radius
sleep
~~~~~
* only-at-night
- **default:** false
- **description:** Make players only sleep at night. Night times specified below. Rest of the sleep options are ignored if this is false
* night-start
- **default:** 12541
- **description:** The starting time of night (in ticks) when a player can first sleep
* night-end
- **default:** 23458
- **description:** The ending time of night (in ticks) when a player cannot sleep
* invert-condition
- **default:** false
- **description:** Invert the result of the time condition. Time condition is `!(time < start && time > end)`. Inverting it removes the `!`
idle-timeout
~~~~~~~~~~~~
* kick-if-idle