Safety Plugin Documentation
Overview
The Safety plugin is designed to enhance server security by preventing the placement of specific prohibited blocks. It achieves this by monitoring block placement events and responding to the placement of illegal blocks such as Bedrock, Barrier, Command Block, and Spawner.
Features
- Real-time monitoring of block placement events.
- Identification of prohibited blocks.
- Automatic issuance of bans to players attempting to place illegal blocks.
- Detailed logging for server administrators.
Installation
- Download: Obtain the Safety plugin JAR file from SpigotMC.
- Place in Plugins Folder: Move the downloaded JAR file to the "plugins" folder in your Spigot server directory.
- Restart Server: Restart your Spigot server to enable the Safety plugin.
Configuration
The Safety plugin does not require extensive configuration. However, you can customize the list of prohibited blocks directly in the source code if needed.
Usage
The Safety plugin operates seamlessly once installed. Here's how it works:
- Real-time Monitoring: The plugin monitors block placement events triggered by players.
- Identification of Prohibited Blocks: It identifies prohibited blocks, including Bedrock, Barrier, Command Block, and Spawner.
- Automatic Ban: When a player attempts to place an illegal block, the plugin automatically issues a ban and kicks the player from the server.
- Logging: Detailed logs are available for server administrators to review, providing insights into the activities of players attempting to place prohibited blocks.
Customization
The list of prohibited blocks can be customized directly in the source code. Open the BanHandler class and modify the block types as needed.
Support and Issues
For support or reporting issues, please visit our SpigotMC discussion thread.
License
This plugin is released under the MIT License.
Credits
The Safety plugin is developed by Trinkz. Contributions and feedback from the community are welcome.