HomeJavaModsVillagerInfect
VillagerInfect

✨ Features

📜 Commands

/infectitem <player> <amount> <usages> - Gives the infection item.

/infectreload - Reloads the plugin config.

🔑 Permissions

Spoiler

villagerinfect.use

villagerinfect.item

villagerinfect.reload

⚙ Configuration

Example config:

# ====== Предмет заражения ======
item:
  material: BLAZE_ROD
  name: "&aИнфектор жителей"
  lore:
    - "&7ПКМ по жителю"
    - "&7заражает его"
    - "&7Использований: &e%uses%"  # %uses% заменяется на число или ∞
  uses: 5   # Количество использований (-1 = бесконечно)

# ====== Эффект слабости ======
weakness:
  enabled: true   # true = включено, false = выключено
  duration: 600   # Длительность в тиках (20 тик = 1 секунда)

# ====== Сообщения ======
messages:
  give_item: "&aВы получили предмет заражения!"  # Сообщение при выдаче предмета
  infected_villager: "&aЖитель заражён!"        # Сообщение при заражении
  item_finished: "&cПредмет закончился!"        # Сообщение при окончании использований
  reload_config: "&aКонфиг перезагружен!"       # Сообщение при /infectreload

📦 Compatibility

Tested on:

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more