Torch Protect
PluginLicenseRef-All-Rights-Reserved

Torch Protect

Keep hostile mobs from spawning within a radius.

98
Downloads
1
Followers
7 months ago
Updated
📦
2
Versions

📖About Torch Protect

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!