PassiveHunger is a Minecraft plugin that deducts saturation/food points of players over time regardless of activity level.
- Players lose food points over time
- Saturation is subtracted before hunger
- Rate of hunger can be set by those who have permission to do so
- Download
/build/libs/PassiveHunger-v1.0.jar - Place the
.jarfile into thepluginsfolder of your Minecraft server - Restart the server to enable the plugin
| Command | Usage | Description |
|---|---|---|
/setpassivehungerinterval |
<seconds> |
Sets the rate of passive food decay on the server |
/setnamecolor 420→ Sets the rate of passive food decay to 1 food point every 7 minutes (420 seconds)
| Permission | Description | Default |
|---|---|---|
passiveHunger.set |
Allows the player to set other players name color | op |
The plugin saves player colors in playerColors.yml located in the plugin's data folder. This file is automatically managed by the plugin.
- Requires Minecraft
1.21+(API version1.21) - Uses Adventure API for text formatting
PassiveHunger.java- Manages the plugin lifecycle and passive hunger runnableSetPassiveHungerIntervalCommand.java- Handles the/setpassivehungerintervalcommandSetPassiveHungerIntervalTabCompleter.java- Handles tab completion for the/setpassivehungerintervalcommand
- Clone the repository
- Build using
./gradlew build - Place the compiled
.jarinto your server'spluginsfolder
This plugin is provided as open-source. Feel free to modify and use it according to your needs.
Enjoy starving! 🍔