Diet
Diet
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.
Permission Nodes and Commands
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
Developers may also use Diet in their own plugins.
Using methods such as Diet.addCalories, Diet.addPlayer, and much more!
Please Note
This is in Beta, some current foods are not on the Foods list. Most of them will be added during later development.
Things I want to add eventually
- Obtain Proteins, Carbs, Sugars, and Fats with certain foods
- Change appearance based on body structure(Skinny,Fat) and Build (Thin, Buff)
Changelog
v0.2
- Configurable Steps to burn calories
- Food level doesn't decrease if player's food level is below "1"(For Burning Calories)
- Burning Calories(Exercising) is not effective IF a player is flying.
- _If_ player maintains calorie count between 1000 - 2000, the player will move 5 % faster than normal.
You should update It to craft bukkit 1.5.2 My boys In the server would love this.
So cute.
Because I like the idea of the character model varying. Depending on if you fill yourself constantly with cake or if you spend much of your time starving and eating nothing but carrots and melon.
It would make an amazing role-playing aspect, and would add much needed depth on a role-playing server.
Is this plugin still under-development?
@TheFlannelBeard
I just updated the changelog, its only a matter of time before the File is approved and ready to be downloaded!
@emericask8ur
Awesome!! Thats exactly what we need, and im sure others could make use of it. Great work!!
@TheFlannelBeard
At first while testing it, I acted as if I was a normal player just walking and running around the world. It takes currently 1920 steps to burn those 100 calories, I will set it so that you can configure it and it will deactivate if a player is flying.
@emericask8ur
Thanks! Sorry to have spammed you, it was really early in the morning and I just needed to get it out as I was testing. But yes, ops and admins have difficulty flying with no bypass method to ignore the plugin. And it seemed like you burned calories REALLY fast. It almost didnt seem fair. At least, thats how most of us on the server felt. Maybe you can add a config for it somehow, to add timing to it. Your call, just friendly tips for an innovative plugin! I DO think being rewarded for eating different foods to maintain calories is a good add.
@TheFlannelBeard
It will be added for sure!
yeah, definitely add a bypass method, im OP and when i try to fly it gives me difficulty. xD
Seems like you burn calories fast, too. can you maybe half that time? I dont want to punish players with this plugin :P
Add the foods in, and then add a diet.bypass for donators and ops. it may default for ops, but just in case.
I like the "You burned -# calories" thing, but say "eat some food to remain health" so players can know.
Also, for maintaining a good diet, you should reward them with Speed somtimes! or miningspeed. thatd be cool!
Remember...players are stupid. I hate to say it, but they dont think like us adults do. Add in that little reminder, and this plugin will be GREAT! Ill keep it on even if its new :]
great idea and great start, i'll be back to see how this improves
@ShovelCraft
Thanks!
Hey well done nice idea, don't stop to create plugins for mc