Version: 0.2
What is "Diet"?
Diet is a plugin that allows players to gain and lose calories based on the exercise and food they eat. Different types of foods will have different amounts of calories. If a player is over or has too much calories, their movement will slow down. If the player can keep a good balance(Calorie Count + Exercise) then the player will obtain a normal movement speed and hunger level. Eating less and just exercising will cause hunger to decrease faster and more heavily than normal.
Customize Diet's Permission Deny Message
In your "plugins" folder, after starting up Diet, you will see "DietPermissionsDeny.txt". Inside that, you will see a message that says "You do not have permission for that!". You can change that to a custom permissions deny message.
Customize Diet's Movement/Exercise Steps
In your "plugins" folder, after starting up Diet, you will see "DietBurnSteps.txt". Inside that, you will see the default number which represents how many steps it will take to burn 100 calories. There, you can set it to any numeric value.
| Command | Permission Node | Description | |
|---|---|---|---|
| /Diet | None | Diet's Command Menu | |
| /Diet Check | Diet.check | Check your current calorie count | |
| /Diet Get | Diet.get | Check calorie count for food in hand | |
| /Diet Search <Food> | Diet.search | Search calorie count for food |
Developers may also use Diet in their own plugins.
Using methods such as Diet.addCalories, Diet.addPlayer, and much more!
This is in Beta, some current foods are not on the Foods list. Most of them will be added during later development.
v0.2