I've gotten a lot better since I coded this, and although there wasn't much wrong with the code because it is such a simple plugin. I did find a lot of redundant code, and random mistakes I made, and I fixed them. I also changed a few lines of code up.
Please join my discord if you want to report any bugs from any of my plugins, or have any suggestions.
I've added a test version of custom food items. This update adds the command /NoHunger, or /nh, which gives you a "special cookie." This cookie gives u max hunger.
This is a test version, so there is only one (non-customizable) custom food item. If you don't want this item, this update is not necessary.
To anyone who has downloaded the plugin, thank you. I have been told that the plugin is 1.2mb and I realized that I forgot to remove something in my project structure.