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
@cheese0wnz
download the english version instead of the polish for one, and for two i'm not sure if the current one uses /feed or /food so try both :)
It is in a different language and i constantly get internal errors doing every command, please help?
@kontrano
why do you need the number? it already saves it based on the name of the item rather than the type of item anyway so it should be able to be used with just about anything?
I Must Say You Make The Most Useful RPG Plugins And I'm Thinking Of Donation (You Will Be The First I Will Ever Donate To
P.s. Im The Guy You Talked To On PMC
Btw a nice feature to add to this is to give the new foods a variational number custom set to they work with many shop plugins so example (Bread:5 =Stale Bread)
I am looking for someone else to work with on my core server plugins, if anyone is interested please contact me on skype - soulofw0lf
@Mre30
I do like most your suggestions, you should seriously just add me on skype - soulofw0lf so we don't have message checking delay.
ahh i have a completely seperate regen mechanic for my server based on classes and max hp and being out of combat so it functions more like mmo's that's why i don't have the hunger effecting it at all. I could possibly split my regen plugin off my classes plugin and share it. but i don't think i want to alter the food plugin.
well.. it's more of a "HP Food" thing to add lol.
I've been playing with the code, and I have added a few options that counter your EntityDamageEvent for starvation and the EntityRegainHealthEvent, i added a option in the config for true or false on starvation and damage from starvation, but I am not really having any luck with the food items lol... seems like cake is the only thing that will bring my hunger back up and my health will start to regen xD
I would still love for the food to do what it's supposed to do, but my players will FLIP if they cant heal from full hunger.
I am only playing around with this, cause I am bored.
Think of it as..... a HP food item you would get in WoW or GW2 or any of the sort. I am also adding a option for losing food while running.
That's what I am looking for. In fact, that's what I thought I could do with this plugin lol.
But, I know that others would like this as well.
Your idea's for RPG servers... are going to be legendary lol.
@Mre30
without the healling changes the only "perk" would be a potion that it takes time to drink?
man, can you add an option so that i can let my players heal normally? and just let this be a "perk" to buy?
@ok12Boss
no problem :) if you come across any other problems please let me know :)
@diannafire
thank you :)
@ok12Boss
/food give playername itemcustomname amount
/food effect item_name effect_name duration strength
/food itemID customname health time
those are the commands to use, i forgot to put in a check to make sure people put arguments, it's fixed for the next version.
i get a error when i type /food
@Mre30
I try :)
dude... there is so much win with your plugins... its crazy. lol.
@ok12Boss
it works perfectly fine with essentials, i haven't actually found a single plugin that this conflicts with yet at all. if you have the newest version of the plugin the command is /food instead of / feed
I can't use the command, it can't use the plugin with Essentials
@LindzB
2 things
1: this page is for rpg food not trade :P however..
2: this is not a bug I've encountered at all or even heard of yet so i have no clue what might be causing it? just for curiosity sake what other plugins do you use? i'll set up a test server with your plugins on them and see if i can't duplicate the bug and figure out what's going on for you.
@soulofwolf
Ive came across a bug, in which my invi gradually disappears after ive traded with someone. Could this fault be due to other plugins conflicting? Or is this a bug u are already awhere of? Our Minecraft server is 1.5.2
In other words, Great Mod! helps a bunch! :)