File Details
LincerosAutoDoor-1.1.0.jar
- R
- Jan 28, 2026
- 20.56 KB
- 2.7K
- Early Access
File Name
LincerosAutoDoor-1.1.0.jar
Supported Versions
- Early Access
AutoDoor - Changelog
Version 1.1.0 - Improvements and Fixes
โจ New Features
Extended Commands
/autodoor status- Shows the current mod configuration/autodoor setrange <open> <close>- Sets the open and close ranges/autodoor direction <towards|away>- Sets the door opening directiontowards- Doors open towards the playeraway- Doors open away from the player (default)
/autodoor reload- Reloads the configuration from file
New Configuration
- OpenTowardsPlayer - Allows choosing if doors open towards or away from the player
false(default) - Doors open away from the playertrue- Doors open towards the player
๐ Bug Fixes
Memory Leak Fix
- โ Implemented automatic player reference cleanup system every 10 seconds
- โ Cleans invalid references when players disconnect
- โ Cleans orphaned door states
- โ Prevents indefinite data accumulation in memory
Corrected Closing Logic
- โ
Now uses
CLOSE_DOOR_INwhen opened withOPEN_DOOR_IN - โ
Now uses
CLOSE_DOOR_OUTwhen opened withOPEN_DOOR_OUT - โ Maintains consistency between opening and closing states
Configuration Validation
- โ
Validates that
OpenRange > 0 - โ
Validates that
CloseRange > 0 - โ
Validates that
CloseRange > OpenRange(prevents flickering) - โ Auto-corrects invalid values when loading configuration
- โ Shows warnings in logs when auto-corrected
๐จ UX Improvements
Colored Messages
- Commands now use colors (green for success, red for error, yellow for info)
- Clearer visual feedback for every action
Better Information
/autodoorcommand shows full help with all subcommands- More descriptive error messages
- Usage examples in commands requiring parameters
๐ง Technical Improvements
Robust Validation
- Setters with range validation
- Descriptive exceptions for invalid values
validateAndFix()method that auto-corrects invalid configurations
Improved Logging
- Detailed log during setup showing configured opening direction
- Warnings when configuration is auto-corrected
- Configuration reload info
๐ Example Configuration
{
"OpenRange": 3.0,
"CloseRange": 5.0,
"Enabled": true,
"OpenTowardsPlayer": false
}
๐ฏ Recommended Usage
For doors that automatically open away (default):
/autodoor direction awayFor doors that open towards you (modern automatic style):
/autodoor direction towardsAdjust ranges to avoid unwanted activations:
/autodoor setrange 2.5 4.5
โก Performance
- Periodic cleanup system every 200 ticks (~10 seconds)
- Memory leak prevention
- Keeps valid references only
Version 1.0.0 - Initial Release
Initial Features
- Auto-opening doors when approaching
- Auto-closing doors when leaving
- Multi-player tracking per door
- Basic range configuration
- Commands
/autodoor enableand/autodoor disable

