
FarmerGolem999
The FarmerGolem999 plugin introduces a new friendly mob to your Minecraft world: the Farmer Golem! This helpful golem is designed to automate your farming tasks, making it easier than ever to manage your crops.
266
2
New Commands
/farmergolem list- Lists all Farmer Golems owned by the player with their locations, distance, and item counts/farmergolem info <player>- Shows detailed information about all Farmer Golems owned by a specific player including locations, health, and inventory status (OP only)/farmergolem reload- Reloads the plugin configuration without requiring a server restart (Admin only)/farmergolem help- Displays help information for all available commands- Command aliases:
/fg,/fgolem
New Configuration Options
maxGolemsPerPlayer- Set a limit on how many Farmer Golems each player can own (set to -1 for unlimited)harvestInterval- Configure the time interval in seconds between harvest cyclesdepositInterval- Configure the time interval in seconds between chest deposit cyclescropTypes- Customizable list of crop types the golem will harvest:- WHEAT
- CARROTS
- POTATOES
- BEETROOTS
- MELON
- PUMPKIN
- NETHER_WART
messages- Fully customizable messages with color code support
New Permissions
Permission Description Default farmergolem999.spawnAllows players to create Farmer Golems All players farmergolem999.listAllows players to list their own Farmer Golems All players farmergolem999.infoAllows viewing other players' golem information OP only farmergolem999.reloadAllows reloading the plugin configuration OP only farmergolem999.bypass.limitBypasses the maximum golem limit OP only farmergolem999.*Grants all FarmerGolem999 permissions OP only Data Persistence
- Golem data is now saved to
golems.yml - Inventory contents persist across server restarts
- Golem ownership is tracked and saved
- Automatic data saving every 5 minutes
- Data saves on server shutdown
Golem Ownership System
- Each Farmer Golem is now linked to its creator
- Players can only view their own golems with
/farmergolem list - Admins can view any player's golems with
/farmergolem info <player> - Ownership persists across server restarts
Automatic Chest Depositing
- Golems automatically deposit harvested items to nearby chests
- Configurable deposit interval
- Support for double chests
- Seeds are kept in the golem's inventory for replanting
- Deposits trigger automatically when inventory is over 75% full
Inventory Management
- 36-slot inventory for each Farmer Golem
- Right-click golem to access inventory
- Inventory contents persist across server restarts
- Items drop on golem death
Crop Harvesting Improvements
- Configurable crop type filtering
- Support for all standard crops:
- Wheat
- Carrots
- Potatoes
- Beetroots
- Melons
- Pumpkins
- Nether Wart
- Automatic replanting when seeds are available
- Configurable harvest interval
Golem Tracking
- Golems are tracked across chunk loads/unloads
- Golems persist through server restarts
- Automatic re-registration of golems on chunk load
Tab Completion
- Full tab completion support for all commands
- Player name suggestions for
/farmergolem infocommand
New Features
- Added debug mode configuration option to control logging output
- Implemented automatic cleanup for Farmer Golems when they are destroyed
Changes
- Optimized crop searching algorithm for better performance
- Improved replanting logic to ensure melons and pumpkins are placed on appropriate soil
- Enhanced inventory management with better tracking of item counts
- Improved configuration handling to preserve user settings during updates
- Added validation to ensure search radius values are positive
- Updated plugin to use more efficient task management for better server performance
Bug Fixes
- Fixed inventory disappearing issue when opening golem inventory
- Fixed item loss when players access golem or chest inventories
- Fixed improper inventory handling in depositItems method that was clearing items incorrectly
- Fixed replant method to properly manage seed consumption without losing other inventory items
- Fixed interaction logic to prevent automatic chest deposits when opening golem inventory
- Fixed chest selection to use closest chest instead of first found
- Resolved issues with inventory management during harvesting and replanting operations
Improvements
- Enhanced inventory transfer mechanism between golem and chests with proper amount tracking
- Improved item stack handling during replanting operations
- Better preservation of items that cannot be deposited to chests
- Optimized inventory operations to prevent accidental item loss
- Players can now freely access and remove items from both golem and chest inventories
- Golem now selects the closest chest within range for item deposits
Нет описания изменений
Ссылки
Авторы
Сведения
Лицензия:
Опубликован:7 месяцев назад
Обновлён:5 месяцев назад
ID проекта:
