Sueta
FO

FoodValueChanger [FIRST JAVA PLUGIN BY ME!]

2.0

Do you want to change value of food?

·Plugin

Hi all. I made my FIRST JAVA PLUGIN!
This plugin can help you to change value of food. It sound easy, well?

Permissions
None

Commands
None

configuration
On first start, Plugin will make config.yml for you.

#configuration file of FoodValueChanger. Use only int (numbers). 1 pice of hunger = 2. For example: if player
#has 5 piece of hunger and he will eat something which have value 2, he will earn 1 pice of hunger.

#cooked:
COOKED_PORK: 7
COOKED_CHICKEN: 4
COOKED_MUTTON: 6
COOKED_FISH: 3
COOKED_BEEF: 4

#Raw
RAW_BEEF: 2
PORK: 4
RAW_CHICKEN: 2
RAW_MUTTON: 3
RAW_FISH: 8

#vegetables
CARROT: 3
MELON: 3
POTATO: 3
APPLE: 5

#others
CAKE: 4
COOKIE: 5
PUMPKIN_PIE: 8

Here you can set value of every type of food (if I forgot something please write me). Value 2 = 1 piece of hunger.

Why did you moved from Skript to java?
I found Java is better in some things. For example, you dont need any addons and Java works good. Skript is different on every version.

Oh no, I still want scripts!
If do you want scripts, you can be calm. I will make skripts and plugins. I will not stop making scripts! :)

I found bug!
If you found bug, please, send me private mesage here. but remember and understand that its my first java plugin.

Similar projects

Plugin →