- A Spigot or Paper Minecraft server (API version 1.13 or later).
- The FoodSpoilage plugin jar placed in the
plugins/folder and the server restarted. - (Optional) rpk-food-lib-bukkit – provides extended food definitions via RPKit integration.
- Start your server with the plugin installed. FoodSpoilage will generate a default
plugins/FoodSpoilage/config.yml. - Review the configuration file and adjust spoil times and other settings to suit your server. See CONFIG.md for a full reference.
- Reload the configuration without restarting:
/fs reload - Give the food item you want to test to yourself and check its remaining time with
/fs timeleft.
- Hold a food item in your main hand.
- Run
/fs timeleft. - The plugin will display the remaining time before the item spoils.
After editing plugins/FoodSpoilage/config.yml:
/fs reload
| Permission | Description | Default |
|---|---|---|
fs.default |
Allows use of the base /fs command |
Everyone |
fs.help |
Allows use of /fs help |
Everyone |
fs.timeleft |
Allows use of /fs timeleft |
Everyone |
fs.reload |
Allows use of /fs reload |
OP only |