TonicFoods icon

TonicFoods -----

Create custom foods with potion effects, messages, and permissions.



Gradient.jpeg
A resource for 1.16, 1.17, 1.18 & 1.19
May work on older versions with additional configuration, but not officially supported.
What is it?
TonicFoods is a plugin where you can create your own custom food for your server. You can customize the Potion Effect, permissions, Lore, and Display Names of a food to give to a player. With unlimited possibilities, and unlimited slots to create as much food as you want, TonicFoods is a must!


Examples
[​IMG]


Permissions & Commands

tonicfoods.admin - Permission to reload the plugin.
tonicfoods.give - Permission to list available foods & give players food

/tf reload - Reloads the plugin
/tf give (player) (food) (amount) - Give the player a custom food.
/tf food - Lists all the available foods that have been configured.


Creating Custom Food
Creating custom food is a breeze. Just take a look at this template below:
Code (YAML):
#
# This is an example food. For the latest item types, please use:
# https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
#
# Additionally, you can find the Potion Types here:
# https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/potion/PotionEffectType.html

Item
:
  Type
: APPLE
  Name
: '&c&lDoctor B'' Gone'
  Lore
:
 - '&7Physically blocks'
  - '&7all doctors.'
Effect
:
  Type
: DAMAGE_RESISTANCE
  Duration
: 60
  Power
: 1
Permission
:
  Node
: None
  No-Permission-Msg
: None
Message
: '&8&l> &a&lYum! &fWhat a healthy apple.'
To make more food items, create another .yml file (using plain text) inside of the Foods folder. At the moment, multiple potion effects are not yet supported, however this is a planned feature in future updates.


Need Some Help?
Feel free to join our support discord for any questions you have. :)

[​IMG]
Resource Information
Author:
----------
Total Downloads: 987
First Release: Oct 25, 2019
Last Update: Feb 2, 2023
Category: ---------------
All-Time Rating:
4 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings