Registers the /Sleep command of the Hunger plugin, which knocks the player out for 30 seconds and resets their Fatigue to 0, provided it is at least 30.

Summary

Methods

Puts the player to sleep for 30 seconds and clears their fatigue, if it is at least 30.

Methods

Puts the player to sleep for 30 seconds and clears their fatigue, if it is at least 30.

Parameters

  • player
  • arguments

Defined in