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


-
View User Profile
-
Send Message
Posted Jun 2, 2013@KevinABC96
1 - enchants and item durability would be a pretty easy addition, i'll add that once the new version with my rpgapi comes out.
2 - i am planning on making some minigames, not sure about chess though as that would be a very very very complicated one to do, but i'm thinking connect 4 could be fun, possibly even battleship :)
@Asipdk
This has been suggested a few times before, but for now there's already a bunch of custom mob drop plugins out there that you could easily use in conjunction with this one so i don't know that i'm wanting to re-invent the wheel so to speak.
-
View User Profile
-
Send Message
Posted Jun 2, 2013Hello, could I make a suggestion. How about the feature to allow certain mobs the ability to drop certain items. So like I could make a sheep when you kill it have a chance to drop a custom food called Lambchops.
Thanks, Asip
-
View User Profile
-
Send Message
Posted Jun 1, 2013@jessefjxm
not at this point in time no.
-
View User Profile
-
Send Message
Posted Jun 1, 2013Is it possible to decide whether turning normal hunger system on or not? :)
-
View User Profile
-
Send Message
Posted May 31, 2013@manuelgu
giving players food yes, i think i might have messed up creating food from console
-
View User Profile
-
Send Message
Posted May 31, 2013can I run the commands in the console?
Greeze
-
View User Profile
-
Send Message
Posted May 31, 2013@cheese0wnz
not at the moment but i will be adding that in in the future, it's already planned.
-
View User Profile
-
Send Message
Posted May 31, 2013@diannafire
Thankyou for that, is it possible to add multiple buffs to a single item of food?
-
View User Profile
-
Send Message
Posted May 31, 2013+1 for the food expiration, it would be a total rpg food plugin and i will add it to my serv.
If some people don't want it you can always make it toggleable in config . ;D
-
View User Profile
-
Send Message
Posted May 31, 2013@Q2Lummox
I'll consider it.. but it seems like that might bit a bit too hard core
@Tealk123
I should have it done by tomorrow with food loss configurable
@cheese0wnz
are you making sure to stand still while you eat? you have to finish the full duration for the buff to take effect.
-
View User Profile
-
Send Message
Posted May 31, 2013When i add a buff to the food item, it doesn't work, please help.
-
View User Profile
-
Send Message
Posted May 31, 2013@diannafire
that would be nice, its more realistic
-
View User Profile
-
Send Message
Posted May 31, 2013It would be possible to make the food have expiration?. That be necessary to store food in chests with ice or snow for this is preserved.
-
View User Profile
-
Send Message
Posted May 31, 2013@Tealk123
this plugin is really designed to do away with hunger so not yet, but i may add in a config option in the future to do that.
-
View User Profile
-
Send Message
Posted May 31, 2013is it possible to activate hunger loss?
-
View User Profile
-
Send Message
Posted May 31, 2013V1.3 has been uploaded and will be available for download as soon as bukkit approves it.
-
View User Profile
-
Send Message
Posted May 31, 2013@cheese0wnz
ok yeah stupid mistake on my part uploading a fix now to allow consoles to properly give food.
-
View User Profile
-
Send Message
Posted May 31, 2013@diannafire
31.05 02:36:33 [Server] INFO ... 8 more 31.05 02:36:33 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) 31.05 02:36:33 [Server] INFO at com.vartala.soulofw0lf.rpgfood.foodHandler.onCommand(foodHandler.java:26) 31.05 02:36:33 [Server] INFO Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_5_R3.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player 31.05 02:36:33 [Server] INFO at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573) 31.05 02:36:33 [Server] INFO at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410) 31.05 02:36:33 [Server] INFO at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477) 31.05 02:36:33 [Server] INFO at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:227) 31.05 02:36:33 [Server] INFO at net.minecraft.server.v1_5_R3.DedicatedServer.an(DedicatedServer.java:262) 31.05 02:36:33 [Server] INFO at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchServerCommand(CraftServer.java:512) 31.05 02:36:33 [Server] INFO at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchCommand(CraftServer.java:523) 31.05 02:36:33 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189) 31.05 02:36:33 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) 31.05 02:36:33 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'feed' in plugin RpgFood v1.0 31.05 02:36:33 [Server] WARNING Unexpected exception while parsing console command "feed"
-
View User Profile
-
Send Message
Posted May 30, 2013@cheese0wnz
It would really help me figure out what's going wrong if you could paste your error here so i can actually see it?
-
View User Profile
-
Send Message
Posted May 30, 2013@diannafire
It is /feed, but it gives me internal errors for all? Thanks.