New Commands
/foodallergy regenerate <player>
: Reset a player's allergy list./foodallergy removeall <player>
: Remove all allergies from a player.
New Configuration
-
Auto-refresh Allergy List
auto-refresh
: Enable or disable automatic refreshing of all players' allergy lists (default:false
).refresh-interval
: Set the time interval (in minutes) for automatically refreshing all players' allergy lists (default:30
minutes).
-
New Allergy Medications
- Consuming food with specific
lore
will trigger corresponding effects:lore
set toantihistamine
: Clears all allergies from the player.lore
set toimperfectAntihistamine
: Refreshes the player's allergy list.
- This feature can be enabled or disabled in the configuration:
# Medications for treating allergies antihistamine: false
- Consuming food with specific