-
Notifications
You must be signed in to change notification settings - Fork 39
Chat Commands
Nutrition supports chat commands for editing player's nutrition live on the server. Each command begins with /nutrition
, and then a subcommand (eg. set or get).
Return the value of the specified nutrient.
/nutrition get <player> <nutrient>
Set the value of the specified nutrient.
/nutrition set <player> <nutrient> <value>
Add the value to the specified nutrient.
/nutrition add <player> <nutrient> <value>
Subtract the value from the specified nutrient.
/nutrition subtract <player> <nutrient> <value>
Reset the value of just one, or all nutrients to their starting value. Note: <nutrient>
is an optional field.
/nutrition reset <player> <nutrient>
Reload nutrients and effects. Functional in singleplayer but requires a client restart in multiplayer.
/nutrition reload
Notes:
-
@p
or other selectors are accepted for player names. - Tab completion is available in-game.
- Values must be a valid number from 0 to 100. Decimal points are supported.
- OP permissions (level 2) are required for any chat command.