Note: While this plugin hasn't been tested on versions lower than 1.17. It should work on lower versions.
This is a small plugin where players can make any food item infinite.
When a food item is infinite it'll have the infinity enchant and when eaten will not be consumed.
Food can be made infinite by:
Combining it with an Infinity book in an anvil
By using the command /infini
Permissions:
infinitefood.infini - To allow players to use the command
infinitefood.admin - For staff to reload the config
infinitefood.anvil - To allow players to use the anvil feature
Commands:
/infini - Makes any food infinite without having to use a book and anvil
/infrl: Reloads the plugin's config
By default, making a food infinite costs 30 levels. But this is configurable in the config
# Amount of levels required to make an item infinite
infinite-cost: 30
#Text to display when anvil usage is denied
#use '&' to change the colour of the message
anvil-message: &cYou do not have the required permissions to do this action
#List of foods that are unable to be made infinite
#add more foods to the list by pressing space then -
#example:
# - ENCHANTED_GOLDEN_APPLE
# - COOKED_BEEF
banned-foods:
Tips:
Food is only able to be made infinite when it is in a single stack of 1
Trying to eat a stack of multiple infinite foods will make it into a stack of 1.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta