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
please update
Seems not to work for 1.6.4 to me Can you update it pls it's such a great idea
This kind of works, but..
works for 1.6.4?
Work for 1.6.4?
Does it support spigot?
- 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 :) )
Hey! So did you mean that foods are using IDs but they can be different shapes? In other words,a stone I picked can be a food and also can be builted? Or the foods just can be taken by command?Just have a shape from the items?
I want Plugin In 1.6.2 +
@Tessai_san
Thwe individual plugins are all closed source however the Apoi the big plugin they are all getting combined into is open source and the code for each of them in there weill be open source as well.
Hello, I want to create a RPG plugin for the Server of a popular german Youtuber(His name is BukkitDE) and I want to take a view parts of your plugins(rpg food and rpg party) for it, so I wanted to ask you for the permission to modify your plugin a bit.
PS. I wont publish the plugin its only for private use
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.
@Q2Lummox
the next version will in fact have an option to disable the rpg style food, so hunger loss and exhaustion will be back in
- with no exhaustion levels players can keep sprinting to their hearts content!
Any option to activate the exhaustion level?.
@semirotta
also your config is very wrong, it should look like
Food:
Trial Food:
ItemID: 319
health: 20
time: 10.0
Food Buff: regeneration
Buff Duration: 60
Buff Amp: 1
make sure each indent is 2 spaces so yml parses correclty, your seem to only have 1. and you don't name your item twice.
@semirotta
the error you're getting is from not including what food to give.
/food give playername itemname ammount
if there are spaces in your food name they need to be _'s
@penorzilla
The plugin tracks by food name so any item that has the same display name as that food item will work as the food item, because of this any plugin that already exists that can change mobs drops works 100% with this plugin so i did not feel at the time that there was any reason to re-invent the wheel since you can use any one of those plugins. I say at the time because the full rpg suite of plugins i'm making are inutended to be able to be used with nothing else so once the api is completely done there will be a drop handler included in the api for all the plugins to use so you will be abl;e to set up a drops.yml specifying mob types to drop certain foods (though if you end up using our custom boss / monster plugin that will be released shortly after the api use it's drops file instead since it will work based off boss name instead of mob type.)
Would be nice to have a "drop" table. This way mobs can drop these food items.
@diannafire Are these correct: http://pastebin.com/WvDJazpH Also can you explain me, why can't all the food names change the ones i name them in config? Why do i have to use command to give that food :( Can i have multiple effects ?
I keep getting errors with the commands. These are the config.yml stuff: http://pastebin.com/WvDJazpH ( I posted this above already )
here is the error: http://pastebin.com/kJdWudqQ
I tried everything just kept giving me either errors or "that item does not exist!"
@semirotta
the ONLY effect you can't use is hunger
Suggestion: My config now: http://pastebin.com/jzYZKKuV
Could you make it so i can add for example, raw food to cause nausea or such effect, slowness? poisoning? burning? Example config for that: http://pastebin.com/MbQ62d31
Please consider! :)
EDIT: Acutally i just noticed that the food does not even work with that config ive made. What seems to be problem?
@KevinABC96
there will be an rpg travel plugin, it will most likely include land mounts, ground mounts, flightpaths, and "taxi's" though that will be a while before i get around to it, right now i'm writting an api for all my plugins and then re-diong them all to fit it for easy compatability.