FoodBalance
About
FoodBalance is a plugin which forces players to eat balanced. The plugin differences food in 4 categories: Hydration, Carbohydrates, Proteins and Vitamins. A description of all of those will be listed down here:
Category | Description |
---|---|
Hydration | Keep drinking! Beside the famous food-bar, there will a virtual hydration-bar. Keep hydrated by drinking milk, potions or mushroom stew to prevent getting low and dizzy. |
Carbohydrates | A needed energy source, but keep it moderate. Too much will freak yourself out and give you extreme hunger and too little will lack yourself some much needed energy. |
Proteins | Proteins keep yourself strong. Too much is never good, but too little will weaken you to death. |
Vitamins | Keep yourself healthy and fit eating vitamins. Too little will cause diseases, whilst too much will cause extreme poisoning. |
The goal is to keep the the carbo/proteins/vitamins at the same level. Too much/many will freak you out with different kinds of potion-effects. In this way, this plugin forces you to not stick with only one food source (e.g. cooked steaks).
How To Install
- Download the version of FoodBalance you'd like to have on your server
- Place the .jar in the plugins folder
- You're now ready to go!
Commands/Features
Feature | Description |
---|---|
Auto-Balance | Keeps automaticly track of eaten food, and will cause diseases if you aren't healthy enough. |
Hydration-system | New factor: Hydration. |
API | Hook your food-plugin onto FoodBalance. |
Death messages | New death messages when died from unbalanced eating behaviour. |
MySQL support | Save your data in a MySQL database. (BETA) |
Custom messages | Possibility to change the messages which show up (colour support). |
/health | Show your current health-status. Aliases: /food, /fbstats. |
/foodbalance | Shows the about-screen of FoodBalance. Aliases: /fb, /foodb, /fbalance. |
/fb reset <player> | Resets the stats of a player. (admin: foodbalance permission required) |
/fb reload | Reloads the config.yml. (admin: foodbalance permission required) |
Update Checker
This plugin utilizes Gravity's update checker to notify when a new version of FoodBalance is out, it will not automaticly download the new version. It also notifies the admins (with the foodbalance permission) that a new version comes out. This can be enabled/disabled in the config.yml. To disable update-checking, set updates.check-for-updates to false. To disable admin notifying, set updates.notify-admin to false.
Bugs
Found a bug? Please leave a ticket and help improving the project :)
Upcoming Features
Do you have any ideas? Let them know in the comment section down below.
Do you want to be always up to date to the latest developments? Do you want to ask me anything? Follow me on Twitter @CaneyDearie!
Donations
If my months of work have made your day so vigorous that you want to give something in return, you can hit the donate button in the menu bar to show me your love <3
Contact
If you'd like to say/notice/talk or whatever to me, you can always send a PM, mail me to [email protected] or tweet me @CaneyDearie . This can be good stuff, bad stuff or just silly talk (I'm always in for it). My mind supports English and Dutch. If you'd like to talk German or French it can... But I can't express myself that good in those two languages and I'll probably switch over to English.
Other Plugins
Other plugins made by me:
- CrystalQuest, epic PvP minigame where all's about bling! >> Check >>>
- DirtyArrows, over 40 bow abilities! >> Check >>>
- SweetPvP, easy PvP-arena management! >> Check >>>
-SugarCaney
@RafaAro
If you'd like to..
You didn't get the working of this plugin right. It is about balancing, not about depleting. In the new update, all players will start with 1 point each. But that will take a while, got some more urgent things to do at the moment.
If you want I can help you for the Spanish translations I would surely help you.
Also can you please set that when a player first join my server they spawn with full stats, cause its very annoiyng that when they first join my server in few minutes they are complaining about wtf happened to them and I have to go to them and give them specially water. Also would be nice if when a player dies the stats reset to the top so they won´t die so fast.
Thanks.
@WauloK
Nice one! Will be on the to-do-list :)
Nice plugin. Would be cool if this could be world-specific so I could have an RPG world use this :)
@RafaAro
Config will come definately, but spanish... ouch... But not highest priority for me at the moment.
can you please add config? And options to put the language in spanish?
I'm back from holidays! I have a to-do-list made for me and I will do this stuff in order.
Don't be upset if you're rolling 1.6.2, the 1.5.2 builds will work fine on 1.6.2 thanks to our fantastic bukkit-team! Questions/Comments can be made in the commends or via PM.
-MrSugarCaney
Can you update to 1.6.2?
Pleasee
Thanks for your feedback :)
The plugin is not about depleting stuff, but about balancing out, so the config will only suport custom food amount stuff. I got some terrible problems with the start (start from 9 foodpoints) and the end (less sensitive, more food eaten means more stable) although. If you have suggestions, please :)
Still on holidays and will last till end of july. Got some nifty ideas alreadeor v2.0 I will meet you on skype after my holidays!
Thanks for your understanding and take care, from my ereader!
@Undust4able
Honest feedback, I agree with him. You should spawn with SOME stats and we should be able to edit how slow or fast and stats drain.
Make config. Right now. About how fast each type of vitamines drain. And.. Remove 's and credits. It really waste gameplay experience for me. When I type /health, I must get just bars. If safe zone is 10-60, but you spawns with 0, wtf please? You must rebalance the plugin. It is awesome, but still need to be recoded. I can help you. Add me on Skype: t2_user, and we will talk. I will help you. Player must spawn with 50. If you think that it must be 0, add negative percents. So, if 0, it will look something like this - &f[&8
--|&a====&8--&f] &fProteins &f(40%) - Proteins, good balance. &f[&8--&c====&8|&8--&f] &fProteins (-40%). But this way is a little bit stupid. Players must spawn with half of full, ex. Hydration, aisb. And make a config.What about raw food? And the relog glitch was found on my server and everyone's abusing it.
Lol, sorry for posting so much. xD
@Jarrett78
/reset player
@MrSugarCaney
Okay. I see now. I'm going to have a bit of trouble explaining that to my young players. xD
Any command to set the stats at exactly what they need to be? :D
@Jarrett78
Glucose is a carbohydrate ;)
Check details-page. If you're between 10%-65% you're safe. A little math-example. If you eat 1 apple and 3 raw beef, you'll get 2 vitamin points and 1 carbohydrate point (glucose), the three types of beef will give you 3 x 2 = 6 protein-points, which will get you on a total of 6 + 2 + 1 = 9 points. Percentage proteins = (6/9) * 100% = 67% which means you ate too much of it. got it? ;) :P That's how the balance works. Every time you eat a new kind of food, the total gets changed and so do the categories...
And if you simply don't pay attention to your eating behaviour, you're pretty much screwed. Once you did something wrong in RL it's hard to recover from it... Fight a zombie or so, but the best thing will be preventing yourself from...
And you still got your reset command :P - Just like a golden apple/carrot. Total of points gets reset to 0 (and hydration to 915, max)
@MrSugarCaney
I edited my comment below. And why was Glucose removed?
And how do we tell if we have too much of a type if it just keeps balancing itself out on the stats? And what if a player is full but one of their stats is low?
@Jarrett78
Hydration, I have to look after at some time.
It is called FoodBalance, so you have to keep all stats around 33% ;) (one third)
@MrSugarCaney
My players get dehydrated within 2 minutes of drinking something. And they are all confused about the stats, as am I. They never go to 100%?
See, I thought they filled your stats, as in made them at 100%. Not reset them to 0. And I was asking for a command that set them to 100% but now I see what's going on and how this works. I feel dumb.
@Jarrett78
all stats to 0 means your balanced out again. hydration is 10 minutes. should be fine I guess? But I could make a config-thingy.
@MrSugarCaney
Last thing, please nerf the hydration? They get dehydrated so quickly...
And you say the apples fill them all but when I eat one it sets all my stats to 0...