Перейти к содержимому
Mineforgian

Torch Protect

Keep hostile mobs from spawning within a radius.

Загрузки
156
Подписчики
1
Обновлён
1 сентября 2025 г.
Лицензия
All-Rights-Reserved

Опубликован 25 августа 2025 г.

This plugin is directly inspired by MAGNUM TORCH


How it works?

With this plugin you can craft a special torch called "Protection Torch", which will prevent any hostile mobs from spawning on a configurable radius (capped at 100 blocks to avoid performance issues for now).

Item

Keep in mind: If you place a protection torch at night and there are already hostile mobs around it, they won't despawn, you are going to have to remove/kill them.

You can remove any torches within a radius with the command /torchprotect clear.

Configuration:

You can change the radius and the crafting recipe for the special torch. you can use the /torchprotect reload command to reload config.

# TorchProtect configuration
# Shapeless recipe for the Protection Torch (result is always 1 item).
# Up to 9 ingredients allowed. 'amount' counts how many of that material are required.
recipe:
  ingredients:
    - material: DIAMOND
      amount: 1
    - material: TORCH
      amount: 1

# Blocking radius in blocks (1 - 100). Values above 100 will be clamped to 100.
radius: 100

Bye!

Buy Me a Coffee at ko-fi.com

Ченджлог

1.0.1Релиз1.21.9, 1.21.10, 1.21.11 · 1 сентября 2025 г.
  • Fixed an issue where protection torches were not removed properly by water flowing or any other sort of collisions.
  • added the command /torchprotect clear to delete any protection torches within the radius.
1.0.0Релиз1.21.9, 1.21.10, 1.21.11 · 25 августа 2025 г.

first release

Комментарии

Загружаем…