SmartRestock
What is it?
An automatic block regeneration system that restores destroyed blocks after a configurable delay. Ideal for survival servers, adventure maps, or any server wanting a dynamic, self-repairing world!
⚙️ Main Features
- Automatically regenerates broken blocks after a configurable delay.
- Checks for nearby players before regenerating to avoid interfering with active gameplay.
- Displays cool particle effects (like flames or hearts) when blocks are restored.
- Configurable player detection radius for better control and performance.
- Lightweight and optimized for Paper & Spigot (tested on Minecraft 1.19.4+).
- Simple to install and easy to configure.
Installation
- Copy the SmartRestock.jar file to your server's plugins folder.
- Restart the server to generate the default config.yml.
- Edit config.yml to customize delay times, particle effects, and player-check radius.
- Reload the plugin with /smartrestock reload or restart the server again.
Configuration Example (config.yml)
yaml
regen-delay-seconds: 300 # Time in seconds before a destroyed block regenerates
player-check-radius: 16.0 # Radius to check for nearby players before regeneration
particle-effect: FLAME # Particle effect to display on regeneration (e.g., FLAME, HEART)
How to Use
- When a player breaks a block, it will be scheduled for automatic regeneration.
- The block will only regenerate if no players are nearby within the configured radius.
- Visual particle effects appear at the block location to notify players of regeneration.
- Use /smartrestock reload to reload the config without restarting the server.
Permissions
Permission
Description
smartrestock.reload Allows reloading the plugin config
Support
Having issues or want to request features?
Join my Discord:
https://discord.gg/usk8HwFCad.
Credits
Developed by Vnxsitoow
Thank you for using SmartRestock to keep your server fresh and dynamic!