Player - Sleep (Effect) — Lusk

Addon: Lusk · Category: Effect · Since: 1.3

Syntax

(forcefully|(try|attempt) to) make %players% sleep at %location%

Description

Attempts to, or forces one or more players to sleep in a bed. Attempting will fail under vanilla conditions in which the player cannot sleep, ex: Daytime, too far away, etc

Examples

try to make player sleep at {_bed} # not forced
forcefully make player sleep at {_bed} # forced

View source