mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-17 16:37:43 +01:00
Add sleep options
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user