A plugin that causes torches to break and drop an item after a set time.
Features:
- All options are customizable
- Refueling torches with any number of customizable items by right-clicking a torch
- Optional creative mode bypass
- Optional hologram displaying new remaining time when refueling
- A '/bt reload' command to reload the config without restarting your server
If you have an issue or have found a bug, please
create an issue on Github and include as much information as possible!
Do not manually edit `torches.yml`, this is used to store existing torches and their remaining burn time when shutting down the server.
Permissions:
- burnouttorches.reload (reload the plugin)
Configuration:
- time: The time in seconds for torches to burn out. Decimals are not supported.
- drop: The item to drop when a torch burns out. An item list can be found here.
- allow-refuelling: If players should be able to refuel torches.
- refuel-type: If, when refuelling, time should be added to the existing remaining time or if it should be reset to the configured time. (can be 'RESET' or 'ADD')
- sound-on-fuel: If a fire charge sound should play when refuelling a torch.
- particle-on-fuel: if green particles should show when refuelling a torch.
- hologram-on-fuel: If a hologram should show when refuelling displaying how much time is now left on the torch. Only works if 'refuel-type' is 'ADD'.
- refuel-items: What items are able to be used to refuel torches.
- burnout-in-creative: If torches placed in creative mode should burn out or be refuelable.
- autosave: If torches should periodically be saved to the disk, instead of only at shutdown.
- autosave-frequency: How often (in seconds) torches should be saved to the disk if autosaving is enabled.