Complete Reload Feature:
- Configuration Reload: Reloads all settings from config.yml
- LogManager Reinitialization: Ensures the logging system operates correctly
- State Synchronization: Updates all status variables
- Cache Clearing: Cleans cache to prevent conflicts
Performance Timing: Displays accurate reload execution time
Core Features:
Toggle Redstone Placement Blocking: Users can enable or disable the redstone placement blocking functionality
Creative Mode Exception: Optionally allows Creative mode players to place redstone components
Player Notifications: Displays customizable warning messages when players attempt to place redstone
Instant Redstone Removal: Optional feature to remove redstone immediately after placement
Visual & Audio Effects: Shows particle effects and plays warning sounds
Violation Logging: Tracks and records violations through the integrated LogManager system
How It Works:
When a player places redstone:
- Checks if blocking mode is enabled
- If player is in Creative mode and Creative bypass is allowed, skip blocking
- Otherwise, cancels the block placement event
- Displays warning message (if enabled)
- Plays sound effects and particle effects (if enabled)
- Logs the violation
- Increments player's violation count
Instant Removal Option:
- If "remove-placed-redstone" is enabled, redstone will be immediately replaced with the configured block type
Compatibility & Integration:
- Full LogManager Integration: Seamlessly works with the existing LogManager system
- Violation System Compatible: Integrates with the current kick/ban violation system
- Non-Intrusive: Does not affect existing plugin features
- Independent Toggle: Can be enabled/disabled independently from other features
Command: /rsreload
Independent and Fast Reload Command
Reload Features:
- Configuration Reload: Reloads all settings from config.yml
- LogManager Reinitialization: Ensures proper logging system operation
- State Synchronization: Updates all status variables
- Cache Clearing: Cleans cache to prevent conflicts
- Performance Timing: Displays precise reload execution time