
Farmworld plugin
With this plugin, you can create a farm world on your server with an Overworld, Nether, and End. Players are safely teleported to random locations; admins can activate or deactivate the worlds via command.
Список изменений
Changelog v1.1.0 - Major Feature Update
🎉 New Features
📊 PlaceholderAPI Support
-
Integration with PlaceholderAPI for external plugins
-
7 new placeholders available:
-
%farmwelt_reset_time%- Formatted time until reset (e.g., "5d 3h 20m") -
%farmwelt_reset_days%- Days until reset -
%farmwelt_reset_hours%- Hours until reset -
%farmwelt_reset_minutes%- Minutes until reset -
%farmwelt_reset_date%- Exact date of the next reset -
%farmwelt_reset_enabled%- Status (Enabled/Disabled) -
%farmwelt_reset_interval%- Reset interval in days -
Usable in scoreboards, tab lists, chat plugins, Holograms
📊 BossBar Countdown
-
Permanent display of the reset countdown for all players
-
Dynamic colors based on remaining time:
-
🔵 Blue: > 7 days
-
🟢 Green: 3-7 days
-
🟡 Yellow: 1-3 days
-
🔴 Red: < 1 day
-
Progress bar visually displays the remaining time
-
Configurable (title, update interval, on/off)
-
Automatic join handling for new players
🔄 Automatic Update Checker
-
Checks for new versions on server startup (Modrinth API)
-
Console notification with changelog highlights
-
In-game notification for admins upon joining
-
Displays direct download link
-
Intelligent version comparison
-
Asynchronous execution (does not block)
-
Configurable (can be disabled)
🔧 Reload Command
- New
/farmwelt reloadcommand - Reloads all configurations without restarting the server
- Updates config.yml, worlds.yml, BossBar, and PlaceholderAPI
- Displays performance measurement (reload time)
- Console and in-game execution possible
- Admin permission required
🆕 Automatic Config Update
- New config options are automatically added during updates
- Existing settings are retained
- No manual config migration required
- Works on server startup and after plugin updates
🎨 Startup Banner
- Attractive ASCII banner in the console on server startup
- Displays plugin name, version, and author
- Professional appearance
📝 New Configuration Options
config.yml
# Update Checker
update-checker:
enabled: true
notify-admins: true
# BossBar
bossbar:
enabled: false
title: "&6Farm World Reset: &e{time}"
update-interval: 20
🔧 Technical Improvements
-
Integrated Gson library (relocated, no conflicts)
-
PlaceholderAPI as a soft dependency
-
New manager classes:
BossBarManager,UpdateChecker -
Enhanced reload functionality in
WorldManager -
New listeners:
PlayerJoinListenerfor BossBar & update notifications
📦 Dependencies
- PlaceholderAPI 2.11.5 (optional)
- Gson 2.10.1 (included in the plugin)
- Multiverse Core 4.3.12 (as before)
🎮 Commands
/farmwelt reload- Reloads configurations (admin)- All previous commands remain Unchanged
🔐 Permissions
-
No new permissions required
-
farmwelt.adminor OP for reload command
