A simple
Minecraft Paper Plugin that allows players to automatically place torches in dark areas while moving.
Features
- Automatically places torches when the player's light level is too low.
- Works only if the player has torches in their inventory.
- Togglable via `/autotorch toggle` command.
- Auto mode disables itself after **one minute** to prevent excessive torch placement.
- Supports permission-based access for commands and mechanics.
- Configurable via `config.yml`.
⚙️ Configuration (`config.yml`)
Default configuration: level-light: 7
auto-disable-time: 60
messages:
turn-off: "&a[✔ | AutoTorch] → You have turned off auto torch mode!"
turn-on: "[✔ | AutoTorch] → You have turned on auto torch mode! (WARNING: It will turn off automatically after a minute.)"
auto-disable: "[✘ | AutoTorch] → Auto torch mode disabled (time expired)."
Config Options: light-level: Sets the minimum light level before a torch is placed.
auto-disable-time: Allows you to set the number of seconds before the auto-torch mode automatically turns off.
messages: Setting up messages.
Other information
Commands
/autotorch toggle (torch.toggle) - Switches auto-torch mode.
/autotorch reload (torch.reload) - It simply reloads the plugin config.
❗ Bugs report If you see a bug, you can write about it in the Issue. Or, you can write to me in discord - `oluni_official`. Or, if you have an idea for updating a plugin, or any other plugin, you can also write to me.