A Minecraft plugin that manages block protection and access control.
Description
SimpleBlockProtection allows server administrators and players to protect blocks from unauthorized access and modifications. It provides features to lock and unlock blocks, manage trusted players, and prevent specific actions such as block breaking, placing, and interaction around protected areas.
You can change protectable blocks in 'blocks.yml' file located in the `plugins/SimpleBlockProtection`
Features
- Protect blocks to prevent unauthorized access and modifications.
- Allow trusted players to access protected blocks.
- Prevent block placement near protected doors.
- Cancel explosions near protected blocks.
- Manage redstone interactions with protected blocks.
- Provide feedback messages for various actions.
Installation
1. Download the latest release of SimpleBlockProtection.
2. Place the plugin JAR file in the `plugins` folder of your Minecraft server.
3. Restart the server to load the plugin.
Usage
Protecting a Block
(Blocks are automatically protected when placed) To protect a block, use the following command and then right-click on the wanted block:
/protect
Unprotecting a Block
To unprotect a block, use the following command and then right-click on the wanted block:
/unprotect
Checking Protection Status
To check if a block is protected, use the following command and then right-click on the wanted block:
/pcheck
Adding a Trusted Player
To add a trusted player who can access your protected blocks, use the following command:
/trust <player_name>
Removing a Trusted Player
To remove a trusted player, use the following command:
/untrust <player_name>
Reloading configuration
To reload lang.yml and blocks.yml, use the following command: /sbpreload
Configuration
The plugin does not require any configuration by default. However, you can customize messages
'lang.yml' file located in the `plugins/SimpleBlockProtection` folder.