FeatherRegen
Custom Regenerating Blocks Made Easy!
Features
- Custom Regenerating Blocks: Easily create unique blocks that regenerate after being broken.
- Flexible Configuration: Customize block types, respawn times, commands, and more.
- Command Integration: Execute custom commands when blocks are broken.
- Particle Effects: Add visual effects with customizable particles.
- Temporary Replacements: Set temporary blocks until regeneration occurs.
- In-Game Management: Use simple commands to place or remove custom blocks.
- Custom Block Placer Tool: Place custom blocks easily with a special tool.
- SQLite Database: Efficiently store and manage custom block data.
- Permissions System: Control user access to plugin features.
Getting Started
Installation
- Download the FeatherRegen.jar file.
- Place it in your server's plugins folder.
- Restart your server.
Configuration
- Navigate to plugins/FeatherRegen/config.yml.
- Customize the settings and define your custom blocks (several examples are provided in the default config.yml file).
- Save the file and restart your server.
Creating Custom Blocks
- Use /featherregen set <block_name> while looking at a block to set it as a custom block.
- Alternatively, use /featherregen tool <block_name> to get a placer tool, then break blocks with it to set custom blocks.
Managing Custom Blocks
- Use /featherregen list to view all available custom blocks.
- Use /featherregen remove while looking at a custom block to remove it.
- Use /featherregen reset to clear all custom blocks (use with caution!).
Configuration Example
Here’s an example of how to configure a custom block in config.yml:
Code (Text):
custom_blocks:
lucky_gold:
block_type: "GOLD_BLOCK"
commands:
- "give <player> gold_ingot 5"
- "effect give <player> luck 60 1"
particle_effect: "TOTEM"
respawn_time: 300 # 5 minutes
replace_with: "BEDROCK"
Explanation:
- lucky_gold: The name of your custom block.
- block_type: The Minecraft material for this block.
- commands: List of commands to execute when the block is broken.
- particle_effect: The visual effect displayed on block break.
- respawn_time: Time (in seconds) before the block regenerates.
- replace_with: Temporary block to place until regeneration.
Commands & Permissions
Commands
- /featherregen list – View all available custom blocks.
- /featherregen set <block_name> – Set a custom block at your target location.
- /featherregen remove – Remove a custom block at your target location.
- /featherregen reset – Reset the entire custom blocks database.
- /featherregen tool <block_name> – Get a custom block placer tool.
Permissions
- featherregen.admin – Allows use of all FeatherRegen commands (default: op).
Usage Examples
Example: Creating a Lucky Gold Block
- Configure the block in config.yml (see configuration example above).
- In-game, look at the desired location and type: /featherregen set lucky_gold.
The block will now regenerate when broken, giving players gold and luck!
Example: Setting Up a Speed Beacon
Add this to your config.yml:
Code (Text):
custom_blocks:
lucky_gold:
block_type: "GOLD_BLOCK"
commands:
- "give <player> gold_ingot 5"
- "effect give <player> luck 60 1"
particle_effect: "TOTEM"
respawn_time: 300 # 5 minutes
replace_with: "BEDROCK"
In-game, you can now use
Code (Text):
/featherregen tool speed_beacon
and place speed beacons around your world.
------------------------------------
FAQ
- How do I update the plugin?
Simply replace the old .jar file with the new one and restart your server. Your configurations and data will be preserved.
- Can I change a custom block's properties after placing it?
Yes! Update the block’s configuration in config.yml, then restart your server. The changes will apply to all existing blocks of that type.
- Is the plugin compatible with other block protection plugins?
FeatherRegen should work alongside most protection plugins, but always test compatibility in a safe environment first.
- Can I use placeholders in the commands?
Yes! Use <player> in your commands, and it will be replaced with the name of the player who broke the block.
Elevate your server with FeatherRegen today!
For support or feature requests, please use the discussion section or create an issue on the resource page.