Hunger
Makes it essential for players to eat food and drink water.
By Mr. Meow
Modules
Hooks hooks
PLUGIN plugin
Main file of the Hunger plugin, which makes players need food, water and sleep; includes the plugin's server and client files and defines the shared
PlayerHasNeeds hook.Commands
CharResetNeeds command
Registers the admin command
/CharResetNeeds (alias /ResetNeeds) of the Hunger plugin, which resets a non-Combine character's hunger, thirst and stamina to 100 and fatigue to 0.CharSetFatigue command
Registers the admin command
/CharSetFatigue (aliases /SetFatigue, /SetSleep and /CharSetSleep) of the Hunger plugin, which sets the target character's Fatigue character data to the given amount, 100 by default.CharSetHunger command
Registers the admin command
/CharSetHunger (alias /SetHunger) of the Hunger plugin, which sets the target character's Hunger character data to the given amount, 100 by default.CharSetThirst command
Registers the admin command
/CharSetThirst (alias /SetThirst) of the Hunger plugin, which sets the target character's Thirst character data to the given amount, 100 by default.Sleep command
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.