Rpg Food
MAJOR NEWS
I have decided that we are going to be merging all of the RPG style plugins into a single plugin, Servers that want to only use a few features from them will still be able to do so through our config files. The RpgAPI page we have will be the one the plugin gets released on. It is taking a bit longer than expected to get them all updated but we are trying to make them as configurable as possible so every server can use them exactly how they want to.
RPG Food!
Rpg food is a complete eating system replacement with the ability to have an unlimited number of food types!
Features:
- No hunger loss
- no healing from "full hunger"
- when eating food you have defined your hunger bar works as a "cast bar" to show you how much longer your feed needs to be fully eatten
- food is lost as soon as players start eating
- health gain is lost when a player moves, making them "sit" and eat.
- food items are saved by custom name not item id so you can have as many different items as you want! (even non traditional food items if you want your players to eat stone :) )
- set a different health amount for each food item!
- set a different time needed to eat for each food item!
- with no exhaustion levels players can keep sprinting to their hearts content!
new with version 1.2
- food items now have lore showing how much health they give over how much time!
- food items no longer display _'s on their names, though _'s are still needed in commands
- any potion effect other than hunger can now be added as a buff effect to players who sit and eat all their food!
Commands
/feed give playername itemcustomname amount - gives a player a certain amount of a custom named item!
Example: /feed give soulofw0lf Nasty_Salty_Pork 16 - gives soulofw0lf 16 Nasty_Salty_Pork
/feed effect item_name effect_name duration strength - add buff effects to food
Example: /feed effect Salted_Pork Invisibility 30 1 - adds a 30 second invisibility effect to anyone who eats for the full duration of the food
/feed itemID customname health time
Example: /feed 319 Nasty_Salty_Pork 20 8 - creates a food item in your config called Nasty_Salty_Pork of type:Raw_Porkchop that heals 20 health over 8 seconds.
Permissions:
food.give - use the /food give command
food.add - use the base /food command to create new food items in your config.
The config file itself is also rather easy to use so you can edit things that way as well.
Food: This Is AWESOME!: ItemID: 138 health: 10 time: 10.0 Food Buff: Speed Buff Duration: 60 Buff Amp: 3
My RPG Plugins
Rpg Click
@Mr_Wired
I recommend using the in game commands to make your food instead of the config file to be honest, it will make sure that your config is correct.
Health is capitalized when it shouldn't be and none of the values should be surrounded in ' ' here's an example config
Not sure what i'm doing wrong, but I did
Raw Beef ItemID: '363' Health: '2' time: '7' And when I eat it, it does nothing, the food bar doesn't look like it's casting anything =/
This is what my config looks like.
@Mr_Wired
how it's customized really depends alot on the server as far as how you handle health and what you want the food to do. here's some examples
Nasty Salty Pork:
ItemID: 319
health: 20
time: 8.0
Food Buff: Jump
Buff Duration: 600
Buff Amp: 20
Trial Food:
ItemID: 319
health: 20
time: 10.0
Food Buff: regeneration
Buff Duration: 60
Buff Amp: 1
This Is AWESOME!:
ItemID: 138
health: 10
time: 10.0
Food Buff: Speed
Buff Duration: 60
Buff Amp: 3
but it's really self explanatory, item id is the block to use, health is how much total health it heals over time time is how long it takes to fully eat it in seconds and how long it takes to get the full heal from it. food buff is any type of potion effect, duration is how long the potion effect lasts, and amp is the strength of the buff example Speed 3 for 60 seconds is the food titled this is awesome. (ftr that one has players eatting beacons :)
I really would love to use this for my WoW immitation server, would you please write a config file with the food and a default setting for all that you think would be good? I'm not sure how to use this and if you could do that for me and put a download link somewhere on the page I would download this in a second. I think people would be much more willing to download it if there was a default for it as well. Just not sure how to do this, and I think you have a much better idea of what your doing than I do. :)
@Mushroomkngwasmo
That may be a possibility for future use, i'm just not sure what i would have the drinks do since the food already covers the health?
Great plugin :D. Any way you could add custom drinks in the future, so I could make ales and such? And instead of using the hunger bar, it would use an oxygen meter :)
@Mushroomkngwasmo
With the way the plugin works hunger really just has to stay disabled for it, it would require a pretty big rewrite to enable hunger on it since it uses the hunger bar as a "cast bar" as far as making mobs drop the food I "might" include that later, though there's a ton of plugins out there that control mob drops so i don't know if it's really worth it.
How about an option to enable hunger or disable it? Or the ability to make certain mobs have a configurable chance to drop the food.
V1.2.1 has been approved by bukkit! food buffs are completely working in this version! At this time i don't have anything else i'm planning to add in so if you guys have suggestions or feature requests let me know! I'm more than happy to make additions based on player desires!
@Hasiipupsii
I sadly have no control over how quickly the downloads becomes available. Bukkit needs to review all files and make sure they are safe, and are what the devs say they are, then they approve them for download.
@diannafire
Ok, how can i contact you? You can add me on skype - "maczetownik". I can do it right away, so hurry please. I'm inpatient :)
When we can download it? Need some Plugins for a real Life Map. What plugins can I use too for my server??
It's already ready, just waitting for bukkit to approve the download file.
Looks great, how long do you think till it is ready?
if you would be willing to translate it i would be happy to include your translation on the page :)
@Rotebay
God should not be posting while drunk, sorry for this retarded English :D
Hi, I would really like to use this plugin but in my native language Polish. I can make translation for you with a great pleasure if you mind ofc. Anyway I'll use it anyway cuz it's great :). Let me know if you'd like to add Polish Translation.
ok new version has been uploaded, i went ahead and deleted the first one, so it may take a bit before a file is up for download, but buff effects are added into this version so enjoy :)
if you find any bugs or think of any features you'd want added please let me know :)