This is first pass at a simple plugin that will make the player hungry when they build/break in the world.
Config allows for 10 actions before removing 1 hunger, but can be modified as needed. Every 5 seconds, the number of committed actions drops by 1, so taking a break prevents you getting hungry.
Created because I demolished an entire hill by hand and didn't lose any hunger points.
Todo:
Change hunger points based on how hard the item is to destroy (sand is easier than obsidian)
Change hunger points based on if the correct tool for the job is being used
Feel free to fork it - I may or may not issue updates