EatAnything
Description
Have you ever looked at a dirt and thought "If only I could eat that"? Fear not! This extremely lightweight plugin that turns anything you can imagine into a food source. Can be implemented in minigames and survival world or simply as a unique feature to make your server stand out.
Features
- List of edible blocks can be customized
- Grant health and special effects upon eating
- Use console commands to make the dining experience unforgettable
Commands
/eatanythingreload - Reloads the plugin's configuration files
Aliases: /earl, /eatanythingrl, /eareload
Permissions
eatanything.admin - Allows player to use /eatanythingreload
Configuration
The config is split into config.yml and messages.yml
config.yml
Code (YAML):
# What a line in messages.yml will start with if you don't want to use messageformat
# For example "EatAnything > message" is the default message
# You can change it to "message" if you replace the default with the following in messages.yml
# example: "--message"
negateformat
:
"--"
# Whether to play a sound when eating
sound
: true
# Whether to show particles when eating
particle
: true
# List of all edible materials, use lowercase for all material names!
# All possible materials are here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
# If you don't need a section (for example commands), you don't have to include it
# Commands are sent from console
edible:
dirt:
hunger
: 1
health
: 4
commands
:
-
"effect give {name} minecraft:levitation 3 1 true"
white_concrete:
hunger
: 10
health
: 4
cobblestone:
health
: 2
messages.yml
Code (YAML):
# The format that all messages will follow unless negated with prefix stated in config.yml
messageformat
:
"&eEatAnything &8> &f{message}"
nopermissions
:
"You can't use that command!"
usage
:
"Usage: {usage}"
Support
If you found a bug or have a suggestion,
add a comment
Satisfied? Leave a review!